Skip to content

maestral fails to create autostart script #1108

@riptide981

Description

@riptide981

Describe the bug
maestral fails to create autostart script

To Reproduce
maestral autostart -Y

Expected behaviour
create autostart script (it's on .local/share/systemd/user/maestral-daemon@.service )
run without errors

System:

  • Maestral version: 1.9.4
  • Python version: 3.11.2
  • OS: debian 12.9 + openmediavault
  • Desktop environment: none
  • PyQt version (for Linux GUI): none

Additional context

Same output baremetal and venv

riptide@omv:~$ maestral autostart -Y
Failed to connect to bus: No medium found
Failed to connect to bus: No medium found
Traceback (most recent call last):
  File "/home/riptide/.local/bin/maestral", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/maestral/cli/cli_settings.py", line 40, in autostart
    auto_start.enable()
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/maestral/autostart.py", line 380, in enable
    self._impl.enable()
  File "/home/riptide/.local/pipx/venvs/maestral/lib/python3.11/site-packages/maestral/autostart.py", line 118, in enable
    raise MaestralApiError("Could not enable autostart", str(res.stderr))
maestral.exceptions.MaestralApiError: Could not enable autostart. None
riptide@omv:~$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions