linuxserver / docker-lazylibrarian

GNU General Public License v3.0
85 stars 25 forks source link

[BUG] Set up web server, but now LazyLibrarian is no longer reachable. #74

Closed ahaghgoo closed 5 months ago

ahaghgoo commented 7 months ago

Is there an existing issue for this?

Current Behavior

Here is the log that I currently get after starting up the docker compose file.

WARNING: CherryPy failed to start on port 5299 Please install psutil to get more info [webStart.py:266 (MAIN)] LazyLibrarian | 2024-02-05 16:22:43,237 WARNING: Port 5299 is in use on 'lazylibrarian.domain.name'; perhaps the previous httpserver did not shut down properly. [webStart.py:267 (MAIN)] LazyLibrarian | CherryPy failed to start on port 5299 Please install psutil to get more info LazyLibrarian | Port 5299 is in use on 'lazylibrarian.domain.name'; perhaps the previous httpserver did not shut down properly.

Expected Behavior

Have LazyLibrarian reachable.

Steps To Reproduce

  1. Enable the web server;
  2. Customize the web server to include personal hostname;
  3. Restart the container;

Environment

- OS: QNAP QuTS hero h5.1.4.2596
- via docker compose

CPU architecture

x86-64

Docker creation

`docker compose up`

`
---
services:
  LazyLibrarian:
    image: lscr.io/linuxserver/lazylibrarian:latest
    container_name: LazyLibrarian
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Los_Angeles
      - DOCKER_MODS=linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg #optional
    volumes:
      - /share/ZFS530_DATA/.qpkg/container-station/docker/volumes/LazyLibrarian/config:/config:rw
      - /share/ZFS530_DATA/.qpkg/container-station/docker/volumes/LazyLibrarian/Downloads/:/Downloads/ 
      - /share/ZFS20_DATA/Multimedia/eBooks/:/eBooks #optional
      - /share/ZFS20_DATA/Multimedia/Torrents/rTorrent/Downloads/[Complete]/eBooks/:/Fresh/
    ports:
      - 5299:5299
    restart: always
`

Container logs

2024-02-05 04:19:29,443 DEBUG: Set config[IMP_AUTOADD_COPY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[BLACKLIST_FAILED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[SSL_VERIFY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[OPF_TAGS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[WISHLIST_TAGS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[DOWNLOAD_DIR]=/downloads [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[RATESTARS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[API_ENABLED]=True [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[API_KEY]=2c16751096cd40b8bf8198e2c5f07af4 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[HTTP_HOST]=lazylibrarian.host.name [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[HTTP_USER]=ahaghgoo [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[HTTP_PASS]=b1ack5tar [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[LOGDIR]=/config/log [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[IMP_CALIBREDB]=/eBooks/ [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[IMP_CALIBRE_MAGTITLE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[SERVER_ID]=2b549be2e88e4abd9bf9677b4b457e48 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,444 DEBUG: Set config[TELEMETRY_SERVER]=https://lazylibrarian.telem.ch [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[TELEMETRY_ENABLE]=True [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[TELEMETRY_SEND_CONFIG]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[TELEMETRY_SEND_USAGE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[INSTALL_TYPE]=source [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[CURRENT_VERSION]=decbb141 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[LATEST_VERSION]=decbb141cc4b0f209eb45f2a32f9dc7a056fa906 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[SAB_DELETE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[KEEP_SEEDING]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[SEED_WAIT]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[PREFER_MAGNET]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[ADD_AUTHOR]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[ADD_SERIES]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[AUDIOBOOK_DEST_FOLDER]=$Author/$Title [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,445 DEBUG: Set config[DEL_FAILED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[DEL_COMPLETED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[MAG_TAB]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[MAG_RELATIVE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[MAG_DELFOLDER]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[IMP_MAGOPF]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[IMP_MAGCOVER]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[MAG_SINGLE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[IMP_AUTOADDMAG_COPY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[PROWL_PRIORITY]=-2 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[RSS_ENABLED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[RSS_PODCAST]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[KEEP_OPF]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,446 DEBUG: Set config[KEEP_JPG]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:29,448 DEBUG: Read config[LOGDIR]=/config/log [configtypes.py:144 (MAIN)]
2024-02-05 04:19:29,449 DEBUG: Read config[LOGSPECIALDEBUG]= [configtypes.py:144 (MAIN)]
2024-02-05 04:19:30,597 WARNING: CherryPy failed to start on port 5299 Please install psutil to get more info [webStart.py:266 (MAIN)]
2024-02-05 04:19:30,597 WARNING: Port 5299 is in use on 'lazylibrarian.host.name'; perhaps the previous httpserver did not shut down properly. [webStart.py:267 (MAIN)]
CherryPy failed to start on port 5299 Please install psutil to get more info
Port 5299 is in use on 'lazylibrarian.host.name'; perhaps the previous httpserver did not shut down properly.
2024-02-05 04:19:35,038 DEBUG: Set config[SHOW_NEWZ_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,038 DEBUG: Set config[SHOW_TORZ_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,038 DEBUG: Set config[SHOW_TOR_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,038 DEBUG: Set config[SHOW_RSS_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[SHOW_IRC_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[SHOW_DIRECT_PROV]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[USER_ACCOUNTS]=True [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[ADMIN_EMAIL]=ahaghgoo@ucla.edu [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[HOMEPAGE]=Authors [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[AUTH_TYPE]=FORM [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[BOOKSTRAP_THEME]=superhero [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[SERIES_TAB]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[AUDIO_TAB]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[EBOOK_TAB]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[CONFIG_TAB_NUM]=6 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[TOGGLES]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[IMP_AUTOADD_COPY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[BLACKLIST_FAILED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,039 DEBUG: Set config[SSL_VERIFY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[OPF_TAGS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[WISHLIST_TAGS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[DOWNLOAD_DIR]=/downloads [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[RATESTARS]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[API_ENABLED]=True [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[API_KEY]=2c16751096cd40b8bf8198e2c5f07af4 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[HTTP_HOST]=lazylibrarian.host.name [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[HTTP_USER]=ahaghgoo [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[HTTP_PASS]=b1ack5tar [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[LOGDIR]=/config/log [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[IMP_CALIBREDB]=/eBooks/ [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[IMP_CALIBRE_MAGTITLE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[SERVER_ID]=2b549be2e88e4abd9bf9677b4b457e48 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[TELEMETRY_SERVER]=https://lazylibrarian.telem.ch [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,040 DEBUG: Set config[TELEMETRY_ENABLE]=True [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[TELEMETRY_SEND_CONFIG]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[TELEMETRY_SEND_USAGE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[INSTALL_TYPE]=source [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[CURRENT_VERSION]=decbb141 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[LATEST_VERSION]=decbb141cc4b0f209eb45f2a32f9dc7a056fa906 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[SAB_DELETE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[KEEP_SEEDING]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[SEED_WAIT]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[PREFER_MAGNET]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[ADD_AUTHOR]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[ADD_SERIES]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[AUDIOBOOK_DEST_FOLDER]=$Author/$Title [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,041 DEBUG: Set config[DEL_FAILED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[DEL_COMPLETED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[MAG_TAB]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[MAG_RELATIVE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[MAG_DELFOLDER]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[IMP_MAGOPF]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[IMP_MAGCOVER]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[MAG_SINGLE]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[IMP_AUTOADDMAG_COPY]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[PROWL_PRIORITY]=-2 [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[RSS_ENABLED]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[RSS_PODCAST]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,042 DEBUG: Set config[KEEP_OPF]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,043 DEBUG: Set config[KEEP_JPG]=False [configtypes.py:160 (MAIN/special.configwrite)]
2024-02-05 04:19:35,044 DEBUG: Read config[LOGDIR]=/config/log [configtypes.py:144 (MAIN)]
2024-02-05 04:19:35,058 DEBUG: Read config[LOGSPECIALDEBUG]= [configtypes.py:144 (MAIN)]
github-actions[bot] commented 7 months ago

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

LinuxServer-CI commented 6 months 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.

homerr commented 5 months ago

I'm not sure what you've actually changed to "enable the web server" but it doesn't appear to be a bug in the container. Could you please bring this up in Discord if there's still an issue.

github-actions[bot] commented 4 months ago

This issue is locked due to inactivity