linuxserver / docker-calibre-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] <Update failed>

azataiot opened this issue · comments

commented

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Updating, please do not reload this page ...

Update failed: Files could not be replaced during update

2023-07-07-at-06 43 48

Expected Behavior

I guess it should update smoothly.

Steps To Reproduce

  1. Go to admin dashboard
  2. Click check for updates
  3. Click update

Environment

- OS:Ubuntu 22.04
- Official script

CPU architecture

x86-64

Docker creation

version: "3"
services:
  calibre-web:
    image: lscr.io/linuxserver/calibre-web:latest
    container_name: calibre-web
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Istanbul
      - DOCKER_MODS=linuxserver/mods:universal-calibre #optional
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
    volumes:
      - ./config:/config
      - ./books:/books
      - ./certificates:/certificates
    ports:
      - 8008:8083
    restart: unless-stopped

Container logs

[2023-07-07 09:15:16,567]  INFO {cps:176} Starting Calibre Web...
[2023-07-07 09:15:16,983]  WARN {py.warnings:109} /usr/local/lib/python3.10/dist-packages/flask_limiter/extension.py:293: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
[2023-07-07 09:15:17,277]  INFO {apscheduler.scheduler:171} Scheduler started
[2023-07-07 09:15:17,278]  INFO {apscheduler.scheduler:885} Added job "end scheduled task" to job store "default"
[2023-07-07 09:15:18,862]  INFO {cps.server:207} Starting Gevent server on [::]:8083
[2023-07-07 09:15:19,890]  INFO {cps.server:284} webserver stop (restart=False)
[2023-07-07 09:15:19,891]  INFO {apscheduler.scheduler:202} Scheduler has been shut down
[2023-07-07 09:15:19,891]  INFO {cps.server:262} Performing shutdown of Calibre-Web
[2023-07-07 09:16:29,700]  INFO {cps:176} Starting Calibre Web...
[2023-07-07 09:16:30,124]  WARN {py.warnings:109} /usr/local/lib/python3.10/dist-packages/flask_limiter/extension.py:293: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
[2023-07-07 09:16:30,403]  INFO {apscheduler.scheduler:171} Scheduler started
[2023-07-07 09:16:30,404]  INFO {apscheduler.scheduler:885} Added job "end scheduled task" to job store "default"
[2023-07-07 09:16:32,118]  INFO {cps.server:207} Starting Gevent server on [::]:8083
[2023-07-07 09:16:48,925]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:17:16,517]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:19:08,328]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:20:22,487]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:20:30,806]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:25:00,378]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:25:32,577]  INFO {cps.server:284} webserver stop (restart=True)
[2023-07-07 09:25:32,578]  INFO {apscheduler.scheduler:202} Scheduler has been shut down
[2023-07-07 09:25:33,585]  INFO {cps.server:265} Performing restart of Calibre-Web
[2023-07-07 09:25:34,855]  INFO {cps:176} Starting Calibre Web...
[2023-07-07 09:25:35,257]  WARN {py.warnings:109} /usr/local/lib/python3.10/dist-packages/flask_limiter/extension.py:293: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
[2023-07-07 09:25:35,528]  INFO {apscheduler.scheduler:171} Scheduler started
[2023-07-07 09:25:35,529]  INFO {apscheduler.scheduler:885} Added job "end scheduled task" to job store "default"
[2023-07-07 09:25:37,200]  INFO {cps.server:207} Starting Gevent server on [::]:8083
[2023-07-07 09:25:43,207]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:28:12,698]  INFO {cps.admin:1495} Update status requested
[2023-07-07 09:28:38,676]  INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=Node.js.%20Novice%20to%20Ninja&as_vis=0&as_sdt=0,33
[2023-07-07 09:28:41,688]  INFO {httpx:1013} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=Node.js.%20Novice%20to%20Ninja&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK"
[2023-07-07 09:29:41,339]  INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=Monte%20Carlo%20Methods%20in%20Financial%20Engineering&as_vis=0&as_sdt=0,33
[2023-07-07 09:29:41,964] ERROR {cps.metadata_provider.amazon:129} 503 Server Error: Service Unavailable for url: https://www.amazon.com/s?k=Monte+Carlo+Methods+in+Financial+Engineering&i=digital-text&sprefix=Monte+Carlo+Methods+in+Financial+Engineering%2Cdigital-text&ref=nb_sb_noss
[2023-07-07 09:29:44,256]  INFO {httpx:1013} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=Monte%20Carlo%20Methods%20in%20Financial%20Engineering&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK"
[2023-07-07 09:30:20,074]  INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%20Solutions%20manual&as_vis=0&as_sdt=0,33
[2023-07-07 09:30:20,239] ERROR {cps.metadata_provider.amazon:129} 503 Server Error: Service Unavailable for url: https://www.amazon.com/s?k=Linear+Algebra+Done+Right+Solutions+manual&i=digital-text&sprefix=Linear+Algebra+Done+Right+Solutions+manual%2Cdigital-text&ref=nb_sb_noss
[2023-07-07 09:30:21,751]  INFO {httpx:1013} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%20Solutions%20manual&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK"
[2023-07-07 09:30:54,757]  INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%20Solutions%20manual&as_vis=0&as_sdt=0,33
[2023-07-07 09:30:54,960] ERROR {cps.metadata_provider.amazon:129} 503 Server Error: Service Unavailable for url: https://www.amazon.com/s?k=Linear+Algebra+Done+Right+Solutions+manual&i=digital-text&sprefix=Linear+Algebra+Done+Right+Solutions+manual%2Cdigital-text&ref=nb_sb_noss
[2023-07-07 09:30:57,002]  INFO {httpx:1013} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%20Solutions%20manual&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK"
[2023-07-07 09:31:22,593]  INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%252C%20Second%20Edition&as_vis=0&as_sdt=0,33
[2023-07-07 09:31:22,765] ERROR {cps.metadata_provider.amazon:129} 503 Server Error: Service Unavailable for url: https://www.amazon.com/s?k=Linear+Algebra+Done+Right,+Second+Edition&i=digital-text&sprefix=Linear+Algebra+Done+Right,+Second+Edition%2Cdigital-text&ref=nb_sb_noss
[2023-07-07 09:31:24,656]  INFO {httpx:1013} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=Linear%20Algebra%20Done%20Right%252C%20Second%20Edition&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK"
[2023-07-07 09:37:38,878]  INFO {cps.server:284} webserver stop (restart=False)
[2023-07-07 09:37:38,879]  INFO {apscheduler.scheduler:202} Scheduler has been shut down
[2023-07-07 09:38:54,573]  INFO {cps:176} Starting Calibre Web...
[2023-07-07 09:38:54,985]  WARN {py.warnings:109} /usr/local/lib/python3.10/dist-packages/flask_limiter/extension.py:293: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
[2023-07-07 09:38:55,258]  INFO {apscheduler.scheduler:171} Scheduler started
[2023-07-07 09:38:55,259]  INFO {apscheduler.scheduler:885} Added job "end scheduled task" to job store "default"
[2023-07-07 09:38:56,808]  INFO {cps.server:207} Starting Gevent server on [::]:8083
[2023-07-07 09:42:45,742]  INFO {cps.admin:1495} Update status requested

Using the update function inside the app is unsupported, as is the norm for any container.