linuxserver / docker-overseerr

GNU General Public License v3.0
103 stars 13 forks source link

[BUG] overseer shows setup screen after update! loses services settings BUT NOT the request and user data #27

Closed Xarishark closed 10 months ago

Xarishark commented 1 year ago

Is there an existing issue for this?

Current Behavior

After an update when I try to open the Webui overseer shows me the setup screen!

I have to go through the setup page by adding the plex instance and the radarr and sonarr info and then it throws me in the request menu like nothing happened. It keeps my user data my request history and everything! Its so weird. The problem DOES NOT happen after a container restart or rebuild only after an update! same thing happened once on my tauttily container from linuxserver too, and many people have posted about this problem on reddit without finding an answer. I will provide whatever you guys need to find what's going on.

I also pasted the logs that have some errors talk about the setup page etc.

Expected Behavior

For the container to update normaly and not throw the setup page

Steps To Reproduce

Problem happens after an update. Just update and run

Environment

- OS: Unraid 6.11.5 
- How docker service was installed: Normaly from the apps page that pulls the official linuxserver image.

CPU architecture

x86-64

Docker creation

https://i.imgur.com/RyaemZ7.png

Container logs

Warning: data for page "/setup" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/setup" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/login/plex/loading" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
warn  - You have enabled experimental feature (scrollRestoration) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

Warning: data for page "/login" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
Warning: data for page "/login/plex/loading" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
2023-02-19T12:13:00.013Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:14:00.003Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:15:00.060Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:15:00.067Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-02-19T12:15:00.068Z [info][Plex Scan]: Scan starting {"sessionId":"d816e0fe-67b0-4da9-89c6-ebf5f4718cd5"}
2023-02-19T12:15:00.075Z [info][Plex Scan]: Beginning to process recently added for library: Movies {}
2023-02-19T12:15:00.088Z [info][Plex Scan]: Beginning to process recently added for library: TV Shows {}
2023-02-19T12:15:00.123Z [info][Plex Scan]: Recently Added Scan Complete 
2023-02-19T12:16:00.014Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:17:00.003Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:18:00.031Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:19:00.003Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:20:00.026Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:20:00.034Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-02-19T12:20:00.035Z [info][Plex Scan]: Scan starting {"sessionId":"9f11f289-a3b6-4516-90e2-41035afdf2ec"}
2023-02-19T12:20:00.041Z [info][Jobs]: Starting scheduled job: Plex Watchlist Sync 
2023-02-19T12:20:00.057Z [info][Plex Scan]: Beginning to process recently added for library: Movies {"lastScan":1676808900088}
2023-02-19T12:20:00.068Z [info][Plex Scan]: Beginning to process recently added for library: TV Shows {"lastScan":1676808900123}
2023-02-19T12:20:00.102Z [info][Plex Scan]: Recently Added Scan Complete 
2023-02-19T12:20:02.283Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}
2023-02-19T12:20:02.582Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}
2023-02-19T12:20:03.055Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}
2023-02-19T12:20:03.339Z [error][Plex.TV Metadata API]: Failed to retrieve watchlist items {"errorMessage":"Request failed with status code 401"}
2023-02-19T12:21:00.030Z [debug][Jobs]: Starting scheduled job: Download Sync 
[migrations] started
[migrations] no migrations found
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/

Brought to you by linuxserver.io
-------------------------------------

To support the app dev(s) visit:
Overseerr Github Sponsors: https://github.com/sponsors/sct
Overseerr Patreon: https://patreon.com/overseerr

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    99
User gid:    100
-------------------------------------

[custom-init] No custom files found, skipping...
yarn run v1.22.19
$ NODE_ENV=production node dist/index.js
2023-02-19T12:21:25.467Z [info]: Commit Tag: v1.32.5 
2023-02-19T12:21:25.775Z [info]: Starting Overseerr version 1.32.5 
2023-02-19T12:21:26.657Z [info][Notifications]: Registered notification agents 
2023-02-19T12:21:26.678Z [info][Jobs]: Scheduled jobs loaded 
2023-02-19T12:21:26.814Z [info][Server]: Server ready on port 5055 
[ls.io-init] done.
2023-02-19T12:22:00.003Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:23:00.006Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:24:00.007Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:25:00.008Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:25:00.014Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-02-19T12:25:00.016Z [info][Plex Scan]: Scan starting {"sessionId":"fd5fd8aa-ceb0-4700-9ddf-f525eca9143e"}
2023-02-19T12:25:00.030Z [info][Plex Scan]: Beginning to process recently added for library: Movies {"lastScan":1676809200067}
2023-02-19T12:25:00.042Z [info][Plex Scan]: Beginning to process recently added for library: TV Shows {"lastScan":1676809200102}
2023-02-19T12:25:00.075Z [info][Plex Scan]: Recently Added Scan Complete 
2023-02-19T12:26:00.005Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:27:00.005Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:28:00.006Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:29:00.007Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-02-19T12:30:00.002Z [debug][Jobs]: Starting scheduled job: Download Sync
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Roxedus commented 1 year ago

This is the first time we have heard of this issue.

This seems to be only affecting Unraid, and I doubt it is a container issue. My only suggestion is to keep track of the settings json file in appdata, and see if it changes the next time this happens.

Xarishark commented 1 year ago

Ok, I just made a backup of the file just to be able to compare them after I get the problem again! Thanks for the answer Roxedus

Wdavery commented 1 year ago

This is not unique to Unraid. I am using docker on an OMV install and having the exact same issue. Every update is wiping the settings. There must be a path that is not being saved within /config

j0nnymoe commented 1 year ago

@Wdavery would be helpful if you could post your compose please.

Wdavery commented 1 year ago
      overseerr:
        image: ghcr.io/linuxserver/overseerr
        container_name: overseerr
        environment:
          - PUID=1000
          - PGID=100
          - TZ=America/Toronto
        volumes:
          - /sharedfolders/AppData/Overseerr:/config
        ports:
          - 5055:5055
        restart: unless-stopped

Config directory contains:

/.cache
/.yarn
/db
/logs
settings.json

Worth noting that settings.json is last modified today, it seems to remain current.

Wdavery commented 1 year ago

What's most interesting is the backend seems to continue on while the frontend is prompting to setup:

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║      
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Overseerr Github Sponsors: https://github.com/sponsors/sct
Overseerr Patreon: https://patreon.com/overseerr
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    100
───────────────────────────────────────
[custom-init] No custom files found, skipping...
yarn run v1.22.19
$ NODE_ENV=production node dist/index.js
2023-03-22T12:46:02.141Z [info]: Commit Tag: v1.32.5 
2023-03-22T12:46:05.986Z [info]: Starting Overseerr version 1.32.5 
warn  - You have enabled experimental feature (scrollRestoration) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
2023-03-22T12:46:11.432Z [info][Notifications]: Registered notification agents 
2023-03-22T12:46:11.486Z [info][Jobs]: Scheduled jobs loaded 
2023-03-22T12:46:11.749Z [info][Server]: Server ready on port 5055 
[ls.io-init] done.
2023-03-22T12:47:00.130Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:48:00.028Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:49:00.446Z [debug][Jobs]: Starting scheduled job: Download Sync 
Warning: data for page "/setup" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
2023-03-22T12:50:00.099Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:50:00.155Z [info][Jobs]: Starting scheduled job: Plex Watchlist Sync 
2023-03-22T12:50:00.207Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-03-22T12:50:00.209Z [info][Plex Scan]: Scan starting {"sessionId":"45061e86-ad98-4490-bde5-dc71054872ea"}
2023-03-22T12:50:00.386Z [info][Plex Scan]: Beginning to process recently added for library: Movies {"lastScan":1679488800110}
2023-03-22T12:50:00.430Z [info][Plex Scan]: Beginning to process recently added for library: Series {"lastScan":1679488800207}
2023-03-22T12:50:01.307Z [debug][Plex Scan]: Updating existing title: Ted Lasso 
2023-03-22T12:50:05.310Z [info][Plex Scan]: Recently Added Scan Complete 
2023-03-22T12:51:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:52:00.023Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:53:00.025Z [debug][Jobs]: Starting scheduled job: Download Sync 
Warning: data for page "/setup" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
2023-03-22T12:54:00.006Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:55:00.023Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:55:00.029Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-03-22T12:55:00.030Z [info][Plex Scan]: Scan starting {"sessionId":"79f3bfb6-b117-4c7f-a4ee-7478f9bc79f8"}
2023-03-22T12:55:00.125Z [info][Plex Scan]: Beginning to process recently added for library: Movies {"lastScan":1679489400426}
2023-03-22T12:55:00.152Z [info][Plex Scan]: Beginning to process recently added for library: Series {"lastScan":1679489405310}
2023-03-22T12:55:00.341Z [debug][Plex Scan]: GUIDs are cached. Skipping metadata request. {"mediaIds":{"imdbId":"tt10986410","tmdbId":97546,"tvdbId":383203},"title":"Ted Lasso"}
2023-03-22T12:55:00.441Z [debug][Plex Scan]: Updating existing title: Ted Lasso 
2023-03-22T12:55:04.446Z [info][Plex Scan]: Recently Added Scan Complete 
2023-03-22T12:56:00.034Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:57:00.045Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T12:58:00.008Z [debug][Jobs]: Starting scheduled job: Download Sync 
Warning: data for page "/setup" is 195 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
2023-03-22T12:59:00.005Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T13:00:00.022Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T13:00:00.025Z [info][Jobs]: Starting scheduled job: Plex Recently Added Scan 
2023-03-22T13:00:00.025Z [info][Plex Scan]: Scan starting {"sessionId":"ab3c13fc-381b-4726-8d12-3c7e684c8d1f"}
2023-03-22T13:00:00.038Z [info][Jobs]: Starting scheduled job: Plex Watchlist Sync 
2023-03-22T13:00:00.118Z [info][Plex Scan]: Beginning to process recently added for library: Movies {"lastScan":1679489700152}
2023-03-22T13:00:00.144Z [info][Plex Scan]: Beginning to process recently added for library: Series {"lastScan":1679489704445}
2023-03-22T13:00:00.301Z [debug][Plex Scan]: GUIDs are cached. Skipping metadata request. {"mediaIds":{"imdbId":"tt10986410","tmdbId":97546,"tvdbId":383203},"title":"Ted Lasso"}
2023-03-22T13:00:00.385Z [debug][Plex Scan]: Updating existing title: Ted Lasso 
2023-03-22T13:00:00.551Z [debug][Plex Scan]: Updating existing title: Shadow and Bone 
2023-03-22T13:00:04.554Z [info][Plex Scan]: Recently Added Scan Complete 
2023-03-22T13:01:00.022Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T13:02:00.021Z [debug][Jobs]: Starting scheduled job: Download Sync 
2023-03-22T13:03:00.022Z [debug][Jobs]: Starting scheduled job: Download Sync 

These logs are post-update, pre-setup.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Wdavery commented 1 year ago

Unstale.

j0nnymoe commented 1 year ago

Still this is the only 2 reports of this issue I've seen and unable to replicate at all.

Only thing I could suggest is where your /sharedfolders/ is, reference the actual disk rather than (what I'm assuming is a FUSE layer)

FYI - I have never used OMV so I have no idea how their shared folders setup.

Wdavery commented 1 year ago

Correct about the fuse layer. I will give that a try.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

drag0n141 commented 1 year ago

I have that issue too, the settings file is cleared. Its not running on a fuse layer, its runnig in my docker swarm.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

BladeWDR commented 1 year ago

I just had this exact behavior on a bog standard Ubuntu 22.04 install.

Here's my compose if it helps.

---
version: "2.1"
services:
  overseerr:
    image: lscr.io/linuxserver/overseerr:latest
    container_name: overseerr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
    volumes:
      - /home/redacted/docker/overseerr/config:/config
    ports:
      - 5055:5055
    restart: unless-stopped
    networks:
      - proxy
    labels:
      - traefik.enable=true
      - traefik.http.routers.overseerr.rule=Host(`requests.mydomain.com`,`requests.mydomain.com`)
      - traefik.http.routers.overseerr.tls=true
      - traefik.http.routers.overseerr.middlewares=https-redirectscheme@file,default-headers@file
      - traefik.http.services.overseerr.loadbalancer.server.port=5055

networks:
  proxy:
    external: true
Roxedus commented 1 year ago

Just to keep you updated. We have still not managed to replicate this.

BladeWDR commented 1 year ago

Just to keep you updated. We have still not managed to replicate this.

Any other information that I can give that might be helpful? Unfortunately I had to reboot my VM host multiple times today due to some unrelated issues I was having (thanks ever so much, Realtek) so some of the relevant logs may be gone.

It's not a huge issue since once you re-add the plex and sonarr / radarr info everything is back to normal, its just annoying.

LinuxServer-CI commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

This issue is locked due to inactivity