Open mybuntu-git2 opened 1 year ago
Hi, I see there is a question label, let me know if I have to provide more information.
As this is most likely a setup issue, please use the forum https://central.owncloud.org/ for general questions next time.
I'm not able to reproduce it. While using your compose file, I can use the Web UI as intended without any issue. Besides that, the crash file line in your log is just a warning and not an error. Do you get an error on the Web UI? Please also check the owncloud.log.
Need to correct myself. During a server crash, the regular logger isn't used, and the UI might now show anything as well. Need to check with the engineering team.
We still need to find a way to handle the crash log properly within the container, but as a workaround, can you add another mount to /var/www/owncloud/data/
to collect the crash log? I'm wondering why the server crashes at all.
Hi, I added another line
- /home/owncloud/docker_mnt_test:/var/www/owncloud/data
In the docker-compose and did chown 777 docker_mnt_test
Now when I start with docker-compose up
or docker-compose up -d
, it crashes during startup.
And whats the error?
I don’t have any crash file as before. The new mount is empty, the old one contains as usual apps, config, sessions, files
Yes but if the container startup fails now there has to be something in the docker logs.
Ok, slight improvement after rerunning and reboot. The machine still crashes when I try to access the webui of owncloud after the latest changes, but I do have a log, and it ends like this:
[Mon Apr 03 15:46:48.918551 2023] [mpm_prefork:notice] [pid 126] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations [Mon Apr 03 15:46:48.918625 2023] [core:notice] [pid 126] AH00094: Command line: '/usr/sbin/apache2 -f /etc/apache2/apache2.conf -D FOREGROUND' 127.0.0.1 - - [03/Apr/2023:15:47:14 +0000] "GET /status.php HTTP/1.1" 200 303 "-" "curl/7.68.0"
.
still docker_mnt_test is empty.
I don't know how to help further. The log snippet you have posted does not indicate any error, it's just a regular log of the ownCloud container. I'm still not able to reproduce any behavior. Mounting /var/www/owncloud/data
works for me, and even forcing the server to crash works and creates an accessible crash log at /var/www/owncloud/data
now.
Hi, are you testing the arm docker build?
Tested arm64
on a Raspberry Pi, the arm
(32 bit) image is discontinued and no longer maintained. However, I don't think the issue is related to the arch.
Thanks for your help I am really stuck at this point. I have an OC docker image (latest) with data folder mounted and permissions set to 777 and external redis and mariadb. I run it on an Odroid N2+ (arm) Ubuntu 22.04 headless as root. I start the container with docker-compose (details at the end) and the server starts correctly but then when attempting access it crashes due to permission to write php crash files.
docker log until crash:
this is the compose file:
I verified and there is no crash file under data persistent folder, and I run the compose as root. As long as I do not attempt accessing the webui, the server is up and running.