Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails on Synology #185

Open
carldavis opened this issue Sep 2, 2024 · 2 comments
Open

Install fails on Synology #185

carldavis opened this issue Sep 2, 2024 · 2 comments

Comments

@carldavis
Copy link

I think the download is failing but I do not know how to confirm or how to further troubleshoot. The container will remain at wine64 install_backblaze.exe until I bring that window to the foreground, afterwards all I have is a black screen.

Any assistance is appreciated.

DSM 7.1.1-42962 Update 1
DS1817+

[app         ] + wine64 install_backblaze.exe                                                                                                                                                                                                                                         
[app         ] + start_app                                                                                                                                                 
[app         ] ++ cat /config/wine/dosdevices/c:/ProgramData/Backblaze/bzdata/bzreports/bzserv_version.txt                                                                 
[app         ] cat: '/config/wine/dosdevices/c:/ProgramData/Backblaze/bzdata/bzreports/bzserv_version.txt': No such file or directory                                      
[app         ] + log_message 'STARTAPP: Starting Backblaze version '                                                                                                       
[app         ] ++ date                                                                                                                                                     
[app         ] + echo 'Sun Sep  1 08:27:34 PM UTC 2024: STARTAPP: Starting Backblaze version '                                                                             
[app         ] + sleep infinity                                                                                                                                            
[app         ] + wine64 '/config/wine/drive_c/Program Files (x86)/Backblaze/bzbui.exe' -noquiet                                                                            
[app         ] wine: failed to open "/config/wine/drive_c/Program Files (x86)/Backblaze/bzbui.exe": c0000135                           
@jan-oratowski
Copy link

jan-oratowski commented Oct 18, 2024

Hi @carldavis

Have you managed to install it?

I have a similar setup (DS1515+ upgraded to DS1517+ firmware with DSM 7.2-64570 Update 3), and I've been running this container for a year.

I had initial problems with setting it up, but I found somewhere the Ubuntu 20 image would not work on Synology. I had to use the Ubuntu 18 image.

Here is my docker-compose.yaml:

version: '3.1'

services:

  backblaze:
    image: tessypowder/backblaze-personal-wine:ubuntu18
    container_name: backblaze_backup
    restart: on-failure:5
    ports:
      - 5800:5800
    environment:
      S6_BEHAVIOUR_IF_STAGE2_FAILS: 3
      S6_SERVICE_DEPS: 1
      USER_ID: 1028
      GROUP_ID: 100
      VNC_PASSWORD: <your pass here>
      APP_NAME: Backblaze Personal Backup
      APP_USER: app
      XDG_DATA_HOME: /config/xdg/data
      XDG_CONFIG_HOME: /config/xdg/config
      XDG_CACHE_HOME: /config/xdg/cache
      XDG_RUNTIME_DIR: /tmp/run/user/app
      DISPLAY: :0
      DISPLAY_WIDTH: 1280
      DISPLAY_HEIGHT: 1024
      WINEPREFIX: /config/wine/
      LANG: en_US.UTF-8
      WINEDEBUG: -all
    volumes:
      - /volume1/docker/backblaze:/config

@sebas05000
Copy link

sebas05000 commented Dec 28, 2024

Hey @carldavis

I was able to install on my Synology NAS(DSM 7.2.2-72806 Update 2) with the latest version of the image(Ubuntu22) as well the latest version of backblaze that is downloaded
but had to rerun it manually after installing donet48 with wintricks this is the only things that were installed before running the backblaze installer.

I installed dotnet48 by opening a terminal on Container Manager on the Backblaze container and pressing the create button for a new terminal since it will show one that is currently running then write the following command:

winetricks --force dotnet48

On the same terminal it will start downloading the installer of the .net framework 4.0 first to install it then it will do the 4.8.

I had to close any running applications on taskmgr of wine and then close the taskmgr itself for the installer to show up after a few seconds(If you see the screen go black just wait a bit)

Afterwards the .net 4.0 installer will show up and you have to simply install it.

After the installation is complete it will then run the .net 4.8 installer(The screen will go black again).

After you will see the .net 4.8 installer.

When it finishes installing then you can run manually the backblaze installer by opening explorer with the run button on the start menu.

Then you will see an application running of backblaze extractor wait a couple of seconds then kill that application with taskmgr(I had to do that in order for the installer of backblaze to show up)

Then simply follow the rest of instructions of putting your email then password as it shows on the Readme.

I do want to say that you might get a permissions issue window like this:
image

I would say ignore it since so far for me the backup is running without any issues.

Lastly I used the docker compose that is above of @jan-oratowski just changed a bit regarding some permission issues I had at first with WINE.

Hope this helps you


services:

  backblaze:
    image: tessypowder/backblaze-personal-wine:latest
    container_name: backblaze
    restart: on-failure:5
    privileged: true
    init: true
    ports:
      - 5800:5800
    environment:
      TZ: <your timezone here>
      S6_BEHAVIOUR_IF_STAGE2_FAILS: 3
      S6_SERVICE_DEPS: 1
      USER_ID: 0
      GROUP_ID: 0
      VNC_PASSWORD: <your pass here>
      APP_NAME: Backblaze Personal Backup
      APP_USER: app
      XDG_DATA_HOME: /config/xdg/data
      XDG_CONFIG_HOME: /config/xdg/config
      XDG_CACHE_HOME: /config/xdg/cache
      XDG_RUNTIME_DIR: /tmp/run/user/app
      DISPLAY: :0
      DISPLAY_WIDTH: 1280
      DISPLAY_HEIGHT: 1024
      WINEPREFIX: /config/wine/
      LANG: en_US.UTF-8
      WINEDEBUG: -all
    volumes:
      - /volume1/docker/backblaze:/config
      - /volume1/<the folder that you want to be backed up here>:/drive_d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants