-
Notifications
You must be signed in to change notification settings - Fork 34
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
The upstart service "roscore" won't start automatically after upgrading to 18.04 #67
Comments
That should be setup by the package: In this section of the install document: It must be installed after the step:
https://github.com/fetchrobotics/docs/blame/master/source/indigo_to_melodic.rst#L95-L108
|
@umhan35 I'll assign @erelson. Let us know if you've installed http://packages.fetchrobotics.com/binaries/fetch-melodic-config.deb If you try to install the |
@umhan35 thanks for the report! Unfortunately you're not the only seeing this issue, and we've been unable to reproduce it ourselves other than once during testing*. Can you verify another symptom for us? Note that with Ubuntu 18.04, Ubuntu no longer uses upstart, but instead uses systemd. My understanding is
Let me know if you see the same. If you're also able to check the following, that would potentially be informative
Can you also let us know what version of systemd you have, via
|
Yes, we installed |
@erelson In
I searched spacenavd, is it being using for the PrimeSense sensor? |
@erelson I followed your step and here are the results:
The version installed of |
@erelson I found something very interesting. After I plug in the HDMI cable connected to a monitor. the Here are related logs in
You can see from this line that the startup won't finish until I plug in a monitor...
We installed Ubuntu 18.04 Desktop, do you also have Desktop installed or the server version? @norips also discovered this issue. |
I installed desktop version, but selected minimal when it gave the option (no Libre Office etc) on Fetch3 & Fetch1081 @erelson didn’t we see something weird on your Fetch - when the desktop/gui was waiting for some sort of input? |
Hi @umhan35 @norips thanks for tracking that down! We've traditionally used the desktop install, and I've continued doing that... An external monitor being plugged in has other effects I've noticed in the past, such as causing flash drives to auto-mount. I'll look into this tomorrow for sure. One possibility is that I'm triggering the roscore system service unit off the wrong thing (i.e. something tied to a desktop display session). Though given that syslog message, sounds like it might be a more general systemd configuration. |
@umhan35 @norips tl;dr, I think a fix is to do I was able to reproduce the issue on Fetch1. A symptom of this was that the multi-user.target was not started. This could be seen by looking at the output of I then presumed that |
Whoops, a bit hasty there; I'll wait for you guys to confirm before closing this. |
@erelson Now roscore automatically starts. Do you plan to write something on docs.fetchrobotics.com and publish a new version of |
Yup, I've added that to my currently open PR for docs. I'll be pushing that live tonight probably. Thanks for confirming! |
@erelson could you link to your docs PR? Thanks |
Nvm found it- sorry I’m camping and on my phone ;) |
@erelson Thank you, roscore starts automatically now. Great job ! |
A quick follow-up note: the oneline fix noted above is added to the docs. It doesn't change the postinstall script of fetch-melodic-config, so there is not a new version of that package for now. |
So as an important note... this may break the ability to use a monitor with your robot... This can be reverted with I'll be doing some more research/testing the next few weeks, in parallel with working on the automated 18.04 installer, to try and find a better solution. |
That is a big “important note” and means we should not use the desktop install at all if that is really the case... but for Fetch3, and Fetch1081 which I installed Melodic on, I haven’t seen this issue at all, internally we saw it on Fetch1 which you set up- so maybe I did something out of habit which we can pin point once you’ve worked on an automated install. |
We followed the guide here and double checked every step but every time we turn on the robot we have to run
sudo service roscore start
manually. However, we don't have to runsudo service robot start
, which will start after roscore.@erelson
Solution:
sudo systemctl set-default multi-user.target
Important note... this may break the ability to use a monitor with your robot... This can be reverted with
sudo systemctl set-default graphical.target
and then rebooting. More TBD.The text was updated successfully, but these errors were encountered: