mplewis / coaxist

Single Docker container for running Plex with a Debrid service.
MIT License
12 stars 0 forks source link

rclone.conf is missing #11

Open norgur opened 1 year ago

norgur commented 1 year ago

What part of the Quick Start guide are you stuck on? Container Startup

What do you see in the logs?

Please review the logs from your Docker container before opening an issue. Paste any relevant log messages here:

Unmounting /media.

umount: /media: not mounted.

Starting rclone.

+ rclone --config /config/rclone/rclone.conf --allow-other --buffer-size=0 --cutoff-mode=cautious --dir-cache-time 10s --multi-thread-streams=0 --network-mode --read-only --vfs-cache-mode minimal mount provider:/torrents /media

2023/10/04 18:40:22 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults

2023/10/04 18:40:22 Failed to create file system for "provider:/torrents": didn't find section in config file

Stopping rclone.

Unmounting /media.

What problem are you encountering?

The Container can't start because teh rclone config is missing. Are there additional steps required?

To Reproduce

Steps to reproduce the behavior:

  1. Follow the quick start guide
  2. Start the container
mplewis commented 1 year ago

Hi @norgur, thanks for trying the software out. Sorry that it took me so long to respond.

I tried to duplicate your issue locally on v0.3.3 and I think I understand what is happening when you start your container. The intended design was for the app to refuse to boot if you had example values in your config file. It was supposed to restart, check the config again, and proceed properly if you've removed the example sentinel value. But, I had the Uberconf step, which configures Rclone, run only once on container startup. So, you actually have to edit your config then restart the container to write the Rclone config and get everything started properly.

Although the container restart workaround works, it isn't ideal, so I'm going to fix this in the next release and ship it. In the meantime I've added a bit of messaging before step 2 in the Quick Start Guide to help people who might be confused by this logging.

I'll post here when I have the new release out and it's ready for you to try.

mplewis commented 1 year ago

@norgur I have release v0.3.6 ready for you to try, which fixes this issue. Can you please delete the contents of your local config/ directory and try running this version of the Docker image?