JonathanTreffler / backblaze-personal-wine-container

Run the Backblaze personal backup client in a docker container
https://hub.docker.com/r/tessypowder/backblaze-personal-wine
GNU Affero General Public License v3.0
374 stars 35 forks source link

Permissions issues in logs #125

Closed psiberfunk closed 6 months ago

psiberfunk commented 6 months ago

Despite apparently working fine and actually backing up files, my setup is somehow spewing lots of errors into the docker logs like these, with hundreds of lines per minute... I cannot figure out what's going wrong.. the mapped drives are accessible inside the explorer.exe interface inside the web-vnc client, and I know I can even open some test files in notepad.exe.

Any hints as to what's misconfigured from a stream of errors like this ?

Screenshot 2024-02-17 at 10 49 57 AM

Restarting / resetting the container doesn't seem to do much, and i'm on the latest main image:

Screenshot 2024-02-17 at 10 51 33 AM
traktuner commented 6 months ago

Hey @psiberfunk Please have a look at our troubleshooting section https://github.com/JonathanTreffler/backblaze-personal-wine-container?tab=readme-ov-file#troubleshooting There is a specific part for Synology at the bottom.

psiberfunk commented 6 months ago

@traktuner : I should have mentioned, I am already running it with elevated permissions. I have seen that part of the troubleshooting and tried it and it does not seem to fix the issue

traktuner commented 6 months ago

Thank you! Could you please post your full docker run command, or screenshots from the container manager with all environment variables? Also the full docker logs. Is USER_ID=0 and GROUP_ID=0 set according to the docs? I am also using a Synology setup and it only works with those variables set. Thank you!

psiberfunk commented 6 months ago

Well, I ran into some unrelated issues and noticed I also did not have the GROUP/USER IDs set to 0... (that seems to be recommended for a different issue.. so I didn't see that somehow...). Anyways , to make troubleshooting clean, I decided to start over completely from scratch using the Syno Container with the intent of just inheriting my existing backup on BB.... and now i'm having even MORE trouble, not getting the installer to run... looks like from logs it's downloading but that it won't show up on VNC.

==> Halp, i've gone backwards !!

My Setup:

Steps

  1. Blow away the container, image, and the docker /config folder to reset everything to scratch.
  2. Pull main image from dockerhub. "Run" (create new container), with following changes before firstime run:

Alter the following environment variables:

Setup drives (all as r/w):

See config zip JSON here, password redacted: tessypowder-backblaze-personal-wine.json.zip

  1. Start container, login to VNC (successfully)
  2. Observe that it downloads the installer fine in logs.. says running installer EXE in logs. Wait.. and wait... stare at this image in my VNC... and ... nothing happens?
Screenshot 2024-02-18 at 3 27 09 PM

Docker Logs, CSV format:

tessypowder-backblaze-personal-wine_Logs.csv.zip

Can you suggest what I ought to be doing now ? I'm suddenly more stuck than I was before :( I tried to restart the container and observed it re-downloading the installer again and trying to execute it again.. but still nothing on the VNC side?

traktuner commented 6 months ago

please do a right click on the blue bzinst_ bar at the bottom. There you should have the option to click on "Move" or "Restore". Maybe try a few things there if the Backblaze installer comes up. I will check if there is a way to force a "full screen" for the installer when launched, but I am not sure when I have time for that. Please let me know if you see the installer window after that. Thank you!

Edit: What I see from the logs, everything works as it should. After Backblaze is installed you should see all drives and with UID/GID=0 all files should be accessible by Backblaze.

psiberfunk commented 6 months ago

please do a right click on the blue bzinst_ bar at the bottom. There you should have the option to click on "Move" or "Restore". Maybe try a few things there if the Backblaze installer comes up. I will check if there is a way to force a "full screen" for the installer when launched, but I am not sure when I have time for that. Please let me know if you see the installer window after that. Thank you!

Edit: What I see from the logs, everything works as it should. After Backblaze is installed you should see all drives and with UID/GID=0 all files should be accessible by Backblaze.

So, sadly that didn't work right.. eventually I killed the task, and re-ran it a few times after a restart of the container from explorer.exe within the VNC and got it to appear.. but it was very janky/unreliable. I'm not sure exactly which combination of muddling about fixed it sadly..

traktuner commented 6 months ago

Thank you! I'll look into that, but I'm not sure if that is an issue with the Backblaze installer or the Wine virtual desktop implementation.

psiberfunk commented 6 months ago

It could have been that other change I suggested to fix the white box, lolOn Feb 19, 2024, at 11:45 PM, Thomas @.***> wrote: Thank you! I'll look into that, but I'm not sure if that is an issue with the Backblaze installer or the Wine virtual desktop implementation.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

traktuner commented 6 months ago

please do a right click on the blue bzinst_ bar at the bottom. There you should have the option to click on "Move" or "Restore". Maybe try a few things there if the Backblaze installer comes up. I will check if there is a way to force a "full screen" for the installer when launched, but I am not sure when I have time for that. Please let me know if you see the installer window after that. Thank you! Edit: What I see from the logs, everything works as it should. After Backblaze is installed you should see all drives and with UID/GID=0 all files should be accessible by Backblaze.

So, sadly that didn't work right.. eventually I killed the task, and re-ran it a few times after a restart of the container from explorer.exe within the VNC and got it to appear.. but it was very janky/unreliable. I'm not sure exactly which combination of muddling about fixed it sadly..

Hey @psiberfunk I found a way to install those updates in the background. So if there is a Backblaze update in the future you should not have that issue again.