mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.15k stars 49 forks source link

[BUG] Username not fetched from config file #241

Closed cyruz-git closed 3 months ago

cyruz-git commented 3 months ago

Set the ENV_CONFIG_FILE_PATH to a correctly configured /config/config.yaml, start the container and see the log complaining about:

_ERROR :: root :: configparser.py :: 46 :: username is missing in app > credentials > username. Please set the username.

I did some checks and seems like the username fetched from sync.py at line 66 is empty.

EDIT: Title and description changed because of a wrong guess from my side.

cyruz-git commented 3 months ago

Never mind, it all started from a path issue, originated from the UNRAID docker description asking to "create a config folder". The config.yaml actually needs to reside in the root of the "Configuration Files" folder.