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

docker container could not be started #296

Closed
1 task done
stefaneliu opened this issue May 31, 2024 · 5 comments
Closed
1 task done

docker container could not be started #296

stefaneliu opened this issue May 31, 2024 · 5 comments

Comments

@stefaneliu
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello
I am using synology docker. and the calibre-web container worked well until recent.
It was stopped unexpectedly.
I tried updating to the newest version and did not help.

Expected Behavior

No response

Steps To Reproduce

  1. installing docker container with docker run or docker-compose.

Environment

- OS:synology dsm
- How docker service was installed:synology itself

CPU architecture

x86-64

Docker creation

---
services:
  calibre-web:
    image: linuxserver/calibre-web:latest
    container_name: calibre-web
    environment:
      - PUID=1024
      - PGID=100
      - TZ=Asia/shanghai
      - DOCKER_MODS=linuxserver/mods:universal-calibre
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1
    volumes:
      - /volume5/docker/calibre-web:/config
      - /volume5/eBooks/Calibre:/books
    ports:
      - 8083:8083
    restart: unless-stopped

Container logs

[2024-05-31 13:16:23,648]  WARN {cps.config_sql:318} Log path None not valid, falling back to default
[2024-05-31 13:16:26,042]  WARN {cps.config_sql:349} invalidating configuration
[2024-05-31 13:16:28,151]  INFO {cps.ub:851} github Blueprint Created
[2024-05-31 13:16:28,298]  INFO {cps.ub:851} google Blueprint Created
[2024-05-31 13:16:30,606]  WARN {fake_useragent:180} Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 154, in load
    for item in get_browsers(verify_ssl=verify_ssl):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 99, in get_browsers
    html = html.split('<table class="w3-table-all notranslate">')[1]
IndexError: list index out of range
[2024-05-31 13:19:18,640]  INFO {cps.server:272} webserver stop (restart=False)
[2024-05-31 13:22:02,422]  WARN {cps.config_sql:349} invalidating configuration
[2024-05-31 13:22:10,458]  WARN {fake_useragent:180} Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 154, in load
    for item in get_browsers(verify_ssl=verify_ssl):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 99, in get_browsers
    html = html.split('<table class="w3-table-all notranslate">')[1]
IndexError: list index out of range
[2024-05-31 13:36:33,621]  INFO {cps.server:272} webserver stop (restart=False)
[2024-05-31 13:41:02,804]  WARN {cps.config_sql:349} invalidating configuration
[2024-05-31 13:41:05,941]  WARN {fake_useragent:180} Error occurred during loading data. Trying to use cache server https://fake-useragent.herokuapp.com/browsers/0.1.11
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 154, in load
    for item in get_browsers(verify_ssl=verify_ssl):
  File "/usr/local/lib/python3.8/dist-packages/fake_useragent/utils.py", line 99, in get_browsers
    html = html.split('<table class="w3-table-all notranslate">')[1]
IndexError: list index out of range
Copy link

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

@drizuid
Copy link
Member

drizuid commented Jun 2, 2024

what's the output of
uname -mr && docker version

did you deploy this container with the docker run above or did you use synology's ui to do so?

is your db in /books or /config?
what is the filesystem of /volume5

@stefaneliu
Copy link
Author

what's the output of uname -mr && docker version

did you deploy this container with the docker run above or did you use synology's ui to do so?

is your db in /books or /config? what is the filesystem of /volume5

uname -mr && docker version
the result is

4.4.302+ x86_64
Client:
 Version:           20.10.23
 API version:       1.41
 Go version:        go1.19.1
 Git commit:        876964a
 Built:             Fri Sep  8 08:19:48 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.23
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.19.1
  Git commit:       5fcb1cf
  Built:            Fri Sep  8 08:18:18 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.6.15
  GitCommit:        b23a389d8c181697302d163356e97dec04eb8d88
 runc:
  Version:          v1.1.4
  GitCommit:        5af893d
 docker-init:
  Version:          0.19.0
  GitCommit:        ed96d00

did you deploy this container with the docker run above or did you use synology's ui to do so?

i deployed it with docker run and synology ui also. all have this problem.

is your db in /books or /config? what is the filesystem of /volume5

if you mean my ebook, they are stored in /books. and configuration of calibre-web is in /config.
the file system of /volume5 is Btrfs.

Thank you.

@drizuid
Copy link
Member

drizuid commented Jun 3, 2024

if you mean my ebook, they are stored in /books. and configuration of calibre-web is in /config.

I mean, specifically, the metadata.db

the file system of /volume5 is Btrfs.

this could be or be part of your problem. What is the output of docker info | grep 'Storage Driver'

4.4.302+ x86_64

it's also worth noting that this kernel has been end of life since February 3rd, 2022

@stefaneliu
Copy link
Author

Thank you. after updating docker container to the newest version, the app seems to be operational.
i have been using watchtower to manage docker update for a long time but it seems not working for some images with tag: latest now and i have no idea why.
never mind, that is another story.
i manually updated sonarr and everything is working well now.
thanks again.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants