Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conveyor service cant' start after reboot (conveyor (3.8.0-15.04)) on linux #33

Open
jidar opened this issue Jun 12, 2016 · 7 comments
Open

Comments

@jidar
Copy link

jidar commented Jun 12, 2016

Initial install of makerware works, after rebooting service won't start.

@sircambridge
Copy link

yup same here - get this

Traceback (most recent call last): File "/usr/share/makerbot/python/conveyor-3.8.4-py2.7.egg/conveyor/error.py", line 444, in guard code = func() File "/usr/share/makerbot/python/conveyor-3.8.4-py2.7.egg/conveyor/main.py", line 72, in func code = self._run() File "/usr/share/makerbot/python/conveyor-3.8.4-py2.7.egg/conveyor/server/__main__.py", line 54, in _run listener = address.listen() File "/usr/share/makerbot/python/conveyor-3.8.4-py2.7.egg/conveyor/address.py", line 102, in listen os.remove(self._path) OSError: [Errno 2] No such file or directory: '/var/run/conveyor/conveyord.socket' 2016-10-20 18:19:21,803 | ERROR | MainThread:140102925866752 | main.py:87 | conveyor.server.__main__.ServerMain:main | conveyord terminating with exit code 1

@sircambridge
Copy link

workaround - I have to

sudo apt-get remove conveyor
sudo apt-get remove makerware

and reinstall each time i reboot

@dudecc
Copy link

dudecc commented Oct 24, 2016

You could probably fix this by adding a few lines to /etc/systemd/system/conveyor.service in the [Service] section:

PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/run/conveyor
ExecStartPre=/bin/chown conveyor:conveyor /var/run/conveyor
ExecStartPre=/bin/chmod 775 /var/run/conveyor

(basically all of this noise converted to systemd speak.)

@tomkcook
Copy link

This has also fixed a problem for me where conveyor just segfaults when started, except after reinstalling.

@Harakan
Copy link

Harakan commented Jan 29, 2017

@dudecc solution works in the ubuntu 16.04 ppa version as well with one caveat:

You still need to manually start the service after opening makerware.

@RetGal
Copy link

RetGal commented May 28, 2017

@dudecc your solution also works with Debian 8 (Jessie).
Manual restart of the BackgroundService after opening MakerBot Desktop is required as well

@ganton516
Copy link

I was having a similar problem with 16.04.3.
I finally found that by changing the ownership of /var/run/conveyor fixed the start up problem:

sudo chown -R conveyor:conveyor /var/run/conveyor

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants