OctoPrint / OctoPi-UpToDate

Latest OctoPi image with OctoPrint already updated to the latest release
GNU General Public License v3.0
58 stars 7 forks source link

Octoprint 1.0.0-1.9.2 having issues with non default username #8

Closed notZoidberg closed 1 year ago

notZoidberg commented 1 year ago

What OctoPi-UpToDate modification is involved?

80-install-user-fix

The problem

1.0.0-1.9.2 new stack is having an issue with non default username. After installing the Image with the "new camera stack" there is an issue with executing the octoprint executable: -- Journal begins at Thu 2022-09-22 01:23:40 BST, ends at Wed 2023-07-19 22:29:42 BST. -- Sep 22 01:23:59 octopi systemd[1]: Started The snappy web interface for your 3D printer. Sep 22 01:23:59 octopi systemd[429]: octoprint.service: Failed to execute /home/zaid/oprint/bin/octoprint: No such file or directory Sep 22 01:23:59 octopi systemd[429]: octoprint.service: Failed at step EXEC spawning /home/zaid/oprint/bin/octoprint: No such file or directory Sep 22 01:24:00 octopi systemd[1]: octoprint.service: Main process exited, code=exited, status=203/EXEC Sep 22 01:24:00 octopi systemd[1]: octoprint.service: Failed with result 'exit-code'.

I checked if the file was there: `zaid@octopi:~/oprint $ ls -lah total 24K drwxr-xr-x 4 zaid zaid 4.0K Oct 27 2022 . drwxr-xr-x 8 zaid zaid 4.0K Sep 22 2022 .. drwxr-xr-x 2 zaid zaid 4.0K Jul 18 13:03 bin -rw-r--r-- 1 zaid zaid 40 Oct 27 2022 .gitignore drwxr-xr-x 3 zaid zaid 4.0K Oct 27 2022 lib -rw-r--r-- 1 zaid zaid 204 Oct 27 2022 pyvenv.cfg

zaid@octopi:~/oprint/bin $ ls -lah| grep octo -rwxr-xr-x 1 zaid zaid 218 Jul 18 13:03 octoprint`

It just didn't want to start up. I had a custom user with a password set up. Not sure, if that is an issue here.

Please confirm you have understood that you can ONLY report issues with the particular OctoPi-UpToDate build scripts here, not general OctoPrint or OctoPi issues.

Additional information & file uploads

XXXX@octopi:~ $ cat /etc/octopi_version 1.0.0

GitIssueBot commented 1 year ago

This issue has been mentioned on OctoPrint Community Forum. There might be relevant details there:

https://community.octoprint.org/t/latest-octopi-new-camera-stack-not-starting-server/52998/2

foosel commented 1 year ago

Thanks for reporting this, this should be fixed in the next build that I've just triggered. I'll close this once the image has been built and deployed.

foosel commented 1 year ago

Well, that's going to take a bit due to other issues upstream currently.

GitIssueBot commented 1 year ago

This issue has been mentioned on OctoPrint Community Forum. There might be relevant details there:

https://community.octoprint.org/t/octoprint-server-not-starting-on-boot/53011/2

foosel commented 1 year ago

Finally done.