-fixed- Runtipi not able to update or start Paperless-ngx

Hi, i updated Adguard without any problems (after resolving the missing DNS server when it shut down) then i updated HomeBox also quite fine, there is only the problem i can't login anymore but then trying updateing paperless-ngx i just get a error message and the following log
worker: 2024-07-20T15:02:04.784Z - ^[[32minfo^[[39m > Job 120 completed with result: {"success":false,"stdout":"Command failed: docker-compose --env-file /app-data/paperless-ngx/>
2024-07-20T15:02:04.785Z > Failed to update app paperless-ngx: Command failed: docker-compose --env-file /app-data/paperless-ngx/app.env --project-name paperless-ngx -f /data/apps/>
time="2024-07-20T15:02:04Z" level=warning msg="/data/apps/paperless-ngx/docker-compose.yml: `version` is obsolete"
time="2024-07-20T15:02:04Z" level=warning msg="/data/repos/29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903/apps/docker-compose.common.yml: `version` is obsolete"
yaml: line 8: did not find expected key

2024-07-20T15:02:05.141Z > fetch failed
2024-07-20T15:02:09.717Z > fetch failed
2024-07-20T15:02:10.138Z > fetch failed
2024-07-20T15:02:14.721Z > fetch failed
worker: 2024-07-20T15:02:04.784Z - ^[[32minfo^[[39m > Job 120 completed with result: {"success":false,"stdout":"Command failed: docker-compose --env-file /app-data/paperless-ngx/>
2024-07-20T15:02:04.785Z > Failed to update app paperless-ngx: Command failed: docker-compose --env-file /app-data/paperless-ngx/app.env --project-name paperless-ngx -f /data/apps/>
time="2024-07-20T15:02:04Z" level=warning msg="/data/apps/paperless-ngx/docker-compose.yml: `version` is obsolete"
time="2024-07-20T15:02:04Z" level=warning msg="/data/repos/29ca930bfdaffa1dfabf5726336380ede7066bc53297e3c0c868b27c97282903/apps/docker-compose.common.yml: `version` is obsolete"
yaml: line 8: did not find expected key

2024-07-20T15:02:05.141Z > fetch failed
2024-07-20T15:02:09.717Z > fetch failed
2024-07-20T15:02:10.138Z > fetch failed
2024-07-20T15:02:14.721Z > fetch failed
i resolved the issue with the .yml file on line 8 by myself and i can start paperless from the command line (docker-compose up) but runtipi wont detect it running and i still cant update it or start it with runtipi. restarted the host and updated runtipi and everything
9 Replies
Agent772
Agent772OP9mo ago
Stavros
Stavros9mo ago
Hello That seems to be a problem in our compose file Huh Our compose file seems fine What error is there on line 8 you fixed?
Agent772
Agent772OP9mo ago
i just removed the version info and ensured indentation is correct then i can start it with the command line but with tipi i get the fetch failed error
Stavros
Stavros9mo ago
Oh then our compose has an indentation error I will fix it as soon as I can
Agent772
Agent772OP9mo ago
but that shouldn't have something to do with my fetch failed error or? as i corrected it in my compose file and tipi cant start paperless
Stavros
Stavros9mo ago
Yes because when you update tipi replaces the app folder with the one from the app store
Agent772
Agent772OP9mo ago
Fixed it, the problem wasn't in your docker compose file but in my user-config docker compose file when trying to set the csrf_trusded_origins env. The PAPERLESS_URL is set to the ip:port where it is running, but if you open it via runtipi dashboard it doesnt use the ip. Therefore the login wont work. I needed to add PAPERLESS_CSRF_TRUSTED_ORIGINS: "https://paperless-ngx.${LOCAL_DOMAIN}" to the docker compose file, and i got an error in that when trying to hand over a list. Maybe you could help me with that and change that in the appstore so noone else needs to set the path themself
InfBoumcyCastle
InfBoumcyCastle9mo ago
Looks like a useful addition. Why not make a PR yourself?
Agent772
Agent772OP9mo ago
I will do, Im trying to add a list there so I can include the IP Adress too. But for now i cant get it working with a list 😔

Did you find this page helpful?