-
What would cause the container to follow this sequence where theres no opportunity to actually enter a response URL? It's always worked for me in the past. I've tried several different shells. ...
onedrive:
image: driveone/onedrive:latest
container_name: onedrive
restart: unless-stopped
environment:
- ONEDRIVE_UID=1000
- ONEDRIVE_GID=1000
- ONEDRIVE_RESYNC=0
volumes:
- /mnt/usb/onedrive/conf:/onedrive/conf
- /mnt/usb/onedrive/data:/onedrive/data
... Then start the container in interactive mode to authorize it... docker start onedrive --interactive
usermod: no changes
Base Args: --monitor
# Launching onedrive
Configuring Global Azure AD Endpoints
Authorize this app visiting:
big-long-url
**Enter the response uri: Invalid response uri entered**
Could not initialize the OneDrive API I never actually get the opportunity to enter a response URL and the container just goes into what appears to be a boot loop. edit: I've also tried using the docker compose create method, the container by itself, so that I am the first one start the container but get the same results. I've also tried using several of the startup flags to try and debug with no luck. Even when trying to utilize - ONEDRIVE_AUTHFILES="/onedrive/conf/auth.txt:/onedrive/conf/response.txt" Checking for auth.txt it is not created. If I create it and restart, it doesn't get filled out with anything. I have to think I'm missing something glaringly obvious at this point. # We are using auth files to perform authentication
# Adding --auth-files ARG
# We are providing the auth response directly to perform authentication
# Adding --auth-response ARG
# Launching onedrive
Configuring Global Azure AD Endpoints
Invalid response uri entered
Could not initialize the OneDrive API
usermod: no changes
Base Args: --monitor
# We are using auth files to perform authentication
# Adding --auth-files ARG
# We are providing the auth response directly to perform authentication
# Adding --auth-response ARG
# Launching onedrive
Configuring Global Azure AD Endpoints
Invalid response uri entered
Could not initialize the OneDrive API I was able to work around this by bypassing the entrypoint and manually running |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
@addohm Please ensure that your permissions are correct - that the user id that the container is running as, has permissions to the config folder. |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same problem, however, I am using the This is my
This is the docker logs:
Any idea of what this issue might be due to? |
Beta Was this translation helpful? Give feedback.
-
@M4jx |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, my onedrive_conf permissions are OK (1000:1000). Can't find the problem.
Compose : version: "3"
services:
onedrive:
image: driveone/onedrive:edge
container_name: onedrive
restart: unless-stopped
environment:
- ONEDRIVE_UID=${PUID}
- ONEDRIVE_GID=${PGID}
- ONEDRIVE_DOWNLOADONLY=1
volumes:
- /docker/onedrive/onedrive_conf:/onedrive/conf
- ${ONEDRIVE_DATA_DIR}:/onedrive/data .env : PUID=1000
PGID=1000
ONEDRIVE_DATA_DIR=/dpool/data/onedrive Any ideas ? |
Beta Was this translation helpful? Give feedback.
-
Please re-read the documentation. When using Docker compose files, you must still manually perform the authentication step as outlined here: The documentation still refers to this as 'step 3' and this needs to be corrected. You may need to remove your existing container and start again to ensure you can run step 6 correctly. |
Beta Was this translation helpful? Give feedback.
@addohm
This is not the first time you have had this issue - it will be your permissions for
/mnt/usb/onedrive/conf:/onedrive/conf
that is getting messed up againPlease ensure that your permissions are correct - that the user id that the container is running as, has permissions to the config folder.