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

Failed to install Backblaze #172

Closed Maltesaa closed 2 months ago

Maltesaa commented 3 months ago

I get a black screen when I go to the wine web interface and the logs say it failed to install backblaze. What I ran:

docker run \
    -p 8080:5800 \
    --init \
    -e USER_ID=0 \
    -e GROUP_ID=0 \
    --name backblaze_personal_backup \
    -v "/media/myusrname/8TB/:/drive_e/" \
    -v "/media/myusrname/4TB/:/drive_s/" \
    -v "/media/myusrname/0,5 TB/:/drive_p/" \
    -v "/home/myusrname/backblaze_personal/:/config/" \
    tessypowder/backblaze-personal-wine:latest

What I've tried:

Log:

[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: loading...
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: loading...
[cont-env    ] HOME: loading...
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: loading...
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           Backblaze Personal Backup                     │
    │ Application Version:   n/a                                           │
    │ Docker Image Version:  n/a                                           │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Dec 21 2023 00:39:59
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Fri Jun 14 16:47:25 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'app'...
[app         ] + local_version_file=/config/wine/dosdevices/c:/ProgramData/Backblaze/bzdata/bzreports/bzserv_version.txt
[app         ] + install_exe_path=/config/wine/dosdevices/c:/
[app         ] + log_file=/config/wine/dosdevices/c:/backblaze-wine-startapp.log
[app         ] + custom_user_agent='backblaze-personal-wine (JonathanTreffler, +https://github.com/JonathanTreffler/backblaze-personal-wine-container), CFNetwork'
[app         ] + pinned_bz_version_file=/PINNED_BZ_VERSION
[app         ] ++ sed -n 1p /PINNED_BZ_VERSION
[app         ] + pinned_bz_version=9.0.1.767
[app         ] ++ sed -n 2p /PINNED_BZ_VERSION
[app         ] + pinned_bz_version_url=https://web.archive.org/web/20240224185620/https://secure.backblaze.com/win32/install_backblaze.exe
[app         ] + export WINEARCH=win64
[app         ] + WINEARCH=win64
[app         ] + export WINEDLLOVERRIDES=mscoree=
[app         ] + WINEDLLOVERRIDES=mscoree=
[app         ] + '[' '!' -f /config/wine/system.reg ']'
[app         ] + for x in {d..z}
[app         ] + test -d /drive_d
[app         ] + for x in {d..z}
[app         ] + test -d /drive_e
[app         ] + test -d /config/wine/dosdevices/e:
[app         ] + for x in {d..z}
[app         ] + test -d /drive_f
[app         ] + for x in {d..z}
[app         ] + test -d /drive_g
[app         ] + for x in {d..z}
[app         ] + test -d /drive_h
[app         ] + for x in {d..z}
[app         ] + test -d /drive_i
[app         ] + for x in {d..z}
[app         ] + test -d /drive_j
[app         ] + for x in {d..z}
[app         ] + test -d /drive_k
[app         ] + for x in {d..z}
[app         ] + test -d /drive_l
[app         ] + for x in {d..z}
[app         ] + test -d /drive_m
[app         ] + for x in {d..z}
[app         ] + test -d /drive_n
[app         ] + for x in {d..z}
[app         ] + test -d /drive_o
[app         ] + for x in {d..z}
[app         ] + test -d /drive_p
[app         ] + test -d /config/wine/dosdevices/p:
[app         ] + for x in {d..z}
[app         ] + test -d /drive_q
[app         ] + for x in {d..z}
[app         ] + test -d /drive_r
[app         ] + for x in {d..z}
[app         ] + test -d /drive_s
[app         ] + test -d /config/wine/dosdevices/s:
[app         ] + for x in {d..z}
[app         ] + test -d /drive_t
[app         ] + for x in {d..z}
[app         ] + test -d /drive_u
[app         ] + for x in {d..z}
[app         ] + test -d /drive_v
[app         ] + for x in {d..z}
[app         ] + test -d /drive_w
[app         ] + for x in {d..z}
[app         ] + test -d /drive_x
[app         ] + for x in {d..z}
[app         ] + test -d /drive_y
[app         ] + for x in {d..z}
[app         ] + test -d /drive_z
[app         ] + cd /config/wine/
[app         ] + '[' false = true ']'
[app         ] + '[' -n 900 ']'
[app         ] + '[' -n 700 ']'
[app         ] + log_message 'WINE: Enabling Virtual Desktop mode with 900:900 aspect ratio'
[app         ] ++ date
[app         ] + echo 'Fri 14 Jun 2024 04:47:26 PM UTC: WINE: Enabling Virtual Desktop mode with 900:900 aspect ratio'
[app         ] + winetricks vd=900x700
[app         ] ------------------------------------------------------
[app         ] Running Wine/winetricks as root is highly discouraged. See https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
[app         ] ------------------------------------------------------
[app         ] Executing mkdir -p /config
[supervisor  ] all services started.
[app         ] ------------------------------------------------------
[app         ] You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
[app         ] ------------------------------------------------------
[app         ] Using winetricks 20200412 - sha256sum: 7651c93e39fcb080483c38836513bf912273a87ea97d137f6b958ed3d9628c3d with wine-9.0 and WINEARCH=win64
[app         ] Executing wine regedit C:\windows\Temp/vd.reg
[app         ] Executing wine64 regedit C:\windows\Temp/vd.reg
[app         ] + '[' false = true ']'
[app         ] + '[' false = true ']'
[app         ] + echo 'FORCE_LATEST_UPDATE is disabled. Using known-good version of Backblaze.'
[app         ] FORCE_LATEST_UPDATE is disabled. Using known-good version of Backblaze.
[app         ] + '[' -f '/config/wine/drive_c/Program Files (x86)/Backblaze/bzbui.exe' ']'
[app         ] + fetch_and_install
[app         ] + cd /config/wine/dosdevices/c:/
[app         ] + '[' false = true ']'
[app         ] + log_message 'INSTALLER: FORCE_LATEST_UPDATE=false - downloading pinned version 9.0.1.767 from archive.org'
[app         ] ++ date
[app         ] + echo 'Fri 14 Jun 2024 04:47:29 PM UTC: INSTALLER: FORCE_LATEST_UPDATE=false - downloading pinned version 9.0.1.767 from archive.org'
[app         ] + curl -A 'backblaze-personal-wine (JonathanTreffler, +https://github.com/JonathanTreffler/backblaze-personal-wine-container), CFNetwork' -L https://web.archive.org/web/20240224185620/https://secure.backblaze.com/win32/install_backblaze.exe --output install_backblaze.exe
[app         ]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[app         ]                                  Dload  Upload   Total   Spent    Left  Speed
[app         ]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[app         ]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[app         ] 100 32506    0 32506    0     0  28119      0 --:--:--  0:00:01 --:--:-- 28095
[app         ] 100  130k    0  130k    0     0  91477      0 --:--:--  0:00:01 --:--:-- 91414
[app         ] + log_message 'INSTALLER: Starting install_backblaze.exe'
[app         ] ++ date
[app         ] + echo 'Fri 14 Jun 2024 04:47:30 PM UTC: INSTALLER: Starting install_backblaze.exe'
[app         ] + '[' -f '/config/wine/drive_c/Program Files (x86)/Backblaze/bzbui.exe' ']'
[app         ] + WINEARCH=win64
[app         ] + WINEPREFIX=/config/wine/
[app         ] + wine64 install_backblaze.exe
[app         ] Application could not be started, or no application associated with the specifie
[app         ] d file.
[app         ] ShellExecuteEx failed: File not found.
[app         ] 
[app         ] + handle_error 'INSTALLER: Failed to install Backblaze'
[app         ] + echo 'Error: INSTALLER: Failed to install Backblaze'
[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 'Fri 14 Jun 2024 04:47:31 PM UTC: 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
Maltesaa commented 2 months ago

Fixed! I tried again today with the FORCE_LATEST_UPDATE set to true and it worked. Not sure if thats what fixed it or if it was because of the new release. It works now nevertheless