-
Notifications
You must be signed in to change notification settings - Fork 79
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
Latest 1.14 docker image fails to start (1.14.5+1) #338
Comments
Note: same error happens with 1.15.2 ... |
I had the same issue, and I dont think its related to the HumHub Version itself. IMPORTANT: I made a clean install to a new database, so there was no need to migrate. So please be careful if you want to upgrade from a previous install, because those steps probably affect your current deployment! However, what worked for me to run HumHub with 1.15.2 was: docker-compose.yml: List all containers: Stop and remove the humhub related containers (for me it was sufficient to stop only humhub/mriedmann since I work with an external DB) Show docker images and remove the humhub related images show and remove the mounted volumes docker volume ls EDIT: Removing the volumes is sufficient, so stopping the container and removing them. However HumHub installation will start from the beginning. So probably one needs to backup the three volumes first and re-integrate them afterwards again and include the database in the compose-file so it will be skipped on initial start. However the problem occurs with every restart of the container. |
I added
|
hey @surface0 : thanks for the hint. I created a local supervisord.conf file and a Dockerfile to make it persistent : COPY /etc/supervisord.conf /etc/supervisord.conf
-> works! thank you! |
Thanks a lot, that helped! |
This issue is stale because it has been open for 30 days with no activity. |
Apply the suggestion from #338 (comment) to the image.
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
I've seen that you updated the docker images and since in the last 1.14.5 release I manually had to mount the 99-custom.ini file to the proper php8 conf.d directory to make it work and as you switched the packages to php81 in 1.14.5+1, I thought I can just pull the latest image and it will work fine without my work-around, however, with the latest image, humhub doesn't want to start at all.
Probably related to the new Alpine version?
humhub | /docker-entrypoint.sh: Configuration complete; ready for start up
humhub | /docker-entrypoint.sh: Entrypoint finished! Launching ...
humhub | tail: can't open '/var/www/localhost/htdocs/protected/runtime/logs/app.log': No such file or directory
humhub | tail: no files
humhub | 2024-01-07 15:29:38,195 WARN exited: humhub-log (exit status 1; not expected)
humhub | 2024-01-07 15:29:38,195 WARN exited: humhub-log (exit status 1; not expected)
humhub | Traceback (most recent call last):
humhub | File "/usr/bin/supervisord", line 33, in
humhub | sys.exit(load_entry_point('supervisor==4.2.5', 'console_scripts', 'supervisord')())
humhub | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 359, in main
humhub | go(options)
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 369, in go
humhub | d.main()
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 78, in main
humhub | self.run()
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 94, in run
humhub | self.runforever()
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 244, in runforever
humhub | self.reap()
humhub | File "/usr/lib/python3.11/site-packages/supervisor/supervisord.py", line 281, in reap
humhub | process.finish(pid, sts)
humhub | File "/usr/lib/python3.11/site-packages/supervisor/process.py", line 585, in finish
humhub | self.config.options.logger.warn(msg)
humhub | File "/usr/lib/python3.11/site-packages/supervisor/loggers.py", line 331, in warn
humhub | self.log(LevelsByName.WARN, msg, **kw)
humhub | File "/usr/lib/python3.11/site-packages/supervisor/loggers.py", line 345, in log
humhub | handler.emit(record)
humhub | File "/usr/lib/python3.11/site-packages/supervisor/loggers.py", line 227, in emit
humhub | self.doRollover()
humhub | File "/usr/lib/python3.11/site-packages/supervisor/loggers.py", line 264, in doRollover
humhub | if not (self.stream.tell() >= self.maxBytes):
humhub | ^^^^^^^^^^^^^^^^^^
humhub | OSError: [Errno 29] Invalid seek
humhub exited with code 1
The text was updated successfully, but these errors were encountered: