Skip to content
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

V2 can´t start ownfoil container #65

Open
fettesb opened this issue Nov 2, 2023 · 17 comments
Open

V2 can´t start ownfoil container #65

fettesb opened this issue Nov 2, 2023 · 17 comments

Comments

@fettesb
Copy link

fettesb commented Nov 2, 2023

Starting ownfoil
ownfoil:x:1000:ownfoil
ownfoil:x:1000:1000:Linux User,,,:/home/ownfoil:/sbin/nologin
Starting ownfoil
warning: The following paths are not up to date and were left despite sparse patterns:
DE.de.json
After fixing the above paths, you may want to run git sparse-checkout reapply.

@HenryBaby
Copy link

I had this same issue when I migrated from V1 to V2. I'm not quite sure how I fixed it, but I was running things from portainer. I removed and cleaned everything, including my volumes (remember to backup before doing this), and then started the container fresh.

Again, not sure what helped.

@FunsKiTo
Copy link

FunsKiTo commented Nov 2, 2023

So, here's what happened to me. I was checking the logs and noticed that the container seem to be stuck at the starting stage. To resolve this, I decided to restart the container and got the same error. I think this error occurred because Docker was building, and that process can take some time, maybe depending on the size of your library.

As @HenryBaby suggested, the best approach would be to remove the container and its volumes. Afterward, launch it again and give it time to build.

@fettesb
Copy link
Author

fettesb commented Nov 2, 2023

i try to remove the container and its volumes and let it sit for an hour and report back. Thanks

@fettesb
Copy link
Author

fettesb commented Nov 2, 2023

I did a clean install and let it sit for an hour
Log:
Starting ownfoil

after an hour i try to reach http://192.168.178.117:8465 but i get
ERR_CONNECTION_REFUSED

so i restartet the Container and let it sit for an hour
Log:
ownfoil:x:1000:ownfoil
ownfoil:x:1000:1000:Linux User,,,:/home/ownfoil:/sbin/nologin
Starting ownfoil
warning: The following paths are not up to date and were left despite sparse patterns:
US.en.json
After fixing the above paths, you may want to run git sparse-checkout reapply.

Unfortunately, none of that helped.
any ideas?

@a1ex4
Copy link
Owner

a1ex4 commented Nov 2, 2023

This can happen if the container was not stopped cleanly or basically stopped at the wrong time. To fix it you just need to recreate the container (docker rm ownfoil and docker-compose up -d again) and that should fix it.

@fettesb
Copy link
Author

fettesb commented Nov 2, 2023

i use portainer and deleted all images and container and the stack. Did a reboot and started fresh. Same thing happend again.

my library has a file size of 28 files

@fettesb
Copy link
Author

fettesb commented Nov 2, 2023

SCR-20231102-qjwm

@FunsKiTo
Copy link

FunsKiTo commented Nov 3, 2023

The container is generating a tmp.pack file that occupies multiple gigabytes inside the "/app/data/titledb/.git/objects/pack" directory. It never completes, so I stopped it when it reached 20GB.

@a1ex4
Copy link
Owner

a1ex4 commented Nov 3, 2023

Thanks, on startup Ownfoil updates the locally cloned blawar/titledb, my guess is that there has been many changes to titledb since the last time the image was built. I added some mitigations to the update issues, and rebuilt the image so the delta won't be too much to handle (20GB+ pack file...).

Could you try the latest image?

@fettesb
Copy link
Author

fettesb commented Nov 3, 2023

i deployed a new stack. No Problems at all. Ownfoil is up and running again. Thanks

@FunsKiTo
Copy link

FunsKiTo commented Nov 3, 2023

The latest image is running without issues. Thanks

@acaltas
Copy link

acaltas commented Nov 6, 2023

took some times after i created the container go get back access to the WebGui... but its working
i still have a lot of Unrecognized games.. but its seems tinfoil website has some errors

@FoUStep
Copy link

FoUStep commented Nov 13, 2023

traceback-ownfoilv2.log

I've been running a HTTP v1 for a while. Decided to try v2. The attached log file (errors) is what I get when trying to go to the Web UI on port 8465.

Is there another way to pre-config it on CLI?

@a1ex4
Copy link
Owner

a1ex4 commented Nov 15, 2023

@FoUStep should be fixed by latest commit.

@FoUStep
Copy link

FoUStep commented Nov 17, 2023

@FoUStep should be fixed by latest commit.

ownfoilv2 | HEAD is now at 315bd23 meta
ownfoilv2 | Your branch is up to date with 'origin/master'.
ownfoilv2 | Already on 'master'
ownfoilv2 | Already up to date.

Unfortunately the issue still persists.

@P-C-R
Copy link

P-C-R commented Dec 14, 2023

@a1ex4 same issue here:
ownfoil:x:1000:ownfoil
ownfoil:x:1000:1000:Linux User,,,:/home/ownfoil:/sbin/nologin
Starting ownfoil
HEAD is now at 315bd23 meta
Your branch is up to date with 'origin/master'.

@P-C-R
Copy link

P-C-R commented Dec 14, 2023

NVM. Takes just over 30min for inital start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants