Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Need help installing backblaze-personal-wine docker on my DS1821+

#1
I'm trying to set up the backblaze-personal-wine docker as outlined in the NAS Compares article on the subject.  (I tried to post the link here but I'm told I can't post URLs.)
I'm able to pull and start the container, but the Backblaze client doesn't seem to install.  Looking at the log there are several instances of "wine: /wine is not owned by you".  I assume this is preventing the container from creating needed folder structures but I am not super familiar with Docker and I don't know how to resolve this.  Can anyone help?

Thanks in advance!
Reply
#2
(07-30-2023, 09:13 PM)Davel23 Wrote: I'm trying to set up the backblaze-personal-wine docker as outlined in the NAS Compares article on the subject.  (I tried to post the link here but I'm told I can't post URLs.)
I'm able to pull and start the container, but the Backblaze client doesn't seem to install.  Looking at the log there are several instances of "wine: /wine is not owned by you".  I assume this is preventing the container from creating needed folder structures but I am not super familiar with Docker and I don't know how to resolve this.  Can anyone help?
Thanks in advance!
Fix the wine: /wine is not owned by you error by ensuring the /wine directory is owned by the correct UID/GID:
sudo chown -R 1000:1000 /path/to/wine
Replace 1000:1000 with the container's user ID.
Run with UID/GID:
docker run --user $(id -u):$(id -g) -v /path/to/wine:/wine backblaze-personal-wine
Use Docker Compose:
Add user: "1000:1000" to your docker-compose.yml
Reply
#3
(07-30-2023, 09:13 PM)Davel23 Wrote: I'm trying to set up the backblaze-personal-wine docker as outlined in the NAS Compares article on the subject.  (I tried to post the link here but I'm told I can't post URLs.)
I'm able to pull and start the container, but the Backblaze client doesn't seem to install.  cookie clicker unblocked Looking at the log there are several instances of "wine: /wine is not owned by you".  I assume this is preventing the container from creating needed folder structures but I am not super familiar with Docker and I don't know how to resolve this.  Can anyone help?

Thanks in advance!

The error "wine: /wine is not owned by you" means the Docker container's user (usually root) doesn't match your host user ID.  The solution: run the container with `--user $(id -u):$(id -g)` to specify your host user ID and group ID.  For example: `docker run -it --user $(id -u):$(id -g) -v /your/data/directory:/wine <image_name>`. This gives the container your host user ID and mounts your data directory to `/wine` inside the container, fixing the permission issue. Replace `<image_name>` and `/your/data/directory` with your actual values. This is safer than changing permissions inside the container.
Reply
#4
Hey everyone, I'm wrestling with a Docker issue setting up backblaze-personal-wine, following NAS Compares' guide. The container starts, but the Backblaze client fails to install, spitting out "wine: /wine is not owned by you" errors. It feels like a permissions problem hindering folder creation. It's almost like trying to navigate a tricky slope in Snow Rider without the right gear! Any Docker wizards out there who can offer some advice on fixing these permissions?
Reply
#5
(07-30-2023, 09:13 PM)Davel23 Wrote: I'm trying to set up the backblaze-personal-wine docker as outlined in the NAS Compares article on the subject.  (I tried to post the link here but I'm told I can't post URLs.)
I'm able to pull and start the container, but the Backblaze client doesn't seem to install.  Looking at the log there are several instances of "wine: /wine is not owned by you".  I assume this is preventing the container from creating needed folder structures but I am not super familiar with Docker and I don't know how to resolve this.  Can anyone help? Snow Rider 3D
Thanks in advance!

To resolve the "wine: /wine is not owned by you" issue in your Docker container:

Change Ownership: Run this command on the host:

Copy
sudo chown -R $(id -u):$(id -g) /path/to/your/wine/directory
Run with Correct User: Start the container with:

Copy
docker run --user $(id -u):$(id -g) -v /path/to/your/wine/directory:/wine backblaze-personal-wine
Check Logs: Use docker logs <container_id> to see more details.

If issues persist, consult the NAS Compares article or community forums for additional help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)