Organizr / docker-organizr

Docker image for Organizr
GNU General Public License v3.0
96 stars 12 forks source link

The image isn't updating #33

Closed nuentes closed 11 months ago

nuentes commented 11 months ago

The image I keep pulling was created on 5/8/2022. I have branch set to v2-master. I can see this branch has updated very recently on https://github.com/causefx/Organizr. I keep getting alerts that Organizr has updates.

Roxedus commented 11 months ago

The image does not need to be updated to get the latest commits, restart the container, or use the built-in updater.

nuentes commented 11 months ago

I've restarted the container at least 6 times today already. I also restarted my entire server. I have also tried to update using the built in updater (settings -> system settings -> Updates -> install update). This appears as though it is working each time, however when the page refreshes, I am immediately greeted with a note that it is out of date.

Every other container I use, the image itself updates when there are new commits.

Roxedus commented 11 months ago

And the container logs say?

nuentes commented 11 months ago

[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-setup: executing... [cont-init.d] 30-setup: exited 0. [cont-init.d] 40-install: executing...

| Updating Organizr |

fatal: Unable to create '/config/www/organizr/.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/organizr/.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/organizr/.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. Updating cf2b91b0..3c37516a error: Unable to create '/config/www/organizr/.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. Adding cron now... [cont-init.d] 40-install: exited 0. [cont-init.d] 50-debug: executing...

| Kernel Info |

Linux a5d8697fe690 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 GNU/Linux Time Zone: Etc/UTC [cont-init.d] 50-debug: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done.

Roxedus commented 11 months ago

Remove the lockfile it mentions,

nuentes commented 11 months ago

Well, I had nothing to do with that file being there. But removing that file resolved the issue. Thank you