causefx / Organizr

HTPC/Homelab Services Organizer - Written in PHP
GNU General Public License v3.0
4.99k stars 288 forks source link

Blank page returned with no error message #1407

Closed jdsmf closed 4 years ago

jdsmf commented 4 years ago

Organizr Version: v2, docker latest Branch: Master WebServer: Nginx Operating System: Ubuntu

Problem Description:

I was running Organizr for a long time, until my RAID required some serious rebuilding. While I had all of the docker containers stopped, they were eventually removed. I was able to reload all the existing images, and had all of the configuration files backed up. This worked for all of the containers but Organizr. It recreates the container fine, and shows no error message. Portainer has no complaints, and says that it is open on port 80.

However, if I open a browser page, either on a remote machine in the LAN or in the same server, it just returns a blank page. Happens for multiple browsers. No error message. When I look at the access log in the config file, it does show that it is reached from the other LAN machine:

127.0.0.1 - - [05/Jun/2020:11:34:32 -0500] "HEAD /nginx_status HTTP/1.1" 200 0 "-" "curl/7.66.0" 192.168.1.3 - - [05/Jun/2020:11:34:53 -0500] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" 192.168.1.3 - - [05/Jun/2020:11:34:54 -0500] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" 192.168.1.3 - - [05/Jun/2020:11:34:55 -0500] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" 192.168.1.3 - - [05/Jun/2020:11:34:56 -0500] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" 127.0.0.1 - - [05/Jun/2020:11:35:02 -0500] "HEAD /nginx_status HTTP/1.1" 200 0 "-" "curl/7.66.0" 192.168.1.3 - - [05/Jun/2020:11:35:16 -0500] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0" 127.0.0.1 - - [05/Jun/2020:11:35:33 -0500] "HEAD /nginx_status HTTP/1.1" 200 0 "-" "curl/7.66.0" 127.0.0.1 - - [05/Jun/2020:11:36:03 -0500] "HEAD /nginx_status HTTP/1.1" 200 0 "-" "curl/7.66.0"

The error logs (in nginx) show no activity since rebuilding the RAID array. I have tried reinstalling multiple times. Double checked the docker commands:

docker create --name=organizr --restart unless-stopped -v /home/jay/configs/organizr/config:/config -e TZ=America/Chicago -e PGID=1000 -e PUID=1000 -p 80:80 organizrtools/organizr-v2

There are these messages in the PHP logs, repeated ad nauseum: [05-Jun-2020 16:16:25] NOTICE: Terminating ... [05-Jun-2020 16:16:25] NOTICE: exiting, bye-bye! [05-Jun-2020 16:18:24] NOTICE: fpm is running, pid 302 [05-Jun-2020 16:18:24] NOTICE: ready to handle connections

But that does not look like an error.

It must be something really stupid and simple that I am missing, but cannot find any clues. Maybe I should post this on the docker forum, but that has not had any activity for a year.

Roxedus commented 4 years ago

I would still like a paste of the container logs.

jdsmf commented 4 years ago

This one?

[s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 10-adduser: executing... , , -------------------------------------, GID/UID, -------------------------------------, , User uid: 1000, User gid: 1000, -------------------------------------, , [cont-init.d] 10-adduser: exited 0., [cont-init.d] 20-config: executing... , [cont-init.d] 20-config: exited 0., [cont-init.d] 30-install: executing... , -----------------------, | Updating Organizr |, -----------------------, fatal: Unable to create '/config/www/Dashboard/.git/index.lock': File exists., , Another git process seems to be running in this repository, e.g., an editor opened by 'git commit'. Please make sure all processes, are terminated then try again. If it still fails, a git process, may have crashed in this repository earlier:, remove the file manually to continue., fatal: Unable to create '/config/www/Dashboard/.git/index.lock': File exists., , Another git process seems to be running in this repository, e.g., an editor opened by 'git commit'. Please make sure all processes, are terminated then try again. If it still fails, a git process, may have crashed in this repository earlier:, remove the file manually to continue., fatal: Unable to create '/config/www/Dashboard/.git/index.lock': File exists., , Another git process seems to be running in this repository, e.g., an editor opened by 'git commit'. Please make sure all processes, are terminated then try again. If it still fails, a git process, may have crashed in this repository earlier:, remove the file manually to continue., Already up to date., [cont-init.d] 30-install: exited 0., [cont-init.d] 50-debug: executing... , -----------------------, | Kernel Info |, -----------------------, Linux 95ea9d19d1c8 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64 GNU/Linux, [cont-init.d] 50-debug: exited 0., [cont-init.d] 60-config: executing... , [cont-init.d] 60-config: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done.,

jdsmf commented 4 years ago

Arghh! there it is! The index.lock file. I removed it, restarted the container, now I have it. Thanks for your quick response. It works now.

Forgot to say: THANKS!