[SOLVED] Error installing ums / Universal Media Server

My YunoHost server

Hardware: VPS with 6 dedicated CPU (netcup), 16GB RAM, 320GB SSD
YunoHost version: latest
I have access to my server : Through SSH |
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

trying to install subdoman (media.domain.tld) UMS, getting installing error.
Setup stops after the:

WARNING - tar (child): /opt/yunohost/ums/app.tgz: Cannot open: No such file or directory

— log output ---------------------

Info: DEBUG - + grep -q '^/etc/cron'
Info: DEBUG - + [[ false == \f\a\l\s\e ]]
Info: DEBUG - + [[ -z '' ]]
Info: DEBUG - + mv /var/cache/yunohost/download/ums/app /opt/yunohost/ums
Info: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/patches/ ']'
Info: DEBUG - ++ realpath /var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/patches/
Info: DEBUG - + local patches_folder=/var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/patches
Info: DEBUG - ++ find /var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/patches -type f -name 'app-*.patch'
Info: DEBUG - ++ wc --lines
Info: DEBUG - + (( 0 > 0 ))
Info: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/extra_files/app
Info: DEBUG - + cp --archive /var/cache/yunohost/app_tmp_work_dirs/app__hvr195f/sources/extra_files/app/. /opt/yunohost/ums
Info: DEBUG - + '[' -n '' ']'
Info: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
Info: DEBUG - + tar xfvz /opt/yunohost/ums/app.tgz --strip-component=1 --directory=/opt/yunohost/ums/
Info: WARNING - tar (child): /opt/yunohost/ums/app.tgz: Cannot open: No such file or directory
Info: WARNING - tar (child): Error is not recoverable: exiting now
Info: WARNING - tar: Child returned status 2
Info: WARNING - tar: Error is not recoverable: exiting now
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure...
Info: [....................] > Loading installation settings...
Info: [+++.................] > Stopping and removing the systemd service...
Info: [###+++++............] > Removing dependencies...
Info: [########++..........] > Removing app main directory...
Info: [##########+.........] > Removing NGINX web server configuration...
Info: '/etc/nginx/conf.d/media.freiesachen.de.d/ums.conf' wasn't deleted because it doesn't exist.
Info: [###########+........] > Removing logrotate configuration...
Info: [############++......] > Closing port 5001...
Info: '/var/log/ums' wasn't deleted because it doesn't exist.
Info: [##############+.....] > Removing the dedicated system user...
Info: '/home/yunohost.app/ums' wasn't deleted because it doesn't exist.
Info: [####################] > Removal of ums completed
Error: The operation 'Install the 'ums' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20230313-143616-app_install-ums' to get help

Didn’t find infos or similar entries in documentation or forum - may somebody can help!
Leider habe ich keine Infos oder Forum-Einträge gefunden, die etwas erklären. Weiß jemand was?

Could you please share the full log as advised by YunoHost:

The operation ‘Install the ‘ums’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20230313-143616-app_install-ums’ to get help

… sorry, here it is: https://paste.yunohost.org/raw/uyonayicom
Thanks!

So hmmm this looks like a bug in the core of YunoHost following recent changes, will investigate :sweat_smile:

Hmyeah it was half a bug in YunoHost core, half a bug in in the app…

I pushed a fix in 13.2.0~ynh2 which should be made available during the next 4 hours

@Aleks
Yeah, the handling of the source was a layer of multiple changes over time, which I agree did not make a lot of sense as a final result…
However I noticed that in the PR you pushed, you removed the openjdk-17-jre dependency: was that on purpose or was that a mistake? openjdk is included in some of the sources (x86_64 and x86), but not for the others and is required for ums to work fully.

Ugggghh indeed I didn’t notice I did that x_x … I had a quick glance and assumed it was just about converting the arch nomenclature … Will make a followup fix …

1 Like

… and finally: Thanks for your support and the bug fix! It installs (again).

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.