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

Sometime in last upgrades LDAP settings was lost #168

Open
selfhoster1312 opened this issue Aug 17, 2024 · 4 comments
Open

Sometime in last upgrades LDAP settings was lost #168

selfhoster1312 opened this issue Aug 17, 2024 · 4 comments

Comments

@selfhoster1312
Copy link
Contributor

version: 10.9.9~ynh2

Somehow during upgrades i did yesterday, first to 10.9.9~ynh2 then to bookworm, LDAP settings were lost:

# cat /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
<?xml version="1.0" encoding="utf-8"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <LdapUsers />
  <LdapServer>ldap-server.contoso.com</LdapServer>
  <LdapPort>389</LdapPort>
  <UseSsl>true</UseSsl>
  <UseStartTls>false</UseStartTls>
  <SkipSslVerify>false</SkipSslVerify>
  <LdapBindUser>CN=BindUser,DC=contoso,DC=com</LdapBindUser>
  <LdapBindPassword>password</LdapBindPassword>
  <LdapBaseDn>o=domains,dc=contoso,dc=com</LdapBaseDn>
  <LdapSearchFilter>(memberOf=CN=JellyfinUsers,DC=contoso,DC=com)</LdapSearchFilter>
  <LdapAdminBaseDn />
  <LdapAdminFilter>(enabledService=JellyfinAdministrator)</LdapAdminFilter>
  <EnableLdapAdminFilterMemberUid>false</EnableLdapAdminFilterMemberUid>
  <LdapSearchAttributes>uid, cn, mail, displayName</LdapSearchAttributes>
  <LdapClientCertPath />
  <LdapClientKeyPath />
  <LdapRootCaPath />
  <CreateUsersFromLdap>true</CreateUsersFromLdap>
  <AllowPassChange>false</AllowPassChange>
  <LdapUidAttribute>uid</LdapUidAttribute>
  <LdapUsernameAttribute>cn</LdapUsernameAttribute>
  <LdapPasswordAttribute>userPassword</LdapPasswordAttribute>
  <EnableLdapProfileImageSync>false</EnableLdapProfileImageSync>
  <LdapProfileImageAttribute>jpegphoto</LdapProfileImageAttribute>
  <EnableAllFolders>false</EnableAllFolders>
  <EnabledFolders />

contoso.com is default in Jellyfin LDAP plugin upstream and i have no idea how it's back here...

install and upgrade script look fine. Maybe because i had a lot of failing updates jellyfin was restored at some point? I don't see LDAP-Auth.xml in restore script...

@Salamandar
Copy link
Member

Could you please send the upgrade logs ? The correct ldap configuration should be installed, see

ynh_add_config --template="LDAP-Auth.xml" --destination="/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml"
.

@selfhoster1312
Copy link
Contributor Author

selfhoster1312 commented Aug 19, 2024

Here's the upgrade log. I only redacted usernames for privacy concerns.

2024-08-16 11:26:03,768: INFO - Updating sources...
2024-08-16 11:26:03,769: DEBUG - Prefetching asset server_bullseye: https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb11_amd64.deb ...
2024-08-16 11:26:17,747: DEBUG - Prefetching asset server_bookworm: https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb12_amd64.deb ...
2024-08-16 11:26:25,916: DEBUG - Prefetching asset web_bullseye: https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb ...
2024-08-16 11:26:34,687: DEBUG - Prefetching asset web_bookworm: https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb12_all.deb ...
2024-08-16 11:26:39,114: DEBUG - Prefetching asset ffmpeg_bullseye: https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bullseye_amd64.deb ...
2024-08-16 11:26:44,208: DEBUG - Prefetching asset ffmpeg_bookworm: https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bookworm_amd64.deb ...
2024-08-16 11:26:49,982: DEBUG - Prefetching asset plugin_ldap: https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip ...
2024-08-16 11:26:50,702: INFO - Updating system_user...
2024-08-16 11:26:50,764: INFO - Updating install_dir...
2024-08-16 11:26:50,782: INFO - Updating permissions...
2024-08-16 11:26:51,067: WARNING - This permission is currently granted to all users in addition to other groups. You probably want to either remove the 'all_users' permission or remove the other groups it is currently granted to.
2024-08-16 11:26:51,222: DEBUG - Nothing to update in LDAP
2024-08-16 11:26:51,370: DEBUG - Permission 'jellyfin.main' updated
2024-08-16 11:26:51,370: DEBUG - Full log of this operation: 'Update accesses for permission 'jellyfin''
2024-08-16 11:26:51,725: DEBUG - Nothing to update in LDAP
2024-08-16 11:26:51,725: DEBUG - Permission 'jellyfin.main' updated
2024-08-16 11:26:51,873: DEBUG - Full log of this operation: 'Update URL related to permission 'jellyfin''
2024-08-16 11:26:52,194: DEBUG - Nothing to update in LDAP
2024-08-16 11:26:52,343: DEBUG - Permission 'jellyfin.admin' updated
2024-08-16 11:26:52,343: DEBUG - Full log of this operation: 'Update accesses for permission 'jellyfin''
2024-08-16 11:26:52,505: DEBUG - Nothing to update in LDAP
2024-08-16 11:26:52,505: DEBUG - Permission 'jellyfin.admin' updated
2024-08-16 11:26:52,656: DEBUG - Full log of this operation: 'Update URL related to permission 'jellyfin''
2024-08-16 11:26:52,820: DEBUG - The permission database has been resynchronized
2024-08-16 11:26:53,044: DEBUG - SSOwat configuration regenerated
2024-08-16 11:26:53,049: INFO - Updating ports...
2024-08-16 11:26:53,072: INFO - Updating apt...
2024-08-16 11:26:53,079: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt"  7>&1']'
2024-08-16 11:26:53,085: DEBUG - + source /usr/share/yunohost/helpers
2024-08-16 11:26:53,086: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-16 11:26:53,087: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-16 11:26:53,087: DEBUG - +++ pwd
2024-08-16 11:26:53,087: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-16 11:26:53,087: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-16 11:26:53,087: DEBUG - +++ set +o
2024-08-16 11:26:53,087: DEBUG - +++ grep xtrace
2024-08-16 11:26:53,088: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-16 11:26:53,088: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-16 11:26:53,089: DEBUG - ++ set +x
2024-08-16 11:26:53,109: DEBUG - + ynh_abort_if_errors
2024-08-16 11:26:53,110: DEBUG - + set -o errexit
2024-08-16 11:26:53,110: DEBUG - + set -o nounset
2024-08-16 11:26:53,110: DEBUG - + trap ynh_exit_properly EXIT
2024-08-16 11:26:53,110: DEBUG - + ynh_exit_properly
2024-08-16 11:26:53,110: DEBUG - + local exit_code=0
2024-08-16 11:26:53,110: DEBUG - + [[ provision_or_update_apt =~ ^install$|^upgrade$|^restore$ ]]
2024-08-16 11:26:53,110: DEBUG - + '[' 0 -eq 0 ']'
2024-08-16 11:26:53,110: DEBUG - + exit 0
2024-08-16 11:26:54,127: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./upgrade"  7>&1']'
2024-08-16 11:26:54,136: DEBUG - + source _common.sh
2024-08-16 11:26:54,137: DEBUG - +++ lsb_release --codename --short
2024-08-16 11:26:54,179: DEBUG - ++ debian=bullseye
2024-08-16 11:26:54,179: DEBUG - +++ lsb_release --release --short
2024-08-16 11:26:54,242: DEBUG - ++ debian_number=11
2024-08-16 11:26:54,243: DEBUG - ++ pkg_version=10.9.9
2024-08-16 11:26:54,243: DEBUG - +++ echo 10.9.9
2024-08-16 11:26:54,243: DEBUG - +++ cut -d - -f 1
2024-08-16 11:26:54,244: DEBUG - ++ version=10.9.9
2024-08-16 11:26:54,244: DEBUG - ++ ffmpeg_pkg_version=6.0.1-8
2024-08-16 11:26:54,244: DEBUG - ++ plugin_abi=10.9.0.0
2024-08-16 11:26:54,244: DEBUG - ++ ldap_pkg_version=19.0.0.0
2024-08-16 11:26:54,245: DEBUG - ++ discovery_service_port=1900
2024-08-16 11:26:54,245: DEBUG - ++ discovery_client_port=7359
2024-08-16 11:26:54,245: DEBUG - ++ data_path=/var/lib/jellyfin
2024-08-16 11:26:54,245: DEBUG - ++ config_path=/etc/jellyfin
2024-08-16 11:26:54,245: DEBUG - ++ log_path=/var/log/jellyfin
2024-08-16 11:26:54,245: DEBUG - ++ cache_path=/var/cache/jellyfin
2024-08-16 11:26:54,246: DEBUG - + source /usr/share/yunohost/helpers
2024-08-16 11:26:54,246: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-16 11:26:54,246: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-16 11:26:54,247: DEBUG - +++ pwd
2024-08-16 11:26:54,247: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-16 11:26:54,247: DEBUG - ++ YNH_HELPERS_VERSION=2
2024-08-16 11:26:54,247: DEBUG - +++ set +o
2024-08-16 11:26:54,248: DEBUG - +++ grep xtrace
2024-08-16 11:26:54,249: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-16 11:26:54,249: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-16 11:26:54,249: DEBUG - ++ set +x
2024-08-16 11:26:54,290: DEBUG - + ynh_script_progression '--message=Stopping jellyfin'\''s systemd service...' --weight=1
2024-08-16 11:26:54,290: DEBUG - + set +o xtrace
2024-08-16 11:26:54,355: DEBUG - + set +o xtrace
2024-08-16 11:26:54,386: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:26:54,386: DEBUG - + set +x
2024-08-16 11:26:54,388: DEBUG - + echo '[+...................] > Stopping jellyfin'\''s systemd service...'
2024-08-16 11:26:54,389: DEBUG - + set -o xtrace
2024-08-16 11:26:54,389: INFO - [+...................] > Stopping jellyfin's systemd service...
2024-08-16 11:26:54,389: DEBUG - + ynh_systemd_action --service_name=jellyfin --action=stop --log_path=systemd --timeout=15
2024-08-16 11:26:54,389: DEBUG - + local legacy_args=nalpte
2024-08-16 11:26:54,389: DEBUG - + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
2024-08-16 11:26:54,389: DEBUG - + local -A args_array
2024-08-16 11:26:54,390: DEBUG - + local service_name
2024-08-16 11:26:54,390: DEBUG - + local action
2024-08-16 11:26:54,390: DEBUG - + local line_match
2024-08-16 11:26:54,390: DEBUG - + local length
2024-08-16 11:26:54,390: DEBUG - + local log_path
2024-08-16 11:26:54,390: DEBUG - + local timeout
2024-08-16 11:26:54,390: DEBUG - + ynh_handle_getopts_args --service_name=jellyfin --action=stop --log_path=systemd --timeout=15
2024-08-16 11:26:54,390: DEBUG - + set +o xtrace
2024-08-16 11:26:54,544: DEBUG - + service_name=jellyfin
2024-08-16 11:26:54,544: DEBUG - + action=stop
2024-08-16 11:26:54,544: DEBUG - + line_match=
2024-08-16 11:26:54,544: DEBUG - + length=20
2024-08-16 11:26:54,545: DEBUG - + log_path=systemd
2024-08-16 11:26:54,545: DEBUG - + timeout=15
2024-08-16 11:26:54,545: DEBUG - + '[' stop == stop ']'
2024-08-16 11:26:54,545: DEBUG - + systemctl is-active --quiet jellyfin
2024-08-16 11:26:54,547: DEBUG - + [[ -n '' ]]
2024-08-16 11:26:54,548: DEBUG - + '[' stop == reload ']'
2024-08-16 11:26:54,548: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-16 11:26:54,548: DEBUG - ++ cut -d+ -f1
2024-08-16 11:26:54,550: DEBUG - + local 'time_start=2024-08-16 09:26:54 UTC'
2024-08-16 11:26:54,550: DEBUG - + systemctl stop jellyfin
2024-08-16 11:26:54,814: DEBUG - + [[ -n '' ]]
2024-08-16 11:26:54,815: DEBUG - + ynh_script_progression '--message=Ensuring downward compatibility...' --weight=1
2024-08-16 11:26:54,815: DEBUG - + set +o xtrace
2024-08-16 11:26:54,883: DEBUG - + set +o xtrace
2024-08-16 11:26:54,898: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:26:54,898: DEBUG - + set +x
2024-08-16 11:26:54,901: DEBUG - + echo '[#+..................] > Ensuring downward compatibility...'
2024-08-16 11:26:54,901: INFO - [#+..................] > Ensuring downward compatibility...
2024-08-16 11:26:54,902: DEBUG - + set -o xtrace
2024-08-16 11:26:54,903: DEBUG - + getent group render
2024-08-16 11:26:54,904: DEBUG - render:x:107:jellyfin
2024-08-16 11:26:54,905: DEBUG - + grep -qw '\brender\b'
2024-08-16 11:26:54,905: DEBUG - + id -Gn jellyfin
2024-08-16 11:26:54,930: DEBUG - + '[' -z /etc/jellyfin ']'
2024-08-16 11:26:54,930: DEBUG - + [[ /etc/jellyfin = \/\v\a\r\/\l\i\b\/\j\e\l\l\y\f\i\n ]]
2024-08-16 11:26:54,930: DEBUG - + ynh_app_setting_delete --app=jellyfin --key=is_public
2024-08-16 11:26:54,930: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:26:54,931: DEBUG - + local legacy_args=ak
2024-08-16 11:26:54,931: DEBUG - + args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:26:54,931: DEBUG - + local -A args_array
2024-08-16 11:26:54,931: DEBUG - + local app
2024-08-16 11:26:54,931: DEBUG - + local key
2024-08-16 11:26:54,932: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=is_public
2024-08-16 11:26:54,932: DEBUG - + set +o xtrace
2024-08-16 11:26:54,961: DEBUG - + app=jellyfin
2024-08-16 11:26:54,961: DEBUG - + [[ is_public =~ (unprotected|skipped|protected)_ ]]
2024-08-16 11:26:54,961: DEBUG - + ynh_app_setting delete jellyfin is_public
2024-08-16 11:26:54,962: DEBUG - + set +o xtrace
2024-08-16 11:26:55,006: DEBUG - + '[' -z 1 ']'
2024-08-16 11:26:55,007: DEBUG - + '[' '!' -f /etc/logrotate.d/jellyfin ']'
2024-08-16 11:26:55,007: DEBUG - + ynh_script_progression '--message=Checking whether to open ports...' --weight=1
2024-08-16 11:26:55,007: DEBUG - + set +o xtrace
2024-08-16 11:26:55,045: DEBUG - + set +o xtrace
2024-08-16 11:26:55,053: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:26:55,053: DEBUG - + set +x
2024-08-16 11:26:55,054: DEBUG - + echo '[##++................] > Checking whether to open ports...'
2024-08-16 11:26:55,054: DEBUG - + set -o xtrace
2024-08-16 11:26:55,054: DEBUG - + configure_jellyfin_discovery_ports install
2024-08-16 11:26:55,055: INFO - [##++................] > Checking whether to open ports...
2024-08-16 11:26:55,055: DEBUG - + case $1 in
2024-08-16 11:26:55,055: DEBUG - + install_jellyfin_discovery_ports
2024-08-16 11:26:55,056: DEBUG - + discovery_service=1
2024-08-16 11:26:55,056: DEBUG - + discovery_client=1
2024-08-16 11:26:55,056: DEBUG - + '[' 1 -eq 1 ']'
2024-08-16 11:26:55,056: DEBUG - + opened_ports=($discovery_service_port $discovery_client_port)
2024-08-16 11:26:55,056: DEBUG - + ynh_port_available --port=1900
2024-08-16 11:26:55,057: DEBUG - + local legacy_args=p
2024-08-16 11:26:55,057: DEBUG - + args_array=(['p']='port=')
2024-08-16 11:26:55,057: DEBUG - + local -A args_array
2024-08-16 11:26:55,057: DEBUG - + local port
2024-08-16 11:26:55,057: DEBUG - + ynh_handle_getopts_args --port=1900
2024-08-16 11:26:55,057: DEBUG - + set +o xtrace
2024-08-16 11:26:55,061: DEBUG - + awk '{print$5}'
2024-08-16 11:26:55,061: DEBUG - + ss --numeric --listening --tcp --udp
2024-08-16 11:26:55,061: DEBUG - + grep --quiet --extended-regexp ':1900$'
2024-08-16 11:26:55,070: DEBUG - + grep -q 'port: '\''1900'\''' /etc/yunohost/apps/directorylister/settings.yml /etc/yunohost/apps/freshrss/settings.yml /etc/yunohost/apps/gitea/settings.yml /etc/yunohost/apps/grafana/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/jellyfin/settings.yml /etc/yunohost/apps/lemmy/settings.yml /etc/yunohost/apps/my_webapp__2/settings.yml /etc/yunohost/apps/my_webapp__5/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/navidrome/settings.yml /etc/yunohost/apps/netdata/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/privatebin/settings.yml /etc/yunohost/apps/qr/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect__2/settings.yml /etc/yunohost/apps/redirect__3/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/reverseproxy__2/settings.yml /etc/yunohost/apps/reverseproxy__3/settings.yml /etc/yunohost/apps/rss-bridge/settings.yml /etc/yunohost/apps/tandoor/settings.yml /etc/yunohost/apps/wemawema/settings.yml
2024-08-16 11:26:55,073: DEBUG - + return 0
2024-08-16 11:26:55,073: DEBUG - + ynh_exec_warn_less yunohost firewall allow UDP 1900
2024-08-16 11:26:55,073: DEBUG - + [[ 5 -eq 1 ]]
2024-08-16 11:26:55,073: DEBUG - + yunohost firewall allow UDP 1900
2024-08-16 11:26:56,916: DEBUG - Pare-feu rechargé
2024-08-16 11:26:56,926: DEBUG - opened_ports:
2024-08-16 11:26:56,926: DEBUG -   - 21
2024-08-16 11:26:56,927: DEBUG -   - 22
2024-08-16 11:26:56,927: DEBUG -   - 25
2024-08-16 11:26:56,927: DEBUG -   - 53
2024-08-16 11:26:56,927: DEBUG -   - 69
2024-08-16 11:26:56,927: DEBUG -   - 80
2024-08-16 11:26:56,927: DEBUG -   - 111
2024-08-16 11:26:56,928: DEBUG -   - 135
2024-08-16 11:26:56,928: DEBUG -   - 137
2024-08-16 11:26:56,928: DEBUG -   - 138
2024-08-16 11:26:56,928: DEBUG -   - 139
2024-08-16 11:26:56,928: DEBUG -   - 443
2024-08-16 11:26:56,929: DEBUG -   - 445
2024-08-16 11:26:56,929: DEBUG -   - 587
2024-08-16 11:26:56,929: DEBUG -   - 993
2024-08-16 11:26:56,929: DEBUG -   - 1337
2024-08-16 11:26:56,929: DEBUG -   - 1900
2024-08-16 11:26:56,929: DEBUG -   - 2049
2024-08-16 11:26:56,930: DEBUG -   - 3142
2024-08-16 11:26:56,930: DEBUG -   - 3702
2024-08-16 11:26:56,930: DEBUG -   - 4000
2024-08-16 11:26:56,930: DEBUG -   - 4001
2024-08-16 11:26:56,930: DEBUG -   - 5222
2024-08-16 11:26:56,930: DEBUG -   - 5223
2024-08-16 11:26:56,931: DEBUG -   - 5269
2024-08-16 11:26:56,931: DEBUG -   - 5353
2024-08-16 11:26:56,931: DEBUG -   - 5357
2024-08-16 11:26:56,931: DEBUG -   - 6881
2024-08-16 11:26:56,931: DEBUG -   - 6882
2024-08-16 11:26:56,931: DEBUG -   - 7359
2024-08-16 11:26:56,931: DEBUG -   - 7777
2024-08-16 11:26:56,932: DEBUG -   - 8000
2024-08-16 11:26:56,932: DEBUG -   - 8200
2024-08-16 11:26:56,932: DEBUG -   - 8881
2024-08-16 11:26:56,932: DEBUG -   - 9000
2024-08-16 11:26:56,932: DEBUG -   - 9091
2024-08-16 11:26:56,932: DEBUG -   - 9999
2024-08-16 11:26:56,933: DEBUG -   - 20048
2024-08-16 11:26:56,933: DEBUG -   - 32767
2024-08-16 11:26:56,934: DEBUG -   - 50000
2024-08-16 11:26:56,934: DEBUG -   - 50100:50120
2024-08-16 11:26:56,934: DEBUG -   - 51820
2024-08-16 11:26:56,935: DEBUG -   - 60001:60100
2024-08-16 11:26:56,935: DEBUG -   - 60001
2024-08-16 11:26:56,956: DEBUG - + ynh_port_available --port=7359
2024-08-16 11:26:56,956: DEBUG - + local legacy_args=p
2024-08-16 11:26:56,956: DEBUG - + args_array=(['p']='port=')
2024-08-16 11:26:56,956: DEBUG - + local -A args_array
2024-08-16 11:26:56,956: DEBUG - + local port
2024-08-16 11:26:56,956: DEBUG - + ynh_handle_getopts_args --port=7359
2024-08-16 11:26:56,956: DEBUG - + set +o xtrace
2024-08-16 11:26:56,968: DEBUG - + ss --numeric --listening --tcp --udp
2024-08-16 11:26:56,969: DEBUG - + grep --quiet --extended-regexp ':7359$'
2024-08-16 11:26:56,969: DEBUG - + awk '{print$5}'
2024-08-16 11:26:56,973: DEBUG - + grep -q 'port: '\''7359'\''' /etc/yunohost/apps/directorylister/settings.yml /etc/yunohost/apps/freshrss/settings.yml /etc/yunohost/apps/gitea/settings.yml /etc/yunohost/apps/grafana/settings.yml /etc/yunohost/apps/hedgedoc/settings.yml /etc/yunohost/apps/jellyfin/settings.yml /etc/yunohost/apps/lemmy/settings.yml /etc/yunohost/apps/my_webapp__2/settings.yml /etc/yunohost/apps/my_webapp__5/settings.yml /etc/yunohost/apps/my_webapp/settings.yml /etc/yunohost/apps/navidrome/settings.yml /etc/yunohost/apps/netdata/settings.yml /etc/yunohost/apps/nextcloud/settings.yml /etc/yunohost/apps/privatebin/settings.yml /etc/yunohost/apps/qr/settings.yml /etc/yunohost/apps/rainloop/settings.yml /etc/yunohost/apps/redirect__2/settings.yml /etc/yunohost/apps/redirect__3/settings.yml /etc/yunohost/apps/redirect/settings.yml /etc/yunohost/apps/reverseproxy__2/settings.yml /etc/yunohost/apps/reverseproxy__3/settings.yml /etc/yunohost/apps/rss-bridge/settings.yml /etc/yunohost/apps/tandoor/settings.yml /etc/yunohost/apps/wemawema/settings.yml
2024-08-16 11:26:56,975: DEBUG - + return 0
2024-08-16 11:26:56,975: DEBUG - + ynh_exec_warn_less yunohost firewall allow UDP 7359
2024-08-16 11:26:56,975: DEBUG - + [[ 5 -eq 1 ]]
2024-08-16 11:26:56,975: DEBUG - + yunohost firewall allow UDP 7359
2024-08-16 11:26:57,123: DEBUG - Le port 7359 est déjà ouvert pour les connexions IPv4
2024-08-16 11:26:57,123: DEBUG - Le port 7359 est déjà ouvert pour les connexions IPv6
2024-08-16 11:26:58,651: DEBUG - Pare-feu rechargé
2024-08-16 11:26:58,659: DEBUG - opened_ports:
2024-08-16 11:26:58,659: DEBUG -   - 21
2024-08-16 11:26:58,659: DEBUG -   - 22
2024-08-16 11:26:58,659: DEBUG -   - 25
2024-08-16 11:26:58,659: DEBUG -   - 53
2024-08-16 11:26:58,660: DEBUG -   - 69
2024-08-16 11:26:58,660: DEBUG -   - 80
2024-08-16 11:26:58,660: DEBUG -   - 111
2024-08-16 11:26:58,660: DEBUG -   - 135
2024-08-16 11:26:58,660: DEBUG -   - 137
2024-08-16 11:26:58,660: DEBUG -   - 138
2024-08-16 11:26:58,660: DEBUG -   - 139
2024-08-16 11:26:58,661: DEBUG -   - 443
2024-08-16 11:26:58,661: DEBUG -   - 445
2024-08-16 11:26:58,661: DEBUG -   - 587
2024-08-16 11:26:58,661: DEBUG -   - 993
2024-08-16 11:26:58,661: DEBUG -   - 1337
2024-08-16 11:26:58,661: DEBUG -   - 1900
2024-08-16 11:26:58,661: DEBUG -   - 2049
2024-08-16 11:26:58,662: DEBUG -   - 3142
2024-08-16 11:26:58,662: DEBUG -   - 3702
2024-08-16 11:26:58,662: DEBUG -   - 4000
2024-08-16 11:26:58,662: DEBUG -   - 4001
2024-08-16 11:26:58,662: DEBUG -   - 5222
2024-08-16 11:26:58,662: DEBUG -   - 5223
2024-08-16 11:26:58,662: DEBUG -   - 5269
2024-08-16 11:26:58,662: DEBUG -   - 5353
2024-08-16 11:26:58,663: DEBUG -   - 5357
2024-08-16 11:26:58,663: DEBUG -   - 6881
2024-08-16 11:26:58,663: DEBUG -   - 6882
2024-08-16 11:26:58,663: DEBUG -   - 7359
2024-08-16 11:26:58,663: DEBUG -   - 7777
2024-08-16 11:26:58,663: DEBUG -   - 8000
2024-08-16 11:26:58,663: DEBUG -   - 8200
2024-08-16 11:26:58,663: DEBUG -   - 8881
2024-08-16 11:26:58,664: DEBUG -   - 9000
2024-08-16 11:26:58,664: DEBUG -   - 9091
2024-08-16 11:26:58,664: DEBUG -   - 9999
2024-08-16 11:26:58,664: DEBUG -   - 20048
2024-08-16 11:26:58,665: DEBUG -   - 32767
2024-08-16 11:26:58,665: DEBUG -   - 50000
2024-08-16 11:26:58,665: DEBUG -   - 50100:50120
2024-08-16 11:26:58,665: DEBUG -   - 51820
2024-08-16 11:26:58,665: DEBUG -   - 60001
2024-08-16 11:26:58,665: DEBUG -   - 60001:60100
2024-08-16 11:26:58,686: DEBUG - + ynh_app_setting_set --app=jellyfin --key=discovery_service --value=1
2024-08-16 11:26:58,687: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:26:58,687: DEBUG - + local legacy_args=akv
2024-08-16 11:26:58,687: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:26:58,687: DEBUG - + local -A args_array
2024-08-16 11:26:58,687: DEBUG - + local app
2024-08-16 11:26:58,687: DEBUG - + local key
2024-08-16 11:26:58,687: DEBUG - + local value
2024-08-16 11:26:58,687: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=discovery_service --value=1
2024-08-16 11:26:58,687: DEBUG - + set +o xtrace
2024-08-16 11:26:58,740: DEBUG - + app=jellyfin
2024-08-16 11:26:58,741: DEBUG - + [[ discovery_service =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:26:58,741: DEBUG - + ynh_app_setting set jellyfin discovery_service 1
2024-08-16 11:26:58,741: DEBUG - + set +o xtrace
2024-08-16 11:26:58,783: DEBUG - + ynh_app_setting_set --app=jellyfin --key=discovery_client --value=1
2024-08-16 11:26:58,783: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:26:58,783: DEBUG - + local legacy_args=akv
2024-08-16 11:26:58,783: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:26:58,783: DEBUG - + local -A args_array
2024-08-16 11:26:58,783: DEBUG - + local app
2024-08-16 11:26:58,783: DEBUG - + local key
2024-08-16 11:26:58,784: DEBUG - + local value
2024-08-16 11:26:58,784: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=discovery_client --value=1
2024-08-16 11:26:58,784: DEBUG - + set +o xtrace
2024-08-16 11:26:58,828: DEBUG - + app=jellyfin
2024-08-16 11:26:58,828: DEBUG - + [[ discovery_client =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:26:58,828: DEBUG - + ynh_app_setting set jellyfin discovery_client 1
2024-08-16 11:26:58,828: DEBUG - + set +o xtrace
2024-08-16 11:26:58,871: DEBUG - + ports_args=()
2024-08-16 11:26:58,871: DEBUG - + [[ 1900 != \_\_\N\O\T\H\I\N\G\_\_ ]]
2024-08-16 11:26:58,871: DEBUG - + ports_args=("--needs_exposed_ports" "${opened_ports[@]}")
2024-08-16 11:26:58,871: DEBUG - + ynh_script_progression '--message=Upgrading packages...' --weight=3
2024-08-16 11:26:58,871: DEBUG - + set +o xtrace
2024-08-16 11:26:58,914: DEBUG - + set +o xtrace
2024-08-16 11:26:58,923: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:26:58,924: DEBUG - + set +x
2024-08-16 11:26:58,925: DEBUG - + echo '[####++++............] > Upgrading packages...'
2024-08-16 11:26:58,925: DEBUG - + set -o xtrace
2024-08-16 11:26:58,925: INFO - [####++++............] > Upgrading packages...
2024-08-16 11:26:58,925: DEBUG - ++ mktemp -d
2024-08-16 11:26:58,926: DEBUG - + bakdir=/tmp/tmp.pCJ4wF4eTv
2024-08-16 11:26:58,927: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:26:58,927: DEBUG - + cp /etc/jellyfin/system.xml /tmp/tmp.pCJ4wF4eTv/system.xml
2024-08-16 11:26:58,928: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:26:58,928: DEBUG - + cp /etc/jellyfin/network.xml /tmp/tmp.pCJ4wF4eTv/network.xml
2024-08-16 11:26:58,929: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:26:58,929: DEBUG - + cp /etc/jellyfin/logging.json /tmp/tmp.pCJ4wF4eTv/logging.json
2024-08-16 11:26:58,930: DEBUG - + install_jellyfin_packages
2024-08-16 11:26:58,931: DEBUG - + ynh_package_is_installed --package=jellyfin-ynh-deps
2024-08-16 11:26:58,931: DEBUG - + local legacy_args=p
2024-08-16 11:26:58,931: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:26:58,931: DEBUG - + local -A args_array
2024-08-16 11:26:58,931: DEBUG - + local package
2024-08-16 11:26:58,931: DEBUG - + ynh_handle_getopts_args --package=jellyfin-ynh-deps
2024-08-16 11:26:58,931: DEBUG - + set +o xtrace
2024-08-16 11:26:58,938: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-ynh-deps
2024-08-16 11:26:58,938: DEBUG - + grep --count 'ok installed'
2024-08-16 11:26:58,959: DEBUG - + ynh_package_is_installed --package=jellyfin-server
2024-08-16 11:26:58,959: DEBUG - + local legacy_args=p
2024-08-16 11:26:58,959: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:26:58,959: DEBUG - + local -A args_array
2024-08-16 11:26:58,959: DEBUG - + local package
2024-08-16 11:26:58,959: DEBUG - + ynh_handle_getopts_args --package=jellyfin-server
2024-08-16 11:26:58,959: DEBUG - + set +o xtrace
2024-08-16 11:26:58,966: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-server
2024-08-16 11:26:58,966: DEBUG - + grep --count 'ok installed'
2024-08-16 11:26:58,985: DEBUG - + ynh_install_app_dependencies jellyfin-web jellyfin-ffmpeg6 jellyfin-server
2024-08-16 11:26:58,985: DEBUG - + local 'dependencies=jellyfin-web jellyfin-ffmpeg6 jellyfin-server'
2024-08-16 11:26:58,985: DEBUG - ++ echo 'jellyfin-web jellyfin-ffmpeg6 jellyfin-server'
2024-08-16 11:26:58,985: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-08-16 11:26:58,987: DEBUG - + dependencies='jellyfin-web, jellyfin-ffmpeg6, jellyfin-server'
2024-08-16 11:26:58,987: DEBUG - + local 'dependencies=jellyfin-web, jellyfin-ffmpeg6, jellyfin-server'
2024-08-16 11:26:58,987: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-08-16 11:26:58,987: DEBUG - ++ local legacy_args=mk
2024-08-16 11:26:58,988: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:26:58,988: DEBUG - ++ local -A args_array
2024-08-16 11:26:58,988: DEBUG - ++ local manifest
2024-08-16 11:26:58,988: DEBUG - ++ local manifest_key
2024-08-16 11:26:58,988: DEBUG - ++ ynh_handle_getopts_args --manifest_key=version
2024-08-16 11:26:58,988: DEBUG - ++ set +o xtrace
2024-08-16 11:26:58,999: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:26:58,999: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:26:58,999: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:26:58,999: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:26:58,999: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:26:58,999: DEBUG - ++ grep -q '\.json$'
2024-08-16 11:26:59,001: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:26:59,001: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:26:59,002: DEBUG - ++ jq .version --raw-output
2024-08-16 11:26:59,037: DEBUG - + local version=10.9.9~ynh2
2024-08-16 11:26:59,038: DEBUG - + '[' -z 10.9.9~ynh2 ']'
2024-08-16 11:26:59,038: DEBUG - + '[' 10.9.9~ynh2 == null ']'
2024-08-16 11:26:59,038: DEBUG - + local dep_app=jellyfin
2024-08-16 11:26:59,038: DEBUG - + [[ jellyfin-web, jellyfin-ffmpeg6, jellyfin-server =~ [<=>] ]]
2024-08-16 11:26:59,038: DEBUG - ++ echo jellyfin-web, jellyfin-ffmpeg6, jellyfin-server
2024-08-16 11:26:59,038: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-08-16 11:26:59,038: DEBUG - ++ sort -u
2024-08-16 11:26:59,040: DEBUG - + local specific_php_version=
2024-08-16 11:26:59,040: DEBUG - + [[ -n '' ]]
2024-08-16 11:26:59,040: DEBUG - + grep --quiet php
2024-08-16 11:26:59,041: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-16 11:26:59,041: DEBUG - ++ local legacy_args=p
2024-08-16 11:26:59,041: DEBUG - ++ args_array=(['p']='package=')
2024-08-16 11:26:59,042: DEBUG - ++ local -A args_array
2024-08-16 11:26:59,042: DEBUG - ++ local package
2024-08-16 11:26:59,042: DEBUG - ++ ynh_handle_getopts_args postgresql-13
2024-08-16 11:26:59,042: DEBUG - ++ set +o xtrace
2024-08-16 11:26:59,047: DEBUG - ++ echo '! Helper used in legacy mode !'
2024-08-16 11:26:59,047: DEBUG - ++ set +x
2024-08-16 11:26:59,048: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-16 11:26:59,048: DEBUG - ++ grep --count 'ok installed'
2024-08-16 11:26:59,068: DEBUG - ++ echo yes
2024-08-16 11:26:59,068: DEBUG - + local psql_installed=yes
2024-08-16 11:26:59,068: DEBUG - + [[ true == \t\r\u\e ]]
2024-08-16 11:26:59,068: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2024-08-16 11:26:59,068: DEBUG - + cat
2024-08-16 11:26:59,069: DEBUG - + ynh_package_install_from_equivs /tmp/jellyfin-ynh-deps.control
2024-08-16 11:26:59,069: DEBUG - + local controlfile=/tmp/jellyfin-ynh-deps.control
2024-08-16 11:26:59,069: DEBUG - ++ grep '^Package: ' /tmp/jellyfin-ynh-deps.control
2024-08-16 11:26:59,070: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-16 11:26:59,071: DEBUG - + local pkgname=jellyfin-ynh-deps
2024-08-16 11:26:59,071: DEBUG - ++ grep '^Version: ' /tmp/jellyfin-ynh-deps.control
2024-08-16 11:26:59,071: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-16 11:26:59,073: DEBUG - + local pkgversion=10.9.9~ynh2
2024-08-16 11:26:59,073: DEBUG - + [[ -z jellyfin-ynh-deps ]]
2024-08-16 11:26:59,073: DEBUG - + [[ -z 10.9.9~ynh2 ]]
2024-08-16 11:26:59,073: DEBUG - + ynh_package_update
2024-08-16 11:26:59,073: DEBUG - + ynh_apt update
2024-08-16 11:26:59,073: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:26:59,073: DEBUG - + local try
2024-08-16 11:26:59,073: DEBUG - + set +o xtrace
2024-08-16 11:26:59,280: DEBUG - + return 0
2024-08-16 11:26:59,280: DEBUG - + LC_ALL=C
2024-08-16 11:26:59,281: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:26:59,281: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-16 11:26:59,405: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-16 11:26:59,411: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-16 11:26:59,415: DEBUG - Hit:3 http://ftp.debian.org/debian bullseye InRelease
2024-08-16 11:26:59,429: DEBUG - Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
2024-08-16 11:26:59,481: DEBUG - Hit:5 http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_11  InRelease
2024-08-16 11:26:59,481: DEBUG - Hit:6 https://packages.sury.org/php bullseye InRelease
2024-08-16 11:27:00,761: DEBUG - Reading package lists...
2024-08-16 11:27:00,771: DEBUG - ++ mktemp --directory
2024-08-16 11:27:00,772: DEBUG - + local TMPDIR=/tmp/tmp.2k6O1ll3Qq
2024-08-16 11:27:00,773: DEBUG - + mkdir -p /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps/DEBIAN/
2024-08-16 11:27:00,775: DEBUG - + chmod -R 755 /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps
2024-08-16 11:27:00,776: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:00,776: DEBUG - + local try
2024-08-16 11:27:00,776: DEBUG - + set +o xtrace
2024-08-16 11:27:00,940: DEBUG - + return 0
2024-08-16 11:27:00,940: DEBUG - + cp /tmp/jellyfin-ynh-deps.control /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps/DEBIAN/control
2024-08-16 11:27:00,941: DEBUG - + LC_ALL=C
2024-08-16 11:27:00,942: DEBUG - + dpkg-deb --build /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps.deb
2024-08-16 11:27:00,953: DEBUG - + tee /tmp/tmp.2k6O1ll3Qq/dpkg_log
2024-08-16 11:27:00,953: DEBUG - + LC_ALL=C
2024-08-16 11:27:00,953: DEBUG - + dpkg --force-depends --install /tmp/tmp.2k6O1ll3Qq/jellyfin-ynh-deps.deb
2024-08-16 11:27:01,276: DEBUG - (Reading database ... 148278 files and directories currently installed.)
2024-08-16 11:27:01,280: DEBUG - Preparing to unpack .../jellyfin-ynh-deps.deb ...
2024-08-16 11:27:01,394: DEBUG - Unpacking jellyfin-ynh-deps (10.9.9~ynh2) over (10.9.6~ynh1) ...
2024-08-16 11:27:01,626: DEBUG - Setting up jellyfin-ynh-deps (10.9.9~ynh2) ...
2024-08-16 11:27:01,859: DEBUG - + ynh_package_install --fix-broken
2024-08-16 11:27:01,860: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-16 11:27:01,860: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:01,860: DEBUG - + local try
2024-08-16 11:27:01,860: DEBUG - + set +o xtrace
2024-08-16 11:27:02,094: DEBUG - + return 0
2024-08-16 11:27:02,094: DEBUG - + LC_ALL=C
2024-08-16 11:27:02,094: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:27:02,094: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-16 11:27:02,234: DEBUG - Reading package lists...
2024-08-16 11:27:02,400: DEBUG - Building dependency tree...
2024-08-16 11:27:03,161: DEBUG - Reading state information...
2024-08-16 11:27:03,381: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-08-16 11:27:03,382: DEBUG - + [[ -n /tmp/tmp.2k6O1ll3Qq ]]
2024-08-16 11:27:03,382: DEBUG - + rm --recursive --force /tmp/tmp.2k6O1ll3Qq
2024-08-16 11:27:03,383: DEBUG - + ynh_package_is_installed jellyfin-ynh-deps
2024-08-16 11:27:03,383: DEBUG - + local legacy_args=p
2024-08-16 11:27:03,383: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:27:03,383: DEBUG - + local -A args_array
2024-08-16 11:27:03,383: DEBUG - + local package
2024-08-16 11:27:03,383: DEBUG - + ynh_handle_getopts_args jellyfin-ynh-deps
2024-08-16 11:27:03,384: DEBUG - + set +o xtrace
2024-08-16 11:27:03,390: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:03,390: DEBUG - + set +x
2024-08-16 11:27:03,392: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-ynh-deps
2024-08-16 11:27:03,392: DEBUG - + grep --count 'ok installed'
2024-08-16 11:27:03,436: DEBUG - + rm /tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:03,438: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-16 11:27:03,438: DEBUG - ++ local legacy_args=p
2024-08-16 11:27:03,439: DEBUG - ++ args_array=(['p']='package=')
2024-08-16 11:27:03,439: DEBUG - ++ local -A args_array
2024-08-16 11:27:03,439: DEBUG - ++ local package
2024-08-16 11:27:03,439: DEBUG - ++ ynh_handle_getopts_args postgresql-13
2024-08-16 11:27:03,439: DEBUG - ++ set +o xtrace
2024-08-16 11:27:03,450: DEBUG - ++ echo '! Helper used in legacy mode !'
2024-08-16 11:27:03,450: DEBUG - ++ set +x
2024-08-16 11:27:03,453: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-16 11:27:03,454: DEBUG - ++ grep --count 'ok installed'
2024-08-16 11:27:03,494: DEBUG - ++ echo yes
2024-08-16 11:27:03,495: DEBUG - + local psql_installed2=yes
2024-08-16 11:27:03,495: DEBUG - + [[ yes != \y\e\s ]]
2024-08-16 11:27:03,496: DEBUG - ++ mktemp -d
2024-08-16 11:27:03,498: DEBUG - + tempdir=/tmp/tmp.r5af0QR2Rl
2024-08-16 11:27:03,499: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=web_bullseye
2024-08-16 11:27:03,499: DEBUG - + local legacy_args=dsk
2024-08-16 11:27:03,499: DEBUG - + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
2024-08-16 11:27:03,499: DEBUG - + local -A args_array
2024-08-16 11:27:03,499: DEBUG - + local dest_dir
2024-08-16 11:27:03,499: DEBUG - + local source_id
2024-08-16 11:27:03,499: DEBUG - + local keep
2024-08-16 11:27:03,500: DEBUG - + local full_replace
2024-08-16 11:27:03,500: DEBUG - + ynh_handle_getopts_args --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=web_bullseye
2024-08-16 11:27:03,500: DEBUG - + set +o xtrace
2024-08-16 11:27:03,557: DEBUG - + keep=
2024-08-16 11:27:03,557: DEBUG - + full_replace=0
2024-08-16 11:27:03,558: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:03,558: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:03,558: DEBUG - + toml_to_json
2024-08-16 11:27:03,558: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:03,558: DEBUG - + jq -e .resources.sources
2024-08-16 11:27:03,614: DEBUG - + source_id=web_bullseye
2024-08-16 11:27:03,615: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:03,615: DEBUG - ++ toml_to_json
2024-08-16 11:27:03,615: DEBUG - ++ jq '.resources.sources["web_bullseye"]'
2024-08-16 11:27:03,616: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:03,649: DEBUG - + local 'sources_json={
2024-08-16 11:27:03,649: DEBUG -   "url": "https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb",
2024-08-16 11:27:03,649: DEBUG -   "sha256": "ce69a60bfbae56da600ac392cb8355d54662a78b3e32870695ff7c98c57ecd69",
2024-08-16 11:27:03,649: DEBUG -   "format": "whatever",
2024-08-16 11:27:03,649: DEBUG -   "extract": false,
2024-08-16 11:27:03,649: DEBUG -   "rename": "jellyfin-web.deb"
2024-08-16 11:27:03,650: DEBUG - }'
2024-08-16 11:27:03,650: DEBUG - + jq -re .url
2024-08-16 11:27:03,673: DEBUG - https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb
2024-08-16 11:27:03,673: DEBUG - + local arch_prefix=
2024-08-16 11:27:03,673: DEBUG - ++ jq -r .url
2024-08-16 11:27:03,673: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,699: DEBUG - + local src_url=https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb
2024-08-16 11:27:03,700: DEBUG - ++ jq -r .sha256
2024-08-16 11:27:03,700: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,725: DEBUG - + local src_sum=ce69a60bfbae56da600ac392cb8355d54662a78b3e32870695ff7c98c57ecd69
2024-08-16 11:27:03,725: DEBUG - + local src_sumprg=sha256sum
2024-08-16 11:27:03,726: DEBUG - ++ jq -r .format
2024-08-16 11:27:03,726: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,752: DEBUG - + local src_format=whatever
2024-08-16 11:27:03,752: DEBUG - ++ jq -r .in_subdir
2024-08-16 11:27:03,752: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,809: DEBUG - + local src_in_subdir=
2024-08-16 11:27:03,810: DEBUG - ++ jq -r .extract
2024-08-16 11:27:03,810: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,833: DEBUG - + local src_extract=false
2024-08-16 11:27:03,834: DEBUG - ++ jq -r .platform
2024-08-16 11:27:03,834: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,857: DEBUG - + local src_platform=
2024-08-16 11:27:03,858: DEBUG - ++ jq -r .rename
2024-08-16 11:27:03,858: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:03,883: DEBUG - + local src_rename=jellyfin-web.deb
2024-08-16 11:27:03,883: DEBUG - + [[ -n https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb ]]
2024-08-16 11:27:03,883: DEBUG - + [[ -n ce69a60bfbae56da600ac392cb8355d54662a78b3e32870695ff7c98c57ecd69 ]]
2024-08-16 11:27:03,884: DEBUG - + [[ -z whatever ]]
2024-08-16 11:27:03,884: DEBUG - + src_sumprg=sha256sum
2024-08-16 11:27:03,884: DEBUG - + src_in_subdir=true
2024-08-16 11:27:03,884: DEBUG - + src_format=whatever
2024-08-16 11:27:03,884: DEBUG - ++ echo whatever
2024-08-16 11:27:03,884: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-16 11:27:03,885: DEBUG - + src_format=whatever
2024-08-16 11:27:03,885: DEBUG - + src_extract=false
2024-08-16 11:27:03,885: DEBUG - + [[ false != \t\r\u\e ]]
2024-08-16 11:27:03,885: DEBUG - + [[ false != \f\a\l\s\e ]]
2024-08-16 11:27:03,885: DEBUG - + local local_src=/opt/yunohost-apps-src/jellyfin/web_bullseye
2024-08-16 11:27:03,885: DEBUG - ++ dirname /var/cache/yunohost/download/jellyfin/web_bullseye
2024-08-16 11:27:03,886: DEBUG - + mkdir -p /var/cache/yunohost/download/jellyfin
2024-08-16 11:27:03,888: DEBUG - + src_filename=/var/cache/yunohost/download/jellyfin/web_bullseye
2024-08-16 11:27:03,888: DEBUG - + '[' whatever = docker ']'
2024-08-16 11:27:03,888: DEBUG - + test -e /opt/yunohost-apps-src/jellyfin/web_bullseye
2024-08-16 11:27:03,889: DEBUG - + '[' -n https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-web_10.9.9+deb11_all.deb ']'
2024-08-16 11:27:03,889: DEBUG - + '[' -e /var/cache/yunohost/download/jellyfin/web_bullseye ']'
2024-08-16 11:27:03,889: DEBUG - + echo 'ce69a60bfbae56da600ac392cb8355d54662a78b3e32870695ff7c98c57ecd69 /var/cache/yunohost/download/jellyfin/web_bullseye'
2024-08-16 11:27:03,889: DEBUG - + sha256sum --check --status
2024-08-16 11:27:04,012: DEBUG - + '[' '!' -e /var/cache/yunohost/download/jellyfin/web_bullseye ']'
2024-08-16 11:27:04,012: DEBUG - + echo 'ce69a60bfbae56da600ac392cb8355d54662a78b3e32870695ff7c98c57ecd69 /var/cache/yunohost/download/jellyfin/web_bullseye'
2024-08-16 11:27:04,013: DEBUG - + sha256sum --check --status
2024-08-16 11:27:04,133: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:04,134: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,134: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:04,134: DEBUG - + mkdir --parents /tmp/tmp.r5af0QR2Rl
2024-08-16 11:27:04,135: DEBUG - + '[' -n /var/lib/jellyfin ']'
2024-08-16 11:27:04,135: DEBUG - + '[' /tmp/tmp.r5af0QR2Rl == /var/lib/jellyfin ']'
2024-08-16 11:27:04,135: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,135: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-16 11:27:04,135: DEBUG - + [[ -z jellyfin-web.deb ]]
2024-08-16 11:27:04,135: DEBUG - + mv /var/cache/yunohost/download/jellyfin/web_bullseye /tmp/tmp.r5af0QR2Rl/jellyfin-web.deb
2024-08-16 11:27:04,153: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/patches/ ']'
2024-08-16 11:27:04,153: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/extra_files/web_bullseye
2024-08-16 11:27:04,153: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,154: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:04,154: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=ffmpeg_bullseye
2024-08-16 11:27:04,154: DEBUG - + local legacy_args=dsk
2024-08-16 11:27:04,154: DEBUG - + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
2024-08-16 11:27:04,155: DEBUG - + local -A args_array
2024-08-16 11:27:04,155: DEBUG - + local dest_dir
2024-08-16 11:27:04,155: DEBUG - + local source_id
2024-08-16 11:27:04,155: DEBUG - + local keep
2024-08-16 11:27:04,155: DEBUG - + local full_replace
2024-08-16 11:27:04,155: DEBUG - + ynh_handle_getopts_args --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=ffmpeg_bullseye
2024-08-16 11:27:04,155: DEBUG - + set +o xtrace
2024-08-16 11:27:04,210: DEBUG - + keep=
2024-08-16 11:27:04,211: DEBUG - + full_replace=0
2024-08-16 11:27:04,211: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,211: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,211: DEBUG - + toml_to_json
2024-08-16 11:27:04,211: DEBUG - + jq -e .resources.sources
2024-08-16 11:27:04,212: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:04,262: DEBUG - + source_id=ffmpeg_bullseye
2024-08-16 11:27:04,262: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,262: DEBUG - ++ toml_to_json
2024-08-16 11:27:04,263: DEBUG - ++ jq '.resources.sources["ffmpeg_bullseye"]'
2024-08-16 11:27:04,263: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:04,319: DEBUG - + local 'sources_json={
2024-08-16 11:27:04,319: DEBUG -   "armhf": {
2024-08-16 11:27:04,319: DEBUG -     "url": "https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/armhf/jellyfin-ffmpeg6_6.0.1-8-bullseye_armhf.deb",
2024-08-16 11:27:04,319: DEBUG -     "sha256": "33a7a57c12ae87b4054f880106df4c51afaf7e506d51970d9c6511bc2d781f87"
2024-08-16 11:27:04,319: DEBUG -   },
2024-08-16 11:27:04,319: DEBUG -   "arm64": {
2024-08-16 11:27:04,320: DEBUG -     "url": "https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/arm64/jellyfin-ffmpeg6_6.0.1-8-bullseye_arm64.deb",
2024-08-16 11:27:04,320: DEBUG -     "sha256": "119b10cff71a9e717b464e64dc5b0ddfa0b07f8bc70727a3280a57500162e82c"
2024-08-16 11:27:04,320: DEBUG -   },
2024-08-16 11:27:04,320: DEBUG -   "amd64": {
2024-08-16 11:27:04,320: DEBUG -     "url": "https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bullseye_amd64.deb",
2024-08-16 11:27:04,320: DEBUG -     "sha256": "79b51ed4e5201af1c527c4dd4a135ea444e28104fe0899d7c635acb1ff4a3db6"
2024-08-16 11:27:04,320: DEBUG -   },
2024-08-16 11:27:04,320: DEBUG -   "format": "whatever",
2024-08-16 11:27:04,320: DEBUG -   "extract": false,
2024-08-16 11:27:04,320: DEBUG -   "rename": "jellyfin-ffmpeg6.deb"
2024-08-16 11:27:04,321: DEBUG - }'
2024-08-16 11:27:04,321: DEBUG - + jq -re .url
2024-08-16 11:27:04,342: DEBUG - null
2024-08-16 11:27:04,342: DEBUG - + local arch_prefix=.amd64
2024-08-16 11:27:04,343: DEBUG - ++ jq -r .amd64.url
2024-08-16 11:27:04,343: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,367: DEBUG - + local src_url=https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bullseye_amd64.deb
2024-08-16 11:27:04,368: DEBUG - ++ jq -r .amd64.sha256
2024-08-16 11:27:04,368: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,423: DEBUG - + local src_sum=79b51ed4e5201af1c527c4dd4a135ea444e28104fe0899d7c635acb1ff4a3db6
2024-08-16 11:27:04,423: DEBUG - + local src_sumprg=sha256sum
2024-08-16 11:27:04,423: DEBUG - ++ jq -r .format
2024-08-16 11:27:04,424: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,447: DEBUG - + local src_format=whatever
2024-08-16 11:27:04,448: DEBUG - ++ jq -r .in_subdir
2024-08-16 11:27:04,448: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,474: DEBUG - + local src_in_subdir=
2024-08-16 11:27:04,475: DEBUG - ++ jq -r .extract
2024-08-16 11:27:04,475: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,530: DEBUG - + local src_extract=false
2024-08-16 11:27:04,531: DEBUG - ++ jq -r .platform
2024-08-16 11:27:04,531: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,554: DEBUG - + local src_platform=
2024-08-16 11:27:04,554: DEBUG - ++ jq -r .rename
2024-08-16 11:27:04,554: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:04,580: DEBUG - + local src_rename=jellyfin-ffmpeg6.deb
2024-08-16 11:27:04,580: DEBUG - + [[ -n https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bullseye_amd64.deb ]]
2024-08-16 11:27:04,580: DEBUG - + [[ -n 79b51ed4e5201af1c527c4dd4a135ea444e28104fe0899d7c635acb1ff4a3db6 ]]
2024-08-16 11:27:04,580: DEBUG - + [[ -z whatever ]]
2024-08-16 11:27:04,581: DEBUG - + src_sumprg=sha256sum
2024-08-16 11:27:04,581: DEBUG - + src_in_subdir=true
2024-08-16 11:27:04,581: DEBUG - + src_format=whatever
2024-08-16 11:27:04,581: DEBUG - ++ echo whatever
2024-08-16 11:27:04,581: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-16 11:27:04,582: DEBUG - + src_format=whatever
2024-08-16 11:27:04,582: DEBUG - + src_extract=false
2024-08-16 11:27:04,582: DEBUG - + [[ false != \t\r\u\e ]]
2024-08-16 11:27:04,582: DEBUG - + [[ false != \f\a\l\s\e ]]
2024-08-16 11:27:04,582: DEBUG - + local local_src=/opt/yunohost-apps-src/jellyfin/ffmpeg_bullseye
2024-08-16 11:27:04,582: DEBUG - ++ dirname /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye
2024-08-16 11:27:04,583: DEBUG - + mkdir -p /var/cache/yunohost/download/jellyfin
2024-08-16 11:27:04,584: DEBUG - + src_filename=/var/cache/yunohost/download/jellyfin/ffmpeg_bullseye
2024-08-16 11:27:04,584: DEBUG - + '[' whatever = docker ']'
2024-08-16 11:27:04,585: DEBUG - + test -e /opt/yunohost-apps-src/jellyfin/ffmpeg_bullseye
2024-08-16 11:27:04,585: DEBUG - + '[' -n https://repo.jellyfin.org/files/ffmpeg/debian/6.x/6.0.1-8/amd64/jellyfin-ffmpeg6_6.0.1-8-bullseye_amd64.deb ']'
2024-08-16 11:27:04,585: DEBUG - + '[' -e /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye ']'
2024-08-16 11:27:04,585: DEBUG - + echo '79b51ed4e5201af1c527c4dd4a135ea444e28104fe0899d7c635acb1ff4a3db6 /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye'
2024-08-16 11:27:04,585: DEBUG - + sha256sum --check --status
2024-08-16 11:27:04,734: DEBUG - + '[' '!' -e /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye ']'
2024-08-16 11:27:04,735: DEBUG - + echo '79b51ed4e5201af1c527c4dd4a135ea444e28104fe0899d7c635acb1ff4a3db6 /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye'
2024-08-16 11:27:04,735: DEBUG - + sha256sum --check --status
2024-08-16 11:27:04,883: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:04,884: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,884: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:04,884: DEBUG - + mkdir --parents /tmp/tmp.r5af0QR2Rl
2024-08-16 11:27:04,885: DEBUG - + '[' -n /var/lib/jellyfin ']'
2024-08-16 11:27:04,885: DEBUG - + '[' /tmp/tmp.r5af0QR2Rl == /var/lib/jellyfin ']'
2024-08-16 11:27:04,885: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,885: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-16 11:27:04,885: DEBUG - + [[ -z jellyfin-ffmpeg6.deb ]]
2024-08-16 11:27:04,885: DEBUG - + mv /var/cache/yunohost/download/jellyfin/ffmpeg_bullseye /tmp/tmp.r5af0QR2Rl/jellyfin-ffmpeg6.deb
2024-08-16 11:27:04,908: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/patches/ ']'
2024-08-16 11:27:04,908: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/extra_files/ffmpeg_bullseye
2024-08-16 11:27:04,908: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:04,908: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:04,909: DEBUG - + ynh_setup_source --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=server_bullseye
2024-08-16 11:27:04,910: DEBUG - + local legacy_args=dsk
2024-08-16 11:27:04,910: DEBUG - + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
2024-08-16 11:27:04,910: DEBUG - + local -A args_array
2024-08-16 11:27:04,910: DEBUG - + local dest_dir
2024-08-16 11:27:04,910: DEBUG - + local source_id
2024-08-16 11:27:04,910: DEBUG - + local keep
2024-08-16 11:27:04,911: DEBUG - + local full_replace
2024-08-16 11:27:04,911: DEBUG - + ynh_handle_getopts_args --dest_dir=/tmp/tmp.r5af0QR2Rl --source_id=server_bullseye
2024-08-16 11:27:04,911: DEBUG - + set +o xtrace
2024-08-16 11:27:04,955: DEBUG - + keep=
2024-08-16 11:27:04,955: DEBUG - + full_replace=0
2024-08-16 11:27:04,955: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,955: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,955: DEBUG - + toml_to_json
2024-08-16 11:27:04,956: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:04,956: DEBUG - + jq -e .resources.sources
2024-08-16 11:27:04,988: DEBUG - + source_id=server_bullseye
2024-08-16 11:27:04,989: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:04,989: DEBUG - ++ toml_to_json
2024-08-16 11:27:04,989: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:04,989: DEBUG - ++ jq '.resources.sources["server_bullseye"]'
2024-08-16 11:27:05,021: DEBUG - + local 'sources_json={
2024-08-16 11:27:05,021: DEBUG -   "armhf": {
2024-08-16 11:27:05,022: DEBUG -     "url": "https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/armhf/jellyfin-server_10.9.9+deb11_armhf.deb",
2024-08-16 11:27:05,022: DEBUG -     "sha256": "ebba44ba5cc4b2d56aaa4ec5949d73e76e4191c3e9226e6a18bfb4d851b6c530"
2024-08-16 11:27:05,022: DEBUG -   },
2024-08-16 11:27:05,022: DEBUG -   "arm64": {
2024-08-16 11:27:05,022: DEBUG -     "url": "https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/arm64/jellyfin-server_10.9.9+deb11_arm64.deb",
2024-08-16 11:27:05,022: DEBUG -     "sha256": "88bc6bd347c9ddd6162cb1678edc5eeefd0a864fdbbef11004093185b0e10105"
2024-08-16 11:27:05,022: DEBUG -   },
2024-08-16 11:27:05,022: DEBUG -   "amd64": {
2024-08-16 11:27:05,022: DEBUG -     "url": "https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb11_amd64.deb",
2024-08-16 11:27:05,022: DEBUG -     "sha256": "5f8a6faaba6bbc72b6312fc08207aed0af8429938520ea991fcdb5c42c796a00"
2024-08-16 11:27:05,022: DEBUG -   },
2024-08-16 11:27:05,022: DEBUG -   "format": "whatever",
2024-08-16 11:27:05,022: DEBUG -   "extract": false,
2024-08-16 11:27:05,022: DEBUG -   "rename": "jellyfin-server.deb"
2024-08-16 11:27:05,023: DEBUG - }'
2024-08-16 11:27:05,023: DEBUG - + jq -re .url
2024-08-16 11:27:05,079: DEBUG - null
2024-08-16 11:27:05,080: DEBUG - + local arch_prefix=.amd64
2024-08-16 11:27:05,080: DEBUG - ++ jq -r .amd64.url
2024-08-16 11:27:05,080: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,106: DEBUG - + local src_url=https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb11_amd64.deb
2024-08-16 11:27:05,106: DEBUG - ++ jq -r .amd64.sha256
2024-08-16 11:27:05,107: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,130: DEBUG - + local src_sum=5f8a6faaba6bbc72b6312fc08207aed0af8429938520ea991fcdb5c42c796a00
2024-08-16 11:27:05,131: DEBUG - + local src_sumprg=sha256sum
2024-08-16 11:27:05,131: DEBUG - ++ jq -r .format
2024-08-16 11:27:05,131: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,155: DEBUG - + local src_format=whatever
2024-08-16 11:27:05,155: DEBUG - ++ jq -r .in_subdir
2024-08-16 11:27:05,156: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,181: DEBUG - + local src_in_subdir=
2024-08-16 11:27:05,181: DEBUG - ++ jq -r .extract
2024-08-16 11:27:05,182: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,205: DEBUG - + local src_extract=false
2024-08-16 11:27:05,206: DEBUG - ++ jq -r .platform
2024-08-16 11:27:05,206: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,232: DEBUG - + local src_platform=
2024-08-16 11:27:05,232: DEBUG - ++ jq -r .rename
2024-08-16 11:27:05,232: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:05,258: DEBUG - + local src_rename=jellyfin-server.deb
2024-08-16 11:27:05,258: DEBUG - + [[ -n https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb11_amd64.deb ]]
2024-08-16 11:27:05,258: DEBUG - + [[ -n 5f8a6faaba6bbc72b6312fc08207aed0af8429938520ea991fcdb5c42c796a00 ]]
2024-08-16 11:27:05,259: DEBUG - + [[ -z whatever ]]
2024-08-16 11:27:05,259: DEBUG - + src_sumprg=sha256sum
2024-08-16 11:27:05,259: DEBUG - + src_in_subdir=true
2024-08-16 11:27:05,259: DEBUG - + src_format=whatever
2024-08-16 11:27:05,259: DEBUG - ++ echo whatever
2024-08-16 11:27:05,259: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-16 11:27:05,260: DEBUG - + src_format=whatever
2024-08-16 11:27:05,260: DEBUG - + src_extract=false
2024-08-16 11:27:05,260: DEBUG - + [[ false != \t\r\u\e ]]
2024-08-16 11:27:05,260: DEBUG - + [[ false != \f\a\l\s\e ]]
2024-08-16 11:27:05,260: DEBUG - + local local_src=/opt/yunohost-apps-src/jellyfin/server_bullseye
2024-08-16 11:27:05,261: DEBUG - ++ dirname /var/cache/yunohost/download/jellyfin/server_bullseye
2024-08-16 11:27:05,261: DEBUG - + mkdir -p /var/cache/yunohost/download/jellyfin
2024-08-16 11:27:05,262: DEBUG - + src_filename=/var/cache/yunohost/download/jellyfin/server_bullseye
2024-08-16 11:27:05,262: DEBUG - + '[' whatever = docker ']'
2024-08-16 11:27:05,262: DEBUG - + test -e /opt/yunohost-apps-src/jellyfin/server_bullseye
2024-08-16 11:27:05,263: DEBUG - + '[' -n https://repo.jellyfin.org/files/server/debian/stable/v10.9.9/amd64/jellyfin-server_10.9.9+deb11_amd64.deb ']'
2024-08-16 11:27:05,263: DEBUG - + '[' -e /var/cache/yunohost/download/jellyfin/server_bullseye ']'
2024-08-16 11:27:05,263: DEBUG - + echo '5f8a6faaba6bbc72b6312fc08207aed0af8429938520ea991fcdb5c42c796a00 /var/cache/yunohost/download/jellyfin/server_bullseye'
2024-08-16 11:27:05,263: DEBUG - + sha256sum --check --status
2024-08-16 11:27:05,468: DEBUG - + '[' '!' -e /var/cache/yunohost/download/jellyfin/server_bullseye ']'
2024-08-16 11:27:05,468: DEBUG - + echo '5f8a6faaba6bbc72b6312fc08207aed0af8429938520ea991fcdb5c42c796a00 /var/cache/yunohost/download/jellyfin/server_bullseye'
2024-08-16 11:27:05,468: DEBUG - + sha256sum --check --status
2024-08-16 11:27:05,638: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:05,639: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:05,640: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:05,640: DEBUG - + mkdir --parents /tmp/tmp.r5af0QR2Rl
2024-08-16 11:27:05,641: DEBUG - + '[' -n /var/lib/jellyfin ']'
2024-08-16 11:27:05,642: DEBUG - + '[' /tmp/tmp.r5af0QR2Rl == /var/lib/jellyfin ']'
2024-08-16 11:27:05,642: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:05,642: DEBUG - + [[ false == \f\a\l\s\e ]]
2024-08-16 11:27:05,642: DEBUG - + [[ -z jellyfin-server.deb ]]
2024-08-16 11:27:05,642: DEBUG - + mv /var/cache/yunohost/download/jellyfin/server_bullseye /tmp/tmp.r5af0QR2Rl/jellyfin-server.deb
2024-08-16 11:27:05,693: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/patches/ ']'
2024-08-16 11:27:05,693: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/extra_files/server_bullseye
2024-08-16 11:27:05,693: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:05,694: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:05,694: DEBUG - + ynh_package_install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-web.deb /tmp/tmp.r5af0QR2Rl/jellyfin-server.deb
2024-08-16 11:27:05,695: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-web.deb /tmp/tmp.r5af0QR2Rl/jellyfin-server.deb
2024-08-16 11:27:05,695: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:05,695: DEBUG - + local try
2024-08-16 11:27:05,695: DEBUG - + set +o xtrace
2024-08-16 11:27:05,907: DEBUG - + return 0
2024-08-16 11:27:05,907: DEBUG - + LC_ALL=C
2024-08-16 11:27:05,907: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:27:05,907: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-web.deb /tmp/tmp.r5af0QR2Rl/jellyfin-server.deb
2024-08-16 11:27:05,966: DEBUG - Reading package lists...
2024-08-16 11:27:06,114: DEBUG - Building dependency tree...
2024-08-16 11:27:06,116: DEBUG - Reading state information...
2024-08-16 11:27:06,339: DEBUG - The following packages will be upgraded:
2024-08-16 11:27:06,340: DEBUG -   jellyfin-server jellyfin-web
2024-08-16 11:27:06,708: DEBUG - 2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-08-16 11:27:06,708: DEBUG - Need to get 0 B/78.8 MB of archives.
2024-08-16 11:27:06,709: DEBUG - After this operation, 84.0 kB of additional disk space will be used.
2024-08-16 11:27:06,709: DEBUG - Get:1 /tmp/tmp.r5af0QR2Rl/jellyfin-server.deb jellyfin-server amd64 10.9.9+deb11 [46.3 MB]
2024-08-16 11:27:06,924: DEBUG - Get:2 /tmp/tmp.r5af0QR2Rl/jellyfin-web.deb jellyfin-web all 10.9.9+deb11 [32.5 MB]
2024-08-16 11:27:12,124: DEBUG - apt-listchanges: Reading changelogs...
2024-08-16 11:27:12,718: DEBUG - (Reading database ... 148274 files and directories currently installed.)
2024-08-16 11:27:12,722: DEBUG - Preparing to unpack .../jellyfin-server.deb ...
2024-08-16 11:27:12,791: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-16 11:27:12,791: DEBUG - Stopping Jellyfin!
2024-08-16 11:27:12,870: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-16 11:27:13,094: DEBUG - Unpacking jellyfin-server (10.9.9+deb11) over (10.9.6+deb11) ...
2024-08-16 11:27:18,544: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-16 11:27:19,020: DEBUG - Preparing to unpack .../jellyfin-web.deb ...
2024-08-16 11:27:19,104: DEBUG - Unpacking jellyfin-web (10.9.9+deb11) over (10.9.6+deb11) ...
2024-08-16 11:27:22,230: DEBUG - Setting up jellyfin-web (10.9.9+deb11) ...
2024-08-16 11:27:22,324: DEBUG - Setting up jellyfin-server (10.9.9+deb11) ...
2024-08-16 11:27:22,403: DEBUG -
2024-08-16 11:27:22,404: WARNING - Configuration file '/etc/systemd/system/jellyfin.service.d/jellyfin.service.conf'
2024-08-16 11:27:22,404: WARNING -  ==> Deleted (by you or by a script) since installation.
2024-08-16 11:27:22,405: WARNING -  ==> Package distributor has shipped an updated version.
2024-08-16 11:27:22,405: WARNING -  ==> Keeping old config file as default.
2024-08-16 11:27:22,448: DEBUG - /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2024-08-16 11:27:23,963: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u10) ...
2024-08-16 11:27:24,241: DEBUG - + ynh_package_is_installed jellyfin-ffmpeg5
2024-08-16 11:27:24,241: DEBUG - + local legacy_args=p
2024-08-16 11:27:24,241: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:27:24,241: DEBUG - + local -A args_array
2024-08-16 11:27:24,242: DEBUG - + local package
2024-08-16 11:27:24,242: DEBUG - + ynh_handle_getopts_args jellyfin-ffmpeg5
2024-08-16 11:27:24,242: DEBUG - + set +o xtrace
2024-08-16 11:27:24,247: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:24,247: DEBUG - + set +x
2024-08-16 11:27:24,249: DEBUG - + grep --count 'ok installed'
2024-08-16 11:27:24,250: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-ffmpeg5
2024-08-16 11:27:24,270: DEBUG - + ynh_package_install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-ffmpeg6.deb
2024-08-16 11:27:24,270: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-ffmpeg6.deb
2024-08-16 11:27:24,270: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:24,270: DEBUG - + local try
2024-08-16 11:27:24,270: DEBUG - + set +o xtrace
2024-08-16 11:27:24,482: DEBUG - + return 0
2024-08-16 11:27:24,482: DEBUG - + LC_ALL=C
2024-08-16 11:27:24,482: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:27:24,482: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --allow-downgrades /tmp/tmp.r5af0QR2Rl/jellyfin-ffmpeg6.deb
2024-08-16 11:27:24,551: DEBUG - Reading package lists...
2024-08-16 11:27:24,745: DEBUG - Building dependency tree...
2024-08-16 11:27:24,746: DEBUG - Reading state information...
2024-08-16 11:27:25,023: DEBUG - The following packages will be upgraded:
2024-08-16 11:27:25,024: DEBUG -   jellyfin-ffmpeg6
2024-08-16 11:27:25,360: DEBUG - 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-08-16 11:27:25,360: DEBUG - Need to get 0 B/40.3 MB of archives.
2024-08-16 11:27:25,360: DEBUG - After this operation, 844 kB disk space will be freed.
2024-08-16 11:27:25,360: DEBUG - Get:1 /tmp/tmp.r5af0QR2Rl/jellyfin-ffmpeg6.deb jellyfin-ffmpeg6 amd64 6.0.1-8-bullseye [40.3 MB]
2024-08-16 11:27:28,470: DEBUG - apt-listchanges: Reading changelogs...
2024-08-16 11:27:31,740: DEBUG - (Reading database ... 148256 files and directories currently installed.)
2024-08-16 11:27:31,745: DEBUG - Preparing to unpack .../jellyfin-ffmpeg6.deb ...
2024-08-16 11:27:32,993: DEBUG - Unpacking jellyfin-ffmpeg6 (6.0.1-8-bullseye) over (6.0.1-7-bullseye) ...
2024-08-16 11:27:43,401: DEBUG - Setting up jellyfin-ffmpeg6 (6.0.1-8-bullseye) ...
2024-08-16 11:27:43,471: DEBUG - Processing triggers for libc-bin (2.31-13+deb11u10) ...
2024-08-16 11:27:43,740: DEBUG - + ynh_install_app_dependencies jellyfin-web jellyfin-ffmpeg6 jellyfin-server
2024-08-16 11:27:43,740: DEBUG - + local 'dependencies=jellyfin-web jellyfin-ffmpeg6 jellyfin-server'
2024-08-16 11:27:43,741: DEBUG - ++ echo 'jellyfin-web jellyfin-ffmpeg6 jellyfin-server'
2024-08-16 11:27:43,741: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2024-08-16 11:27:43,743: DEBUG - + dependencies='jellyfin-web, jellyfin-ffmpeg6, jellyfin-server'
2024-08-16 11:27:43,743: DEBUG - + local 'dependencies=jellyfin-web, jellyfin-ffmpeg6, jellyfin-server'
2024-08-16 11:27:43,743: DEBUG - ++ ynh_read_manifest --manifest_key=version
2024-08-16 11:27:43,744: DEBUG - ++ local legacy_args=mk
2024-08-16 11:27:43,744: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:27:43,744: DEBUG - ++ local -A args_array
2024-08-16 11:27:43,744: DEBUG - ++ local manifest
2024-08-16 11:27:43,744: DEBUG - ++ local manifest_key
2024-08-16 11:27:43,744: DEBUG - ++ ynh_handle_getopts_args --manifest_key=version
2024-08-16 11:27:43,745: DEBUG - ++ set +o xtrace
2024-08-16 11:27:43,755: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:27:43,756: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:27:43,756: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:27:43,756: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:43,756: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:43,756: DEBUG - ++ grep -q '\.json$'
2024-08-16 11:27:43,757: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:43,757: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:43,757: DEBUG - ++ jq .version --raw-output
2024-08-16 11:27:43,791: DEBUG - + local version=10.9.9~ynh2
2024-08-16 11:27:43,791: DEBUG - + '[' -z 10.9.9~ynh2 ']'
2024-08-16 11:27:43,791: DEBUG - + '[' 10.9.9~ynh2 == null ']'
2024-08-16 11:27:43,792: DEBUG - + local dep_app=jellyfin
2024-08-16 11:27:43,792: DEBUG - + [[ jellyfin-web, jellyfin-ffmpeg6, jellyfin-server =~ [<=>] ]]
2024-08-16 11:27:43,792: DEBUG - ++ echo jellyfin-web, jellyfin-ffmpeg6, jellyfin-server
2024-08-16 11:27:43,792: DEBUG - ++ sort -u
2024-08-16 11:27:43,793: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>|)'
2024-08-16 11:27:43,794: DEBUG - + local specific_php_version=
2024-08-16 11:27:43,794: DEBUG - + [[ -n '' ]]
2024-08-16 11:27:43,794: DEBUG - + grep --quiet php
2024-08-16 11:27:43,796: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-16 11:27:43,796: DEBUG - ++ local legacy_args=p
2024-08-16 11:27:43,796: DEBUG - ++ args_array=(['p']='package=')
2024-08-16 11:27:43,796: DEBUG - ++ local -A args_array
2024-08-16 11:27:43,796: DEBUG - ++ local package
2024-08-16 11:27:43,796: DEBUG - ++ ynh_handle_getopts_args postgresql-13
2024-08-16 11:27:43,796: DEBUG - ++ set +o xtrace
2024-08-16 11:27:43,803: DEBUG - ++ echo '! Helper used in legacy mode !'
2024-08-16 11:27:43,803: DEBUG - ++ set +x
2024-08-16 11:27:43,805: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-16 11:27:43,805: DEBUG - ++ grep --count 'ok installed'
2024-08-16 11:27:43,822: DEBUG - ++ echo yes
2024-08-16 11:27:43,822: DEBUG - + local psql_installed=yes
2024-08-16 11:27:43,822: DEBUG - + [[ false == \t\r\u\e ]]
2024-08-16 11:27:43,823: DEBUG - + local current_dependencies=
2024-08-16 11:27:43,823: DEBUG - + ynh_package_is_installed --package=jellyfin-ynh-deps
2024-08-16 11:27:43,823: DEBUG - + local legacy_args=p
2024-08-16 11:27:43,823: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:27:43,823: DEBUG - + local -A args_array
2024-08-16 11:27:43,823: DEBUG - + local package
2024-08-16 11:27:43,823: DEBUG - + ynh_handle_getopts_args --package=jellyfin-ynh-deps
2024-08-16 11:27:43,823: DEBUG - + set +o xtrace
2024-08-16 11:27:43,830: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-ynh-deps
2024-08-16 11:27:43,830: DEBUG - + grep --count 'ok installed'
2024-08-16 11:27:43,847: DEBUG - ++ dpkg-query --show '--showformat=${Depends}' jellyfin-ynh-deps
2024-08-16 11:27:43,864: DEBUG - + current_dependencies='jellyfin-web, jellyfin-ffmpeg6, jellyfin-server '
2024-08-16 11:27:43,864: DEBUG - + current_dependencies='jellyfin-web, jellyfin-ffmpeg6, jellyfin-server '
2024-08-16 11:27:43,864: DEBUG - + dependencies='jellyfin-web, jellyfin-ffmpeg6, jellyfin-server , jellyfin-web, jellyfin-ffmpeg6, jellyfin-server'
2024-08-16 11:27:43,864: DEBUG - + cat
2024-08-16 11:27:43,865: DEBUG - + ynh_package_install_from_equivs /tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:43,865: DEBUG - + local controlfile=/tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:43,866: DEBUG - ++ grep '^Package: ' /tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:43,866: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-16 11:27:43,868: DEBUG - + local pkgname=jellyfin-ynh-deps
2024-08-16 11:27:43,868: DEBUG - ++ grep '^Version: ' /tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:43,868: DEBUG - ++ cut '--delimiter= ' --fields=2
2024-08-16 11:27:43,870: DEBUG - + local pkgversion=10.9.9~ynh2
2024-08-16 11:27:43,870: DEBUG - + [[ -z jellyfin-ynh-deps ]]
2024-08-16 11:27:43,870: DEBUG - + [[ -z 10.9.9~ynh2 ]]
2024-08-16 11:27:43,870: DEBUG - + ynh_package_update
2024-08-16 11:27:43,870: DEBUG - + ynh_apt update
2024-08-16 11:27:43,870: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:43,870: DEBUG - + local try
2024-08-16 11:27:43,870: DEBUG - + set +o xtrace
2024-08-16 11:27:44,053: DEBUG - + return 0
2024-08-16 11:27:44,053: DEBUG - + LC_ALL=C
2024-08-16 11:27:44,053: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:27:44,053: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2024-08-16 11:27:44,125: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2024-08-16 11:27:44,140: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2024-08-16 11:27:44,142: DEBUG - Hit:3 http://ftp.debian.org/debian bullseye InRelease
2024-08-16 11:27:44,159: DEBUG - Hit:4 http://ftp.debian.org/debian bullseye-updates InRelease
2024-08-16 11:27:44,181: DEBUG - Hit:5 http://download.opensuse.org/repositories/devel:/languages:/crystal/Debian_11  InRelease
2024-08-16 11:27:44,238: DEBUG - Hit:6 https://packages.sury.org/php bullseye InRelease
2024-08-16 11:27:45,106: DEBUG - Reading package lists...
2024-08-16 11:27:45,116: DEBUG - ++ mktemp --directory
2024-08-16 11:27:45,117: DEBUG - + local TMPDIR=/tmp/tmp.kvSaiKHnvt
2024-08-16 11:27:45,118: DEBUG - + mkdir -p /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps/DEBIAN/
2024-08-16 11:27:45,119: DEBUG - + chmod -R 755 /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps
2024-08-16 11:27:45,119: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:45,120: DEBUG - + local try
2024-08-16 11:27:45,120: DEBUG - + set +o xtrace
2024-08-16 11:27:45,303: DEBUG - + return 0
2024-08-16 11:27:45,303: DEBUG - + cp /tmp/jellyfin-ynh-deps.control /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps/DEBIAN/control
2024-08-16 11:27:45,304: DEBUG - + LC_ALL=C
2024-08-16 11:27:45,304: DEBUG - + dpkg-deb --build /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps.deb
2024-08-16 11:27:45,313: DEBUG - + LC_ALL=C
2024-08-16 11:27:45,313: DEBUG - + dpkg --force-depends --install /tmp/tmp.kvSaiKHnvt/jellyfin-ynh-deps.deb
2024-08-16 11:27:45,313: DEBUG - + tee /tmp/tmp.kvSaiKHnvt/dpkg_log
2024-08-16 11:27:45,412: DEBUG - (Reading database ... 148256 files and directories currently installed.)
2024-08-16 11:27:45,416: DEBUG - Preparing to unpack .../jellyfin-ynh-deps.deb ...
2024-08-16 11:27:45,483: DEBUG - Unpacking jellyfin-ynh-deps (10.9.9~ynh2) over (10.9.9~ynh2) ...
2024-08-16 11:27:45,609: DEBUG - Setting up jellyfin-ynh-deps (10.9.9~ynh2) ...
2024-08-16 11:27:45,717: DEBUG - + ynh_package_install --fix-broken
2024-08-16 11:27:45,717: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-16 11:27:45,718: DEBUG - + ynh_wait_dpkg_free
2024-08-16 11:27:45,718: DEBUG - + local try
2024-08-16 11:27:45,718: DEBUG - + set +o xtrace
2024-08-16 11:27:45,907: DEBUG - + return 0
2024-08-16 11:27:45,907: DEBUG - + LC_ALL=C
2024-08-16 11:27:45,908: DEBUG - + DEBIAN_FRONTEND=noninteractive
2024-08-16 11:27:45,908: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2024-08-16 11:27:46,028: DEBUG - Reading package lists...
2024-08-16 11:27:46,200: DEBUG - Building dependency tree...
2024-08-16 11:27:46,201: DEBUG - Reading state information...
2024-08-16 11:27:46,428: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-08-16 11:27:46,429: DEBUG - + [[ -n /tmp/tmp.kvSaiKHnvt ]]
2024-08-16 11:27:46,429: DEBUG - + rm --recursive --force /tmp/tmp.kvSaiKHnvt
2024-08-16 11:27:46,430: DEBUG - + ynh_package_is_installed jellyfin-ynh-deps
2024-08-16 11:27:46,430: DEBUG - + local legacy_args=p
2024-08-16 11:27:46,430: DEBUG - + args_array=(['p']='package=')
2024-08-16 11:27:46,430: DEBUG - + local -A args_array
2024-08-16 11:27:46,430: DEBUG - + local package
2024-08-16 11:27:46,430: DEBUG - + ynh_handle_getopts_args jellyfin-ynh-deps
2024-08-16 11:27:46,431: DEBUG - + set +o xtrace
2024-08-16 11:27:46,437: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:46,437: DEBUG - + set +x
2024-08-16 11:27:46,438: DEBUG - + dpkg-query --show '--showformat=${Status}' jellyfin-ynh-deps
2024-08-16 11:27:46,438: DEBUG - + grep --count 'ok installed'
2024-08-16 11:27:46,455: DEBUG - + rm /tmp/jellyfin-ynh-deps.control
2024-08-16 11:27:46,456: DEBUG - ++ ynh_package_is_installed postgresql-13
2024-08-16 11:27:46,456: DEBUG - ++ local legacy_args=p
2024-08-16 11:27:46,457: DEBUG - ++ args_array=(['p']='package=')
2024-08-16 11:27:46,457: DEBUG - ++ local -A args_array
2024-08-16 11:27:46,457: DEBUG - ++ local package
2024-08-16 11:27:46,457: DEBUG - ++ ynh_handle_getopts_args postgresql-13
2024-08-16 11:27:46,457: DEBUG - ++ set +o xtrace
2024-08-16 11:27:46,463: DEBUG - ++ echo '! Helper used in legacy mode !'
2024-08-16 11:27:46,464: DEBUG - ++ set +x
2024-08-16 11:27:46,465: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2024-08-16 11:27:46,465: DEBUG - ++ grep --count 'ok installed'
2024-08-16 11:27:46,482: DEBUG - ++ echo yes
2024-08-16 11:27:46,483: DEBUG - + local psql_installed2=yes
2024-08-16 11:27:46,483: DEBUG - + [[ yes != \y\e\s ]]
2024-08-16 11:27:46,483: DEBUG - + apt-mark auto jellyfin-server jellyfin-web jellyfin-ffmpeg6
2024-08-16 11:27:46,698: DEBUG - jellyfin-server était déjà marqué comme installé automatiquement.
2024-08-16 11:27:46,698: DEBUG - jellyfin-web était déjà marqué comme installé automatiquement.
2024-08-16 11:27:46,698: DEBUG - jellyfin-ffmpeg6 était déjà marqué comme installé automatiquement.
2024-08-16 11:27:46,698: DEBUG - + ynh_script_progression '--message=Updating a configuration file...' --weight=2
2024-08-16 11:27:46,698: DEBUG - + set +o xtrace
2024-08-16 11:27:46,744: DEBUG - + set +o xtrace
2024-08-16 11:27:46,753: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:46,753: DEBUG - + set +x
2024-08-16 11:27:46,754: DEBUG - + echo '[########++..........] > Updating a configuration file...'
2024-08-16 11:27:46,754: DEBUG - + set -o xtrace
2024-08-16 11:27:46,754: INFO - [########++..........] > Updating a configuration file...
2024-08-16 11:27:46,755: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:27:46,755: DEBUG - + mv -f /tmp/tmp.pCJ4wF4eTv/system.xml /etc/jellyfin/system.xml
2024-08-16 11:27:46,755: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:27:46,755: DEBUG - + mv -f /tmp/tmp.pCJ4wF4eTv/network.xml /etc/jellyfin/network.xml
2024-08-16 11:27:46,756: DEBUG - + for name in system.xml network.xml logging.json
2024-08-16 11:27:46,756: DEBUG - + mv -f /tmp/tmp.pCJ4wF4eTv/logging.json /etc/jellyfin/logging.json
2024-08-16 11:27:46,758: DEBUG - + ynh_secure_remove /tmp/tmp.pCJ4wF4eTv
2024-08-16 11:27:46,758: DEBUG - + local legacy_args=f
2024-08-16 11:27:46,758: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:46,758: DEBUG - + local -A args_array
2024-08-16 11:27:46,758: DEBUG - + local file
2024-08-16 11:27:46,758: DEBUG - + ynh_handle_getopts_args /tmp/tmp.pCJ4wF4eTv
2024-08-16 11:27:46,758: DEBUG - + set +o xtrace
2024-08-16 11:27:46,764: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:46,764: DEBUG - + set +x
2024-08-16 11:27:46,765: DEBUG - + set +o xtrace
2024-08-16 11:27:46,774: DEBUG - + ynh_add_config --template=network.xml --destination=/etc/jellyfin/network.xml
2024-08-16 11:27:46,774: DEBUG - + local legacy_args=tdj
2024-08-16 11:27:46,774: DEBUG - + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja')
2024-08-16 11:27:46,774: DEBUG - + local -A args_array
2024-08-16 11:27:46,774: DEBUG - + local template
2024-08-16 11:27:46,774: DEBUG - + local destination
2024-08-16 11:27:46,774: DEBUG - + local jinja
2024-08-16 11:27:46,774: DEBUG - + ynh_handle_getopts_args --template=network.xml --destination=/etc/jellyfin/network.xml
2024-08-16 11:27:46,774: DEBUG - + set +o xtrace
2024-08-16 11:27:46,805: DEBUG - + local template_path
2024-08-16 11:27:46,806: DEBUG - + jinja=0
2024-08-16 11:27:46,806: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/network.xml ']'
2024-08-16 11:27:46,806: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/network.xml
2024-08-16 11:27:46,806: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,806: DEBUG - + local legacy_args=f
2024-08-16 11:27:46,806: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:46,806: DEBUG - + local -A args_array
2024-08-16 11:27:46,806: DEBUG - + local file
2024-08-16 11:27:46,806: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,806: DEBUG - + set +o xtrace
2024-08-16 11:27:46,812: DEBUG - + local checksum_setting_name=checksum__etc_jellyfin_network.xml
2024-08-16 11:27:46,812: DEBUG - ++ ynh_app_setting_get --app=jellyfin --key=checksum__etc_jellyfin_network.xml
2024-08-16 11:27:46,812: DEBUG - ++ local _globalapp=jellyfin
2024-08-16 11:27:46,813: DEBUG - ++ local legacy_args=ak
2024-08-16 11:27:46,813: DEBUG - ++ args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:27:46,813: DEBUG - ++ local -A args_array
2024-08-16 11:27:46,813: DEBUG - ++ local app
2024-08-16 11:27:46,813: DEBUG - ++ local key
2024-08-16 11:27:46,813: DEBUG - ++ ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_jellyfin_network.xml
2024-08-16 11:27:46,813: DEBUG - ++ set +o xtrace
2024-08-16 11:27:46,836: DEBUG - ++ app=jellyfin
2024-08-16 11:27:46,836: DEBUG - ++ [[ checksum__etc_jellyfin_network.xml =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:46,836: DEBUG - ++ ynh_app_setting get jellyfin checksum__etc_jellyfin_network.xml
2024-08-16 11:27:46,836: DEBUG - ++ set +o xtrace
2024-08-16 11:27:46,870: DEBUG - + local checksum_value=77cea52d63f5bbc3383190dbb0140c6e
2024-08-16 11:27:46,870: DEBUG - + backup_file_checksum=
2024-08-16 11:27:46,870: DEBUG - + '[' -n 77cea52d63f5bbc3383190dbb0140c6e ']'
2024-08-16 11:27:46,870: DEBUG - + '[' -e /etc/jellyfin/network.xml ']'
2024-08-16 11:27:46,870: DEBUG - + echo '77cea52d63f5bbc3383190dbb0140c6e /etc/jellyfin/network.xml'
2024-08-16 11:27:46,870: DEBUG - + md5sum --check --status
2024-08-16 11:27:46,872: DEBUG - + touch /etc/jellyfin/network.xml
2024-08-16 11:27:46,873: DEBUG - + chmod 640 /etc/jellyfin/network.xml
2024-08-16 11:27:46,873: DEBUG - + _ynh_apply_default_permissions /etc/jellyfin/network.xml
2024-08-16 11:27:46,873: DEBUG - + local target=/etc/jellyfin/network.xml
2024-08-16 11:27:46,874: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-08-16 11:27:46,874: DEBUG - ++ tr -d '<>= '
2024-08-16 11:27:46,874: DEBUG - ++ local legacy_args=mk
2024-08-16 11:27:46,874: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:27:46,874: DEBUG - ++ local -A args_array
2024-08-16 11:27:46,874: DEBUG - ++ local manifest
2024-08-16 11:27:46,874: DEBUG - ++ local manifest_key
2024-08-16 11:27:46,875: DEBUG - ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
2024-08-16 11:27:46,875: DEBUG - ++ set +o xtrace
2024-08-16 11:27:46,890: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:27:46,890: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:27:46,890: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:27:46,890: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:46,890: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:46,890: DEBUG - ++ grep -q '\.json$'
2024-08-16 11:27:46,891: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:46,892: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:46,892: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-08-16 11:27:46,934: DEBUG - + local ynh_requirement=null
2024-08-16 11:27:46,934: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-08-16 11:27:46,935: DEBUG - + chmod o-rwx /etc/jellyfin/network.xml
2024-08-16 11:27:46,936: DEBUG - + chmod g-w /etc/jellyfin/network.xml
2024-08-16 11:27:46,937: DEBUG - + chown -R root:root /etc/jellyfin/network.xml
2024-08-16 11:27:46,938: DEBUG - + ynh_system_user_exists jellyfin
2024-08-16 11:27:46,939: DEBUG - + local legacy_args=u
2024-08-16 11:27:46,939: DEBUG - + args_array=(['u']='username=')
2024-08-16 11:27:46,939: DEBUG - + local -A args_array
2024-08-16 11:27:46,939: DEBUG - + local username
2024-08-16 11:27:46,939: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:27:46,939: DEBUG - + set +o xtrace
2024-08-16 11:27:46,945: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:46,945: DEBUG - + set +x
2024-08-16 11:27:46,946: DEBUG - + getent passwd jellyfin
2024-08-16 11:27:46,947: DEBUG - + chown jellyfin:jellyfin /etc/jellyfin/network.xml
2024-08-16 11:27:46,949: DEBUG - + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)'
2024-08-16 11:27:46,951: DEBUG - + [[ 0 == 1 ]]
2024-08-16 11:27:46,951: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/network.xml /etc/jellyfin/network.xml
2024-08-16 11:27:46,953: DEBUG - + ynh_replace_vars --file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,954: DEBUG - + local legacy_args=f
2024-08-16 11:27:46,954: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:46,954: DEBUG - + local -A args_array
2024-08-16 11:27:46,954: DEBUG - + local file
2024-08-16 11:27:46,954: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,954: DEBUG - + set +o xtrace
2024-08-16 11:27:46,963: DEBUG - + test -n /media
2024-08-16 11:27:46,963: DEBUG - + local path_url_slash_less=/media
2024-08-16 11:27:46,964: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/media/ --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,964: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:46,964: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:46,964: DEBUG - + local -A args_array
2024-08-16 11:27:46,964: DEBUG - + local match_string
2024-08-16 11:27:46,964: DEBUG - + local replace_string
2024-08-16 11:27:46,965: DEBUG - + local target_file
2024-08-16 11:27:46,965: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/media/ --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:46,965: DEBUG - + set +o xtrace
2024-08-16 11:27:47,011: DEBUG - + set +o xtrace
2024-08-16 11:27:47,012: DEBUG - + sed --in-place $'s\001__PATH__/\001/media/\001g' /etc/jellyfin/network.xml
2024-08-16 11:27:47,013: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/media --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,013: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,013: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,013: DEBUG - + local -A args_array
2024-08-16 11:27:47,013: DEBUG - + local match_string
2024-08-16 11:27:47,013: DEBUG - + local replace_string
2024-08-16 11:27:47,013: DEBUG - + local target_file
2024-08-16 11:27:47,013: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/media --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,013: DEBUG - + set +o xtrace
2024-08-16 11:27:47,053: DEBUG - + set +o xtrace
2024-08-16 11:27:47,054: DEBUG - + sed --in-place $'s\001__PATH__\001/media\001g' /etc/jellyfin/network.xml
2024-08-16 11:27:47,056: DEBUG - + test -n jellyfin
2024-08-16 11:27:47,056: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,056: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,056: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,056: DEBUG - + local -A args_array
2024-08-16 11:27:47,056: DEBUG - + local match_string
2024-08-16 11:27:47,056: DEBUG - + local replace_string
2024-08-16 11:27:47,056: DEBUG - + local target_file
2024-08-16 11:27:47,056: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,056: DEBUG - + set +o xtrace
2024-08-16 11:27:47,099: DEBUG - + set +o xtrace
2024-08-16 11:27:47,100: DEBUG - + sed --in-place $'s\001__NAME__\001jellyfin\001g' /etc/jellyfin/network.xml
2024-08-16 11:27:47,101: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,101: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,101: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,101: DEBUG - + local -A args_array
2024-08-16 11:27:47,101: DEBUG - + local match_string
2024-08-16 11:27:47,101: DEBUG - + local replace_string
2024-08-16 11:27:47,101: DEBUG - + local target_file
2024-08-16 11:27:47,101: DEBUG - + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,102: DEBUG - + set +o xtrace
2024-08-16 11:27:47,141: DEBUG - + set +o xtrace
2024-08-16 11:27:47,141: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001jellyfin\001g' /etc/jellyfin/network.xml
2024-08-16 11:27:47,143: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,143: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,143: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,143: DEBUG - + local -A args_array
2024-08-16 11:27:47,143: DEBUG - + local match_string
2024-08-16 11:27:47,143: DEBUG - + local replace_string
2024-08-16 11:27:47,143: DEBUG - + local target_file
2024-08-16 11:27:47,143: DEBUG - + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyfin --target_file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,143: DEBUG - + set +o xtrace
2024-08-16 11:27:47,183: DEBUG - + set +o xtrace
2024-08-16 11:27:47,183: DEBUG - + sed --in-place $'s\001__USER__\001jellyfin\001g' /etc/jellyfin/network.xml
2024-08-16 11:27:47,184: DEBUG - + test -n ''
2024-08-16 11:27:47,184: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-08-16 11:27:47,186: DEBUG - + test -n ''
2024-08-16 11:27:47,186: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/jellyfin/network.xml
2024-08-16 11:27:47,186: DEBUG - ++ sort --unique
2024-08-16 11:27:47,187: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-08-16 11:27:47,188: DEBUG - + uniques_vars=('port')
2024-08-16 11:27:47,188: DEBUG - + local uniques_vars
2024-08-16 11:27:47,188: DEBUG - + set +o xtrace
2024-08-16 11:27:47,189: DEBUG - + ynh_store_file_checksum --file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,190: DEBUG - + local legacy_args=f
2024-08-16 11:27:47,190: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:27:47,190: DEBUG - + local -A args_array
2024-08-16 11:27:47,190: DEBUG - + local file
2024-08-16 11:27:47,190: DEBUG - + local update_only
2024-08-16 11:27:47,190: DEBUG - + update_only=0
2024-08-16 11:27:47,190: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/network.xml
2024-08-16 11:27:47,190: DEBUG - + set +o xtrace
2024-08-16 11:27:47,201: DEBUG - + local checksum_setting_name=checksum__etc_jellyfin_network.xml
2024-08-16 11:27:47,201: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:47,201: DEBUG - ++ md5sum /etc/jellyfin/network.xml
2024-08-16 11:27:47,202: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:27:47,203: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__etc_jellyfin_network.xml --value=77cea52d63f5bbc3383190dbb0140c6e
2024-08-16 11:27:47,203: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:27:47,203: DEBUG - + local legacy_args=akv
2024-08-16 11:27:47,203: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:27:47,203: DEBUG - + local -A args_array
2024-08-16 11:27:47,203: DEBUG - + local app
2024-08-16 11:27:47,204: DEBUG - + local key
2024-08-16 11:27:47,204: DEBUG - + local value
2024-08-16 11:27:47,204: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_jellyfin_network.xml --value=77cea52d63f5bbc3383190dbb0140c6e
2024-08-16 11:27:47,204: DEBUG - + set +o xtrace
2024-08-16 11:27:47,247: DEBUG - + app=jellyfin
2024-08-16 11:27:47,247: DEBUG - + [[ checksum__etc_jellyfin_network.xml =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:47,247: DEBUG - + ynh_app_setting set jellyfin checksum__etc_jellyfin_network.xml 77cea52d63f5bbc3383190dbb0140c6e
2024-08-16 11:27:47,247: DEBUG - + set +o xtrace
2024-08-16 11:27:47,301: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:47,301: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:47,301: DEBUG - + unset backup_file_checksum
2024-08-16 11:27:47,301: DEBUG - + ynh_add_config --template=logging.json --destination=/etc/jellyfin/logging.json
2024-08-16 11:27:47,301: DEBUG - + local legacy_args=tdj
2024-08-16 11:27:47,301: DEBUG - + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja')
2024-08-16 11:27:47,301: DEBUG - + local -A args_array
2024-08-16 11:27:47,301: DEBUG - + local template
2024-08-16 11:27:47,301: DEBUG - + local destination
2024-08-16 11:27:47,301: DEBUG - + local jinja
2024-08-16 11:27:47,301: DEBUG - + ynh_handle_getopts_args --template=logging.json --destination=/etc/jellyfin/logging.json
2024-08-16 11:27:47,301: DEBUG - + set +o xtrace
2024-08-16 11:27:47,326: DEBUG - + local template_path
2024-08-16 11:27:47,326: DEBUG - + jinja=0
2024-08-16 11:27:47,326: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/logging.json ']'
2024-08-16 11:27:47,326: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/logging.json
2024-08-16 11:27:47,326: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,326: DEBUG - + local legacy_args=f
2024-08-16 11:27:47,327: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:47,327: DEBUG - + local -A args_array
2024-08-16 11:27:47,327: DEBUG - + local file
2024-08-16 11:27:47,327: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,327: DEBUG - + set +o xtrace
2024-08-16 11:27:47,332: DEBUG - + local checksum_setting_name=checksum__etc_jellyfin_logging.json
2024-08-16 11:27:47,332: DEBUG - ++ ynh_app_setting_get --app=jellyfin --key=checksum__etc_jellyfin_logging.json
2024-08-16 11:27:47,332: DEBUG - ++ local _globalapp=jellyfin
2024-08-16 11:27:47,332: DEBUG - ++ local legacy_args=ak
2024-08-16 11:27:47,332: DEBUG - ++ args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:27:47,332: DEBUG - ++ local -A args_array
2024-08-16 11:27:47,332: DEBUG - ++ local app
2024-08-16 11:27:47,332: DEBUG - ++ local key
2024-08-16 11:27:47,332: DEBUG - ++ ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_jellyfin_logging.json
2024-08-16 11:27:47,332: DEBUG - ++ set +o xtrace
2024-08-16 11:27:47,350: DEBUG - ++ app=jellyfin
2024-08-16 11:27:47,350: DEBUG - ++ [[ checksum__etc_jellyfin_logging.json =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:47,350: DEBUG - ++ ynh_app_setting get jellyfin checksum__etc_jellyfin_logging.json
2024-08-16 11:27:47,350: DEBUG - ++ set +o xtrace
2024-08-16 11:27:47,385: DEBUG - + local checksum_value=727e97de4a7ed0ee24ce536155548d59
2024-08-16 11:27:47,386: DEBUG - + backup_file_checksum=
2024-08-16 11:27:47,386: DEBUG - + '[' -n 727e97de4a7ed0ee24ce536155548d59 ']'
2024-08-16 11:27:47,386: DEBUG - + '[' -e /etc/jellyfin/logging.json ']'
2024-08-16 11:27:47,386: DEBUG - + echo '727e97de4a7ed0ee24ce536155548d59 /etc/jellyfin/logging.json'
2024-08-16 11:27:47,386: DEBUG - + md5sum --check --status
2024-08-16 11:27:47,387: DEBUG - + touch /etc/jellyfin/logging.json
2024-08-16 11:27:47,388: DEBUG - + chmod 640 /etc/jellyfin/logging.json
2024-08-16 11:27:47,389: DEBUG - + _ynh_apply_default_permissions /etc/jellyfin/logging.json
2024-08-16 11:27:47,389: DEBUG - + local target=/etc/jellyfin/logging.json
2024-08-16 11:27:47,390: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-08-16 11:27:47,390: DEBUG - ++ tr -d '<>= '
2024-08-16 11:27:47,390: DEBUG - ++ local legacy_args=mk
2024-08-16 11:27:47,390: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:27:47,391: DEBUG - ++ local -A args_array
2024-08-16 11:27:47,391: DEBUG - ++ local manifest
2024-08-16 11:27:47,391: DEBUG - ++ local manifest_key
2024-08-16 11:27:47,391: DEBUG - ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
2024-08-16 11:27:47,391: DEBUG - ++ set +o xtrace
2024-08-16 11:27:47,402: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:27:47,402: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:27:47,402: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:27:47,402: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,402: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,402: DEBUG - ++ grep -q '\.json$'
2024-08-16 11:27:47,404: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,404: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-08-16 11:27:47,404: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:47,435: DEBUG - + local ynh_requirement=null
2024-08-16 11:27:47,435: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-08-16 11:27:47,436: DEBUG - + chmod o-rwx /etc/jellyfin/logging.json
2024-08-16 11:27:47,437: DEBUG - + chmod g-w /etc/jellyfin/logging.json
2024-08-16 11:27:47,438: DEBUG - + chown -R root:root /etc/jellyfin/logging.json
2024-08-16 11:27:47,439: DEBUG - + ynh_system_user_exists jellyfin
2024-08-16 11:27:47,439: DEBUG - + local legacy_args=u
2024-08-16 11:27:47,440: DEBUG - + args_array=(['u']='username=')
2024-08-16 11:27:47,440: DEBUG - + local -A args_array
2024-08-16 11:27:47,440: DEBUG - + local username
2024-08-16 11:27:47,440: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:27:47,440: DEBUG - + set +o xtrace
2024-08-16 11:27:47,444: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:47,445: DEBUG - + set +x
2024-08-16 11:27:47,446: DEBUG - + getent passwd jellyfin
2024-08-16 11:27:47,446: DEBUG - + chown jellyfin:jellyfin /etc/jellyfin/logging.json
2024-08-16 11:27:47,447: DEBUG - + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)'
2024-08-16 11:27:47,448: DEBUG - + [[ 0 == 1 ]]
2024-08-16 11:27:47,449: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/logging.json /etc/jellyfin/logging.json
2024-08-16 11:27:47,450: DEBUG - + ynh_replace_vars --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,452: DEBUG - + local legacy_args=f
2024-08-16 11:27:47,452: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:47,452: DEBUG - + local -A args_array
2024-08-16 11:27:47,452: DEBUG - + local file
2024-08-16 11:27:47,452: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,452: DEBUG - + set +o xtrace
2024-08-16 11:27:47,456: DEBUG - + test -n /media
2024-08-16 11:27:47,456: DEBUG - + local path_url_slash_less=/media
2024-08-16 11:27:47,456: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/media/ --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,456: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,457: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,457: DEBUG - + local -A args_array
2024-08-16 11:27:47,457: DEBUG - + local match_string
2024-08-16 11:27:47,457: DEBUG - + local replace_string
2024-08-16 11:27:47,457: DEBUG - + local target_file
2024-08-16 11:27:47,457: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/media/ --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,457: DEBUG - + set +o xtrace
2024-08-16 11:27:47,500: DEBUG - + set +o xtrace
2024-08-16 11:27:47,500: DEBUG - + sed --in-place $'s\001__PATH__/\001/media/\001g' /etc/jellyfin/logging.json
2024-08-16 11:27:47,502: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/media --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,502: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,502: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,502: DEBUG - + local -A args_array
2024-08-16 11:27:47,502: DEBUG - + local match_string
2024-08-16 11:27:47,502: DEBUG - + local replace_string
2024-08-16 11:27:47,502: DEBUG - + local target_file
2024-08-16 11:27:47,502: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/media --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,502: DEBUG - + set +o xtrace
2024-08-16 11:27:47,544: DEBUG - + set +o xtrace
2024-08-16 11:27:47,544: DEBUG - + sed --in-place $'s\001__PATH__\001/media\001g' /etc/jellyfin/logging.json
2024-08-16 11:27:47,546: DEBUG - + test -n jellyfin
2024-08-16 11:27:47,546: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,546: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,546: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,546: DEBUG - + local -A args_array
2024-08-16 11:27:47,546: DEBUG - + local match_string
2024-08-16 11:27:47,546: DEBUG - + local replace_string
2024-08-16 11:27:47,546: DEBUG - + local target_file
2024-08-16 11:27:47,546: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,546: DEBUG - + set +o xtrace
2024-08-16 11:27:47,588: DEBUG - + set +o xtrace
2024-08-16 11:27:47,588: DEBUG - + sed --in-place $'s\001__NAME__\001jellyfin\001g' /etc/jellyfin/logging.json
2024-08-16 11:27:47,590: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,591: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,591: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,591: DEBUG - + local -A args_array
2024-08-16 11:27:47,591: DEBUG - + local match_string
2024-08-16 11:27:47,591: DEBUG - + local replace_string
2024-08-16 11:27:47,591: DEBUG - + local target_file
2024-08-16 11:27:47,591: DEBUG - + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,591: DEBUG - + set +o xtrace
2024-08-16 11:27:47,632: DEBUG - + set +o xtrace
2024-08-16 11:27:47,632: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001jellyfin\001g' /etc/jellyfin/logging.json
2024-08-16 11:27:47,633: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,634: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:47,634: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:47,634: DEBUG - + local -A args_array
2024-08-16 11:27:47,634: DEBUG - + local match_string
2024-08-16 11:27:47,634: DEBUG - + local replace_string
2024-08-16 11:27:47,634: DEBUG - + local target_file
2024-08-16 11:27:47,634: DEBUG - + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyfin --target_file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,634: DEBUG - + set +o xtrace
2024-08-16 11:27:47,672: DEBUG - + set +o xtrace
2024-08-16 11:27:47,672: DEBUG - + sed --in-place $'s\001__USER__\001jellyfin\001g' /etc/jellyfin/logging.json
2024-08-16 11:27:47,673: DEBUG - + test -n ''
2024-08-16 11:27:47,674: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-08-16 11:27:47,674: DEBUG - + test -n ''
2024-08-16 11:27:47,675: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/jellyfin/logging.json
2024-08-16 11:27:47,675: DEBUG - ++ sort --unique
2024-08-16 11:27:47,675: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-08-16 11:27:47,677: DEBUG - + uniques_vars=()
2024-08-16 11:27:47,677: DEBUG - + local uniques_vars
2024-08-16 11:27:47,677: DEBUG - + set +o xtrace
2024-08-16 11:27:47,677: DEBUG - + ynh_store_file_checksum --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,677: DEBUG - + local legacy_args=f
2024-08-16 11:27:47,677: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:27:47,677: DEBUG - + local -A args_array
2024-08-16 11:27:47,677: DEBUG - + local file
2024-08-16 11:27:47,677: DEBUG - + local update_only
2024-08-16 11:27:47,677: DEBUG - + update_only=0
2024-08-16 11:27:47,677: DEBUG - + ynh_handle_getopts_args --file=/etc/jellyfin/logging.json
2024-08-16 11:27:47,677: DEBUG - + set +o xtrace
2024-08-16 11:27:47,687: DEBUG - + local checksum_setting_name=checksum__etc_jellyfin_logging.json
2024-08-16 11:27:47,687: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:47,687: DEBUG - ++ md5sum /etc/jellyfin/logging.json
2024-08-16 11:27:47,687: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:27:47,689: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__etc_jellyfin_logging.json --value=727e97de4a7ed0ee24ce536155548d59
2024-08-16 11:27:47,689: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:27:47,689: DEBUG - + local legacy_args=akv
2024-08-16 11:27:47,689: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:27:47,689: DEBUG - + local -A args_array
2024-08-16 11:27:47,689: DEBUG - + local app
2024-08-16 11:27:47,689: DEBUG - + local key
2024-08-16 11:27:47,689: DEBUG - + local value
2024-08-16 11:27:47,689: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_jellyfin_logging.json --value=727e97de4a7ed0ee24ce536155548d59
2024-08-16 11:27:47,689: DEBUG - + set +o xtrace
2024-08-16 11:27:47,726: DEBUG - + app=jellyfin
2024-08-16 11:27:47,726: DEBUG - + [[ checksum__etc_jellyfin_logging.json =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:47,726: DEBUG - + ynh_app_setting set jellyfin checksum__etc_jellyfin_logging.json 727e97de4a7ed0ee24ce536155548d59
2024-08-16 11:27:47,727: DEBUG - + set +o xtrace
2024-08-16 11:27:47,761: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:47,761: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:47,761: DEBUG - + unset backup_file_checksum
2024-08-16 11:27:47,761: DEBUG - + shopt -s nullglob
2024-08-16 11:27:47,761: DEBUG - + mkdir -p /var/lib/jellyfin/plugins-backup
2024-08-16 11:27:47,762: DEBUG - + '[' -d /var/lib/jellyfin/plugins ']'
2024-08-16 11:27:47,762: DEBUG - + for directory in /var/lib/jellyfin/plugins/*
2024-08-16 11:27:47,763: DEBUG - ++ basename /var/lib/jellyfin/plugins/configurations
2024-08-16 11:27:47,763: DEBUG - + name=configurations
2024-08-16 11:27:47,764: DEBUG - + [[ configurations = \c\o\n\f\i\g\u\r\a\t\i\o\n\s ]]
2024-08-16 11:27:47,764: DEBUG - + continue
2024-08-16 11:27:47,764: DEBUG - + for directory in /var/lib/jellyfin/plugins/*
2024-08-16 11:27:47,764: DEBUG - ++ basename '/var/lib/jellyfin/plugins/LDAP Authentication'
2024-08-16 11:27:47,764: DEBUG - + name='LDAP Authentication'
2024-08-16 11:27:47,765: DEBUG - + [[ LDAP Authentication = \c\o\n\f\i\g\u\r\a\t\i\o\n\s ]]
2024-08-16 11:27:47,765: DEBUG - + '[' '!' -f '/var/lib/jellyfin/plugins/LDAP Authentication/meta.json' ']'
2024-08-16 11:27:47,765: DEBUG - ++ jq -r .targetAbi '/var/lib/jellyfin/plugins/LDAP Authentication/meta.json'
2024-08-16 11:27:47,790: DEBUG - + abi=10.9.0.0
2024-08-16 11:27:47,790: DEBUG - + dpkg --compare-versions 10.9.0.0 lt 10.9.0.0
2024-08-16 11:27:47,791: DEBUG - + for directory in /var/lib/jellyfin/plugins/*
2024-08-16 11:27:47,791: DEBUG - ++ basename '/var/lib/jellyfin/plugins/Open Subtitles_20.0.0.0'
2024-08-16 11:27:47,792: DEBUG - + name='Open Subtitles_20.0.0.0'
2024-08-16 11:27:47,792: DEBUG - + [[ Open Subtitles_20.0.0.0 = \c\o\n\f\i\g\u\r\a\t\i\o\n\s ]]
2024-08-16 11:27:47,792: DEBUG - + '[' '!' -f '/var/lib/jellyfin/plugins/Open Subtitles_20.0.0.0/meta.json' ']'
2024-08-16 11:27:47,792: DEBUG - ++ jq -r .targetAbi '/var/lib/jellyfin/plugins/Open Subtitles_20.0.0.0/meta.json'
2024-08-16 11:27:47,816: DEBUG - + abi=10.9.0.0
2024-08-16 11:27:47,816: DEBUG - + dpkg --compare-versions 10.9.0.0 lt 10.9.0.0
2024-08-16 11:27:47,818: DEBUG - + ynh_script_progression '--message=Installing LDAP plugin...' --weight=2
2024-08-16 11:27:47,818: DEBUG - + set +o xtrace
2024-08-16 11:27:47,853: DEBUG - + set +o xtrace
2024-08-16 11:27:47,860: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:47,860: DEBUG - + set +x
2024-08-16 11:27:47,861: DEBUG - + echo '[##########+++.......] > Installing LDAP plugin...'
2024-08-16 11:27:47,861: DEBUG - + set -o xtrace
2024-08-16 11:27:47,861: DEBUG - + ynh_setup_source --full_replace=1 '--dest_dir=/var/lib/jellyfin/plugins/LDAP Authentication' --source_id=plugin_ldap
2024-08-16 11:27:47,861: DEBUG - + local legacy_args=dsk
2024-08-16 11:27:47,862: INFO - [##########+++.......] > Installing LDAP plugin...
2024-08-16 11:27:47,862: DEBUG - + args_array=(['d']='dest_dir=' ['s']='source_id=' ['k']='keep=' ['r']='full_replace=')
2024-08-16 11:27:47,862: DEBUG - + local -A args_array
2024-08-16 11:27:47,862: DEBUG - + local dest_dir
2024-08-16 11:27:47,862: DEBUG - + local source_id
2024-08-16 11:27:47,862: DEBUG - + local keep
2024-08-16 11:27:47,862: DEBUG - + local full_replace
2024-08-16 11:27:47,862: DEBUG - + ynh_handle_getopts_args --full_replace=1 '--dest_dir=/var/lib/jellyfin/plugins/LDAP Authentication' --source_id=plugin_ldap
2024-08-16 11:27:47,862: DEBUG - + set +o xtrace
2024-08-16 11:27:47,909: DEBUG - + keep=
2024-08-16 11:27:47,909: DEBUG - + full_replace=1
2024-08-16 11:27:47,909: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,909: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,909: DEBUG - + jq -e .resources.sources
2024-08-16 11:27:47,909: DEBUG - + toml_to_json
2024-08-16 11:27:47,910: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:47,942: DEBUG - + source_id=plugin_ldap
2024-08-16 11:27:47,943: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:47,943: DEBUG - ++ jq '.resources.sources["plugin_ldap"]'
2024-08-16 11:27:47,943: DEBUG - ++ toml_to_json
2024-08-16 11:27:47,943: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:47,974: DEBUG - + local 'sources_json={
2024-08-16 11:27:47,974: DEBUG -   "url": "https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip",
2024-08-16 11:27:47,974: DEBUG -   "sha256": "3b8366f670484c9ab1ece826667754b69736d910d9ccde90c105a67ba441ead9",
2024-08-16 11:27:47,974: DEBUG -   "in_subdir": false
2024-08-16 11:27:47,974: DEBUG - }'
2024-08-16 11:27:47,974: DEBUG - + jq -re .url
2024-08-16 11:27:47,999: DEBUG - https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip
2024-08-16 11:27:47,999: DEBUG - + local arch_prefix=
2024-08-16 11:27:47,999: DEBUG - ++ jq -r .url
2024-08-16 11:27:48,000: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,026: DEBUG - + local src_url=https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip
2024-08-16 11:27:48,026: DEBUG - ++ jq -r .sha256
2024-08-16 11:27:48,026: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,050: DEBUG - + local src_sum=3b8366f670484c9ab1ece826667754b69736d910d9ccde90c105a67ba441ead9
2024-08-16 11:27:48,051: DEBUG - + local src_sumprg=sha256sum
2024-08-16 11:27:48,051: DEBUG - ++ jq -r .format
2024-08-16 11:27:48,051: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,077: DEBUG - + local src_format=
2024-08-16 11:27:48,077: DEBUG - ++ jq -r .in_subdir
2024-08-16 11:27:48,077: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,101: DEBUG - + local src_in_subdir=false
2024-08-16 11:27:48,102: DEBUG - ++ jq -r .extract
2024-08-16 11:27:48,102: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,128: DEBUG - + local src_extract=
2024-08-16 11:27:48,128: DEBUG - ++ jq -r .platform
2024-08-16 11:27:48,128: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,152: DEBUG - + local src_platform=
2024-08-16 11:27:48,153: DEBUG - ++ jq -r .rename
2024-08-16 11:27:48,153: DEBUG - ++ sed 's/^null$//'
2024-08-16 11:27:48,178: DEBUG - + local src_rename=
2024-08-16 11:27:48,178: DEBUG - + [[ -n https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip ]]
2024-08-16 11:27:48,179: DEBUG - + [[ -n 3b8366f670484c9ab1ece826667754b69736d910d9ccde90c105a67ba441ead9 ]]
2024-08-16 11:27:48,179: DEBUG - + [[ -z '' ]]
2024-08-16 11:27:48,179: DEBUG - + [[ https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip =~ ^.*\.zip$ ]]
2024-08-16 11:27:48,179: DEBUG - + src_format=zip
2024-08-16 11:27:48,179: DEBUG - + src_sumprg=sha256sum
2024-08-16 11:27:48,179: DEBUG - + src_in_subdir=false
2024-08-16 11:27:48,179: DEBUG - + src_format=zip
2024-08-16 11:27:48,179: DEBUG - ++ echo zip
2024-08-16 11:27:48,179: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2024-08-16 11:27:48,180: DEBUG - + src_format=zip
2024-08-16 11:27:48,180: DEBUG - + src_extract=true
2024-08-16 11:27:48,180: DEBUG - + [[ true != \t\r\u\e ]]
2024-08-16 11:27:48,180: DEBUG - + local local_src=/opt/yunohost-apps-src/jellyfin/plugin_ldap
2024-08-16 11:27:48,181: DEBUG - ++ dirname /var/cache/yunohost/download/jellyfin/plugin_ldap
2024-08-16 11:27:48,181: DEBUG - + mkdir -p /var/cache/yunohost/download/jellyfin
2024-08-16 11:27:48,182: DEBUG - + src_filename=/var/cache/yunohost/download/jellyfin/plugin_ldap
2024-08-16 11:27:48,182: DEBUG - + '[' zip = docker ']'
2024-08-16 11:27:48,183: DEBUG - + test -e /opt/yunohost-apps-src/jellyfin/plugin_ldap
2024-08-16 11:27:48,183: DEBUG - + '[' -n https://repo.jellyfin.org/files/plugin/ldap-authentication/ldap-authentication_19.0.0.0.zip ']'
2024-08-16 11:27:48,183: DEBUG - + '[' -e /var/cache/yunohost/download/jellyfin/plugin_ldap ']'
2024-08-16 11:27:48,183: DEBUG - + echo '3b8366f670484c9ab1ece826667754b69736d910d9ccde90c105a67ba441ead9 /var/cache/yunohost/download/jellyfin/plugin_ldap'
2024-08-16 11:27:48,183: DEBUG - + sha256sum --check --status
2024-08-16 11:27:48,186: DEBUG - + '[' '!' -e /var/cache/yunohost/download/jellyfin/plugin_ldap ']'
2024-08-16 11:27:48,186: DEBUG - + echo '3b8366f670484c9ab1ece826667754b69736d910d9ccde90c105a67ba441ead9 /var/cache/yunohost/download/jellyfin/plugin_ldap'
2024-08-16 11:27:48,186: DEBUG - + sha256sum --check --status
2024-08-16 11:27:48,189: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:48,191: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:48,191: DEBUG - + '[' 1 -eq 1 ']'
2024-08-16 11:27:48,191: DEBUG - + ynh_secure_remove '--file=/var/lib/jellyfin/plugins/LDAP Authentication'
2024-08-16 11:27:48,191: DEBUG - + local legacy_args=f
2024-08-16 11:27:48,191: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:48,191: DEBUG - + local -A args_array
2024-08-16 11:27:48,191: DEBUG - + local file
2024-08-16 11:27:48,191: DEBUG - + ynh_handle_getopts_args '--file=/var/lib/jellyfin/plugins/LDAP Authentication'
2024-08-16 11:27:48,191: DEBUG - + set +o xtrace
2024-08-16 11:27:48,199: DEBUG - + set +o xtrace
2024-08-16 11:27:48,206: DEBUG - + mkdir --parents '/var/lib/jellyfin/plugins/LDAP Authentication'
2024-08-16 11:27:48,207: DEBUG - + '[' -n /var/lib/jellyfin ']'
2024-08-16 11:27:48,207: DEBUG - + '[' '/var/lib/jellyfin/plugins/LDAP Authentication' == /var/lib/jellyfin ']'
2024-08-16 11:27:48,207: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:48,207: DEBUG - + [[ true == \f\a\l\s\e ]]
2024-08-16 11:27:48,207: DEBUG - + [[ zip == \d\o\c\k\e\r ]]
2024-08-16 11:27:48,207: DEBUG - + [[ zip == \z\i\p ]]
2024-08-16 11:27:48,208: DEBUG - + false
2024-08-16 11:27:48,208: DEBUG - + unzip -quo /var/cache/yunohost/download/jellyfin/plugin_ldap -d '/var/lib/jellyfin/plugins/LDAP Authentication'
2024-08-16 11:27:48,212: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/jellyfin/plugin_ldap
2024-08-16 11:27:48,212: DEBUG - + local legacy_args=f
2024-08-16 11:27:48,212: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:48,212: DEBUG - + local -A args_array
2024-08-16 11:27:48,212: DEBUG - + local file
2024-08-16 11:27:48,212: DEBUG - + ynh_handle_getopts_args --file=/var/cache/yunohost/download/jellyfin/plugin_ldap
2024-08-16 11:27:48,212: DEBUG - + set +o xtrace
2024-08-16 11:27:48,220: DEBUG - + set +o xtrace
2024-08-16 11:27:48,230: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/patches/ ']'
2024-08-16 11:27:48,230: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/sources/extra_files/plugin_ldap
2024-08-16 11:27:48,230: DEBUG - + '[' -n '' ']'
2024-08-16 11:27:48,230: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2024-08-16 11:27:48,231: DEBUG - + mkdir -p /var/lib/jellyfin/plugins/configurations/
2024-08-16 11:27:48,233: DEBUG - + ynh_add_config --template=LDAP-Auth.xml --destination=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,233: DEBUG - + local legacy_args=tdj
2024-08-16 11:27:48,233: DEBUG - + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja')
2024-08-16 11:27:48,233: DEBUG - + local -A args_array
2024-08-16 11:27:48,233: DEBUG - + local template
2024-08-16 11:27:48,233: DEBUG - + local destination
2024-08-16 11:27:48,233: DEBUG - + local jinja
2024-08-16 11:27:48,233: DEBUG - + ynh_handle_getopts_args --template=LDAP-Auth.xml --destination=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,233: DEBUG - + set +o xtrace
2024-08-16 11:27:48,265: DEBUG - + local template_path
2024-08-16 11:27:48,265: DEBUG - + jinja=0
2024-08-16 11:27:48,265: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/LDAP-Auth.xml ']'
2024-08-16 11:27:48,265: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/LDAP-Auth.xml
2024-08-16 11:27:48,265: DEBUG - + ynh_backup_if_checksum_is_different --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,266: DEBUG - + local legacy_args=f
2024-08-16 11:27:48,266: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:48,266: DEBUG - + local -A args_array
2024-08-16 11:27:48,266: DEBUG - + local file
2024-08-16 11:27:48,266: DEBUG - + ynh_handle_getopts_args --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,266: DEBUG - + set +o xtrace
2024-08-16 11:27:48,272: DEBUG - + local checksum_setting_name=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml
2024-08-16 11:27:48,272: DEBUG - ++ ynh_app_setting_get --app=jellyfin --key=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml
2024-08-16 11:27:48,272: DEBUG - ++ local _globalapp=jellyfin
2024-08-16 11:27:48,272: DEBUG - ++ local legacy_args=ak
2024-08-16 11:27:48,272: DEBUG - ++ args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:27:48,272: DEBUG - ++ local -A args_array
2024-08-16 11:27:48,273: DEBUG - ++ local app
2024-08-16 11:27:48,273: DEBUG - ++ local key
2024-08-16 11:27:48,273: DEBUG - ++ ynh_handle_getopts_args --app=jellyfin --key=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml
2024-08-16 11:27:48,273: DEBUG - ++ set +o xtrace
2024-08-16 11:27:48,295: DEBUG - ++ app=jellyfin
2024-08-16 11:27:48,296: DEBUG - ++ [[ checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:48,296: DEBUG - ++ ynh_app_setting get jellyfin checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml
2024-08-16 11:27:48,296: DEBUG - ++ set +o xtrace
2024-08-16 11:27:48,329: DEBUG - + local checksum_value=73c8404742bed6b6014d3ad89b151d8f
2024-08-16 11:27:48,329: DEBUG - + backup_file_checksum=
2024-08-16 11:27:48,329: DEBUG - + '[' -n 73c8404742bed6b6014d3ad89b151d8f ']'
2024-08-16 11:27:48,330: DEBUG - + '[' -e /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml ']'
2024-08-16 11:27:48,330: DEBUG - + md5sum --check --status
2024-08-16 11:27:48,330: DEBUG - + echo '73c8404742bed6b6014d3ad89b151d8f /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml'
2024-08-16 11:27:48,331: DEBUG - ++ date +%Y%m%d.%H%M%S
2024-08-16 11:27:48,332: DEBUG - + backup_file_checksum=/var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,332: DEBUG - ++ dirname /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,333: DEBUG - + mkdir --parents /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations
2024-08-16 11:27:48,334: DEBUG - + cp --archive /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,336: DEBUG - + ynh_print_warn 'File /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748'
2024-08-16 11:27:48,336: DEBUG - + local legacy_args=m
2024-08-16 11:27:48,336: DEBUG - + args_array=(['m']='message=')
2024-08-16 11:27:48,336: DEBUG - + local -A args_array
2024-08-16 11:27:48,337: DEBUG - + local message
2024-08-16 11:27:48,337: DEBUG - + ynh_handle_getopts_args 'File /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748'
2024-08-16 11:27:48,337: DEBUG - + set +o xtrace
2024-08-16 11:27:48,343: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:48,343: DEBUG - + set +x
2024-08-16 11:27:48,344: DEBUG - + ynh_print_log 'File /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748'
2024-08-16 11:27:48,345: WARNING - File /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,345: DEBUG - + echo -e 'File /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml has been manually modified since the installation or last upgrade. So it has been duplicated in /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748'
2024-08-16 11:27:48,345: DEBUG - + echo /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,346: DEBUG - /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748
2024-08-16 11:27:48,346: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:48,346: DEBUG - + touch /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,346: DEBUG - + chmod 640 /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,346: DEBUG - + _ynh_apply_default_permissions /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,346: DEBUG - + local target=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,347: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-08-16 11:27:48,347: DEBUG - ++ tr -d '<>= '
2024-08-16 11:27:48,347: DEBUG - ++ local legacy_args=mk
2024-08-16 11:27:48,347: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:27:48,347: DEBUG - ++ local -A args_array
2024-08-16 11:27:48,348: DEBUG - ++ local manifest
2024-08-16 11:27:48,348: DEBUG - ++ local manifest_key
2024-08-16 11:27:48,348: DEBUG - ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
2024-08-16 11:27:48,348: DEBUG - ++ set +o xtrace
2024-08-16 11:27:48,361: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:27:48,361: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:27:48,361: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:27:48,361: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:48,362: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:48,362: DEBUG - ++ grep -q '\.json$'
2024-08-16 11:27:48,363: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:27:48,363: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:27:48,363: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-08-16 11:27:48,393: DEBUG - + local ynh_requirement=null
2024-08-16 11:27:48,393: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-08-16 11:27:48,395: DEBUG - + chmod o-rwx /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,395: DEBUG - + chmod g-w /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,396: DEBUG - + chown -R root:root /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,397: DEBUG - + ynh_system_user_exists jellyfin
2024-08-16 11:27:48,397: DEBUG - + local legacy_args=u
2024-08-16 11:27:48,397: DEBUG - + args_array=(['u']='username=')
2024-08-16 11:27:48,397: DEBUG - + local -A args_array
2024-08-16 11:27:48,397: DEBUG - + local username
2024-08-16 11:27:48,397: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:27:48,397: DEBUG - + set +o xtrace
2024-08-16 11:27:48,402: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:48,402: DEBUG - + set +x
2024-08-16 11:27:48,403: DEBUG - + getent passwd jellyfin
2024-08-16 11:27:48,405: DEBUG - + chown jellyfin:jellyfin /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,405: DEBUG - + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)'
2024-08-16 11:27:48,406: DEBUG - + [[ 0 == 1 ]]
2024-08-16 11:27:48,407: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/LDAP-Auth.xml /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,408: DEBUG - + ynh_replace_vars --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,408: DEBUG - + local legacy_args=f
2024-08-16 11:27:48,408: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:27:48,408: DEBUG - + local -A args_array
2024-08-16 11:27:48,408: DEBUG - + local file
2024-08-16 11:27:48,408: DEBUG - + ynh_handle_getopts_args --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,408: DEBUG - + set +o xtrace
2024-08-16 11:27:48,414: DEBUG - + test -n /media
2024-08-16 11:27:48,414: DEBUG - + local path_url_slash_less=/media
2024-08-16 11:27:48,414: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/media/ --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,414: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:48,414: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:48,414: DEBUG - + local -A args_array
2024-08-16 11:27:48,415: DEBUG - + local match_string
2024-08-16 11:27:48,415: DEBUG - + local replace_string
2024-08-16 11:27:48,415: DEBUG - + local target_file
2024-08-16 11:27:48,415: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/media/ --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,415: DEBUG - + set +o xtrace
2024-08-16 11:27:48,455: DEBUG - + set +o xtrace
2024-08-16 11:27:48,455: DEBUG - + sed --in-place $'s\001__PATH__/\001/media/\001g' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,457: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/media --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,457: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:48,457: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:48,457: DEBUG - + local -A args_array
2024-08-16 11:27:48,457: DEBUG - + local match_string
2024-08-16 11:27:48,457: DEBUG - + local replace_string
2024-08-16 11:27:48,457: DEBUG - + local target_file
2024-08-16 11:27:48,457: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/media --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,457: DEBUG - + set +o xtrace
2024-08-16 11:27:48,495: DEBUG - + set +o xtrace
2024-08-16 11:27:48,495: DEBUG - + sed --in-place $'s\001__PATH__\001/media\001g' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,496: DEBUG - + test -n jellyfin
2024-08-16 11:27:48,496: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,496: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:48,496: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:48,496: DEBUG - + local -A args_array
2024-08-16 11:27:48,496: DEBUG - + local match_string
2024-08-16 11:27:48,496: DEBUG - + local replace_string
2024-08-16 11:27:48,496: DEBUG - + local target_file
2024-08-16 11:27:48,496: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,497: DEBUG - + set +o xtrace
2024-08-16 11:27:48,533: DEBUG - + set +o xtrace
2024-08-16 11:27:48,533: DEBUG - + sed --in-place $'s\001__NAME__\001jellyfin\001g' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,534: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,535: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:48,535: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:48,535: DEBUG - + local -A args_array
2024-08-16 11:27:48,535: DEBUG - + local match_string
2024-08-16 11:27:48,535: DEBUG - + local replace_string
2024-08-16 11:27:48,535: DEBUG - + local target_file
2024-08-16 11:27:48,535: DEBUG - + ynh_handle_getopts_args --match_string=__NAMETOCHANGE__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,535: DEBUG - + set +o xtrace
2024-08-16 11:27:48,571: DEBUG - + set +o xtrace
2024-08-16 11:27:48,571: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001jellyfin\001g' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,573: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,573: DEBUG - + local legacy_args=mrf
2024-08-16 11:27:48,573: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:27:48,573: DEBUG - + local -A args_array
2024-08-16 11:27:48,573: DEBUG - + local match_string
2024-08-16 11:27:48,573: DEBUG - + local replace_string
2024-08-16 11:27:48,573: DEBUG - + local target_file
2024-08-16 11:27:48,573: DEBUG - + ynh_handle_getopts_args --match_string=__USER__ --replace_string=jellyfin --target_file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,573: DEBUG - + set +o xtrace
2024-08-16 11:27:48,609: DEBUG - + set +o xtrace
2024-08-16 11:27:48,609: DEBUG - + sed --in-place $'s\001__USER__\001jellyfin\001g' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,610: DEBUG - + test -n ''
2024-08-16 11:27:48,610: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-08-16 11:27:48,611: DEBUG - + test -n ''
2024-08-16 11:27:48,612: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,612: DEBUG - ++ sort --unique
2024-08-16 11:27:48,612: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2024-08-16 11:27:48,614: DEBUG - + uniques_vars=()
2024-08-16 11:27:48,615: DEBUG - + local uniques_vars
2024-08-16 11:27:48,615: DEBUG - + set +o xtrace
2024-08-16 11:27:48,615: DEBUG - + ynh_store_file_checksum --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,615: DEBUG - + local legacy_args=f
2024-08-16 11:27:48,615: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:27:48,615: DEBUG - + local -A args_array
2024-08-16 11:27:48,615: DEBUG - + local file
2024-08-16 11:27:48,615: DEBUG - + local update_only
2024-08-16 11:27:48,615: DEBUG - + update_only=0
2024-08-16 11:27:48,615: DEBUG - + ynh_handle_getopts_args --file=/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,615: DEBUG - + set +o xtrace
2024-08-16 11:27:48,628: DEBUG - + local checksum_setting_name=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml
2024-08-16 11:27:48,628: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:48,629: DEBUG - ++ md5sum /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,629: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:27:48,631: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml --value=73c8404742bed6b6014d3ad89b151d8f
2024-08-16 11:27:48,631: DEBUG - + local _globalapp=jellyfin
2024-08-16 11:27:48,631: DEBUG - + local legacy_args=akv
2024-08-16 11:27:48,631: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:27:48,631: DEBUG - + local -A args_array
2024-08-16 11:27:48,631: DEBUG - + local app
2024-08-16 11:27:48,631: DEBUG - + local key
2024-08-16 11:27:48,631: DEBUG - + local value
2024-08-16 11:27:48,631: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml --value=73c8404742bed6b6014d3ad89b151d8f
2024-08-16 11:27:48,631: DEBUG - + set +o xtrace
2024-08-16 11:27:48,673: DEBUG - + app=jellyfin
2024-08-16 11:27:48,673: DEBUG - + [[ checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml =~ (unprotected|protected|skipped)_ ]]
2024-08-16 11:27:48,673: DEBUG - + ynh_app_setting set jellyfin checksum__var_lib_jellyfin_plugins_configurations_LDAP-Auth.xml 73c8404742bed6b6014d3ad89b151d8f
2024-08-16 11:27:48,673: DEBUG - + set +o xtrace
2024-08-16 11:27:48,709: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:27:48,709: DEBUG - + '[' -n /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748 ']'
2024-08-16 11:27:48,709: DEBUG - + diff --report-identical-files --unified --color=always /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748 /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml
2024-08-16 11:27:48,712: WARNING - --- /var/cache/yunohost/appconfbackup//var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.backup.20240816.112748  2024-08-08 21:48:22.006976512 +0200
2024-08-16 11:27:48,713: WARNING - +++ /var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml   2024-08-16 11:27:48.606130074 +0200
2024-08-16 11:27:48,713: WARNING - @@ -1,137 +1,5 @@
2024-08-16 11:27:48,713: WARNING -  
2024-08-16 11:27:48,714: WARNING -  
2024-08-16 11:27:48,714: WARNING - -  
2024-08-16 11:27:48,714: WARNING - -    
2024-08-16 11:27:48,714: WARNING - -      6e6275f4-f5ae-4e13-b43a-c4dc74d8d960
2024-08-16 11:27:48,715: WARNING - -      REDACTED
2024-08-16 11:27:48,715: WARNING - -      
2024-08-16 11:27:48,715: WARNING - -    
2024-08-16 11:27:48,715: WARNING - -    
2024-08-16 11:27:48,715: WARNING - -      62af4f98-0ad5-4b95-b779-6b8814f66216
2024-08-16 11:27:48,716: WARNING - -      REDACTED
2024-08-16 11:27:48,716: WARNING - -      
2024-08-16 11:27:48,716: WARNING - -    
2024-08-16 11:27:48,716: WARNING - -    
2024-08-16 11:27:48,716: WARNING - -      b0164621-2397-433d-b119-2b6f255621de
2024-08-16 11:27:48,717: WARNING - -      REDACTED
2024-08-16 11:27:48,717: WARNING - -      
2024-08-16 11:27:48,717: WARNING - -    
2024-08-16 11:27:48,717: WARNING - -    
2024-08-16 11:27:48,717: WARNING - -      cdba3b81-8358-4a52-963d-944cf58c333a
2024-08-16 11:27:48,717: WARNING - -      REDACTED
2024-08-16 11:27:48,718: WARNING - -      
2024-08-16 11:27:48,718: WARNING - -    
2024-08-16 11:27:48,718: WARNING - -    
2024-08-16 11:27:48,718: WARNING - -      36a1fdc6-78da-4836-8cbc-db9220050673
2024-08-16 11:27:48,718: WARNING - -      REDACTED
2024-08-16 11:27:48,718: WARNING - -      
2024-08-16 11:27:48,719: WARNING - -    
2024-08-16 11:27:48,719: WARNING - -    
2024-08-16 11:27:48,719: WARNING - -      59e4e57c-b148-4832-96dc-5df14f175642
2024-08-16 11:27:48,719: WARNING - -      REDACTED
2024-08-16 11:27:48,719: WARNING - -      
2024-08-16 11:27:48,719: WARNING - -    
2024-08-16 11:27:48,720: WARNING - -    
2024-08-16 11:27:48,720: WARNING - -      728548aa-d6c6-4a33-95b7-bdfd18d0f0ad
2024-08-16 11:27:48,720: WARNING - -      REDACTED
2024-08-16 11:27:48,720: WARNING - -      
2024-08-16 11:27:48,720: WARNING - -    
2024-08-16 11:27:48,721: WARNING - -    
2024-08-16 11:27:48,721: WARNING - -      101290a4-f934-4bf5-8557-11633d54a70c
2024-08-16 11:27:48,721: WARNING - -      REDACTED
2024-08-16 11:27:48,721: WARNING - -      
2024-08-16 11:27:48,721: WARNING - -    
2024-08-16 11:27:48,721: WARNING - -    
2024-08-16 11:27:48,722: WARNING - -      041b7516-184b-4c5a-8409-445e00fb7544
2024-08-16 11:27:48,722: WARNING - -      REDACTED
2024-08-16 11:27:48,722: WARNING - -      
2024-08-16 11:27:48,722: WARNING - -    
2024-08-16 11:27:48,722: WARNING - -    
2024-08-16 11:27:48,722: WARNING - -      9ac67ecb-3cf2-4d2e-9166-e5a357269059
2024-08-16 11:27:48,723: WARNING - -      REDACTED
2024-08-16 11:27:48,723: WARNING - -      
2024-08-16 11:27:48,723: WARNING - -    
2024-08-16 11:27:48,723: WARNING - -    
2024-08-16 11:27:48,723: WARNING - -      3ea4bd77-d22b-41c4-9537-432e85c2766f
2024-08-16 11:27:48,723: WARNING - -      REDACTED
2024-08-16 11:27:48,724: WARNING - -      
2024-08-16 11:27:48,724: WARNING - -    
2024-08-16 11:27:48,724: WARNING - -    
2024-08-16 11:27:48,724: WARNING - -      35fb86ca-4ae3-4a78-9a72-7c9b75ff9ddd
2024-08-16 11:27:48,724: WARNING - -      REDACTED
2024-08-16 11:27:48,725: WARNING - -      
2024-08-16 11:27:48,725: WARNING - -    
2024-08-16 11:27:48,725: WARNING - -    
2024-08-16 11:27:48,725: WARNING - -      c17386e4-bca7-4144-aa46-e928aeb4b63f
2024-08-16 11:27:48,725: WARNING - -      REDACTED
2024-08-16 11:27:48,725: WARNING - -      
2024-08-16 11:27:48,726: WARNING - -    
2024-08-16 11:27:48,726: WARNING - -    
2024-08-16 11:27:48,726: WARNING - -      785670c4-1681-43f9-b9c7-987fed3e70d3
2024-08-16 11:27:48,726: WARNING - -      REDACTED
2024-08-16 11:27:48,726: WARNING - -      
2024-08-16 11:27:48,727: WARNING - -    
2024-08-16 11:27:48,727: WARNING - -    
2024-08-16 11:27:48,727: WARNING - -      933b20cf-38df-45b7-b348-e8777788577f
2024-08-16 11:27:48,727: WARNING - -      REDACTED
2024-08-16 11:27:48,727: WARNING - -      
2024-08-16 11:27:48,727: WARNING - -    
2024-08-16 11:27:48,728: WARNING - -    
2024-08-16 11:27:48,728: WARNING - -      222d2cec-1235-43a9-86e4-0548adf0faa7
2024-08-16 11:27:48,728: WARNING - -      REDACTED
2024-08-16 11:27:48,728: WARNING - -      
2024-08-16 11:27:48,728: DEBUG - + true
2024-08-16 11:27:48,728: DEBUG - + unset backup_file_checksum
2024-08-16 11:27:48,728: DEBUG - + chown -R jellyfin: /var/lib/jellyfin
2024-08-16 11:27:48,729: WARNING - -    
2024-08-16 11:27:48,729: WARNING - -    
2024-08-16 11:27:48,729: WARNING - -      df04333b-6ed3-49b1-bff6-9a868073ab8b
2024-08-16 11:27:48,729: WARNING - -      REDACTED
2024-08-16 11:27:48,729: WARNING - -      
2024-08-16 11:27:48,730: WARNING - -    
2024-08-16 11:27:48,730: WARNING - -    
2024-08-16 11:27:48,730: WARNING - -      3861ed1c-2482-4e5f-80c5-ea5f4b70d19c
2024-08-16 11:27:48,730: WARNING - -      REDACTED
2024-08-16 11:27:48,730: WARNING - -      
2024-08-16 11:27:48,730: WARNING - -    
2024-08-16 11:27:48,731: WARNING - -    
2024-08-16 11:27:48,731: WARNING - -      263cfb92-10de-488f-a857-107a08fb9bd4
2024-08-16 11:27:48,731: WARNING - -      REDACTED
2024-08-16 11:27:48,731: WARNING - -      
2024-08-16 11:27:48,731: WARNING - -    
2024-08-16 11:27:48,732: WARNING - -    
2024-08-16 11:27:48,732: WARNING - -      41032ae8-c07f-4dc1-b190-05930edf1d0a
2024-08-16 11:27:48,732: WARNING - -      REDACTED
2024-08-16 11:27:48,732: WARNING - -      
2024-08-16 11:27:48,732: WARNING - -    
2024-08-16 11:27:48,732: WARNING - -    
2024-08-16 11:27:48,733: WARNING - -      1a8e7300-65b4-47b4-8b1c-ab92709369f8
2024-08-16 11:27:48,733: WARNING - -      REDACTED
2024-08-16 11:27:48,733: WARNING - -      
2024-08-16 11:27:48,733: WARNING - -    
2024-08-16 11:27:48,733: WARNING - -    
2024-08-16 11:27:48,733: WARNING - -      84b28f54-3591-4f26-949b-113a8c06d32f
2024-08-16 11:27:48,734: WARNING - -      REDACTED
2024-08-16 11:27:48,734: WARNING - -      
2024-08-16 11:27:48,734: WARNING - -    
2024-08-16 11:27:48,734: WARNING - -    
2024-08-16 11:27:48,734: WARNING - -      dfc2eda9-5595-4d43-b32a-cde832ae57b6
2024-08-16 11:27:48,734: WARNING - -      REDACTED
2024-08-16 11:27:48,735: WARNING - -      
2024-08-16 11:27:48,735: WARNING - -    
2024-08-16 11:27:48,735: WARNING - -    
2024-08-16 11:27:48,735: WARNING - -      b3b09a9a-890f-4765-bdda-684583e0a537
2024-08-16 11:27:48,735: WARNING - -      REDACTED
2024-08-16 11:27:48,736: WARNING - -      
2024-08-16 11:27:48,736: WARNING - -    
2024-08-16 11:27:48,736: WARNING - -    
2024-08-16 11:27:48,736: WARNING - -      28bfa088-6b18-44f8-befd-bb6f306db870
2024-08-16 11:27:48,736: WARNING - -      REDACTED
2024-08-16 11:27:48,736: WARNING - -      
2024-08-16 11:27:48,737: WARNING - -    
2024-08-16 11:27:48,737: WARNING - -    
2024-08-16 11:27:48,737: WARNING - -      f7a9ca7f-403d-47a5-8219-fd500b85fa5d
2024-08-16 11:27:48,737: WARNING - -      REDACTED
2024-08-16 11:27:48,737: WARNING - -      
2024-08-16 11:27:48,737: WARNING - -    
2024-08-16 11:27:48,738: WARNING - -  
2024-08-16 11:27:48,738: WARNING -    127.0.0.1
2024-08-16 11:27:48,738: WARNING -    389
2024-08-16 11:27:48,738: WARNING -    false
2024-08-16 11:27:48,738: WARNING - @@ -143,22 +11,16 @@
2024-08-16 11:27:48,739: WARNING -    (permission=cn=jellyfin.main,ou=permission,dc=yunohost,dc=org)
2024-08-16 11:27:48,739: WARNING -    
2024-08-16 11:27:48,739: WARNING -    (permission=cn=jellyfin.admin,ou=permission,dc=yunohost,dc=org)
2024-08-16 11:27:48,739: WARNING - -  false
2024-08-16 11:27:48,739: WARNING -    uid, mail
2024-08-16 11:27:48,739: WARNING - -  
2024-08-16 11:27:48,740: WARNING - -  
2024-08-16 11:27:48,740: WARNING - -  
2024-08-16 11:27:48,740: WARNING - +  false
2024-08-16 11:27:48,740: WARNING -    true
2024-08-16 11:27:48,740: WARNING -    false
2024-08-16 11:27:48,740: WARNING - -  uid
2024-08-16 11:27:48,741: WARNING -    uid
2024-08-16 11:27:48,741: WARNING -    userPassword
2024-08-16 11:27:48,741: WARNING - -  false
2024-08-16 11:27:48,741: WARNING - -  jpegphoto
2024-08-16 11:27:48,741: WARNING -    true
2024-08-16 11:27:48,742: WARNING -    
2024-08-16 11:27:48,742: WARNING -      db36da0754ef18efa77eabef2d57a80d
2024-08-16 11:27:48,742: WARNING -      db4c1708cbb5dd1676284a40f2950aba
2024-08-16 11:27:48,742: WARNING -    
2024-08-16 11:27:48,742: WARNING -    
2024-08-16 11:27:48,742: WARNING - -
2024-08-16 11:27:48,743: WARNING - \ Pas de fin de ligne à la fin du fichier
2024-08-16 11:27:48,743: WARNING - +
2024-08-16 11:27:48,995: DEBUG - + chown -R jellyfin: /etc/jellyfin
2024-08-16 11:27:48,996: DEBUG - + ynh_script_progression '--message=Adding multimedia directories...' --weight=2
2024-08-16 11:27:48,996: DEBUG - + set +o xtrace
2024-08-16 11:27:49,032: DEBUG - + set +o xtrace
2024-08-16 11:27:49,039: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:27:49,039: DEBUG - + set +x
2024-08-16 11:27:49,040: DEBUG - + echo '[#############+++....] > Adding multimedia directories...'
2024-08-16 11:27:49,040: INFO - [#############+++....] > Adding multimedia directories...
2024-08-16 11:27:49,040: DEBUG - + set -o xtrace
2024-08-16 11:27:49,040: DEBUG - + ynh_multimedia_build_main_dir
2024-08-16 11:27:49,040: DEBUG - + groupadd -f multimedia
2024-08-16 11:27:49,043: DEBUG - + mkdir -p /home/yunohost.multimedia
2024-08-16 11:27:49,044: DEBUG - + mkdir -p /home/yunohost.multimedia/share
2024-08-16 11:27:49,045: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Music
2024-08-16 11:27:49,045: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Picture
2024-08-16 11:27:49,046: DEBUG - + mkdir -p /home/yunohost.multimedia/share/Video
2024-08-16 11:27:49,047: DEBUG - + mkdir -p /home/yunohost.multimedia/share/eBook
2024-08-16 11:27:49,049: DEBUG - ++ yunohost user list --output-as json

REDACTED USER LIST

024-08-16 11:27:51,780: DEBUG - + setfacl -RnL -m g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
2024-08-16 11:28:02,951: DEBUG - + setfacl -RnL -m d:g:multimedia:rwX,g::rwX,o:r-X /home/yunohost.multimedia
2024-08-16 11:28:15,252: DEBUG - + setfacl -RL -m m::rwx /home/yunohost.multimedia
2024-08-16 11:28:25,322: DEBUG - + ynh_multimedia_addaccess jellyfin
2024-08-16 11:28:25,322: DEBUG - + local legacy_args=u
2024-08-16 11:28:25,322: DEBUG - + args_array=(['u']='user_name=')
2024-08-16 11:28:25,322: DEBUG - + declare -Ar args_array
2024-08-16 11:28:25,322: DEBUG - + local user_name
2024-08-16 11:28:25,322: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:28:25,323: DEBUG - + set +o xtrace
2024-08-16 11:28:25,331: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:25,331: DEBUG - + set +x
2024-08-16 11:28:25,333: DEBUG - + groupadd -f multimedia
2024-08-16 11:28:25,335: DEBUG - + usermod -a -G multimedia jellyfin
2024-08-16 11:28:25,345: DEBUG - + ynh_script_progression '--message=Upgrading system configurations related to jellyfin...' --weight=1
2024-08-16 11:28:25,345: DEBUG - + set +o xtrace
2024-08-16 11:28:25,404: DEBUG - + set +o xtrace
2024-08-16 11:28:25,420: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:25,420: DEBUG - + set +x
2024-08-16 11:28:25,422: DEBUG - + echo '[################+...] > Upgrading system configurations related to jellyfin...'
2024-08-16 11:28:25,422: DEBUG - + set -o xtrace
2024-08-16 11:28:25,423: INFO - [################+...] > Upgrading system configurations related to jellyfin...
2024-08-16 11:28:25,423: DEBUG - + ynh_add_nginx_config
2024-08-16 11:28:25,423: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,424: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,424: DEBUG - + local legacy_args=tdj
2024-08-16 11:28:25,424: DEBUG - + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja')
2024-08-16 11:28:25,424: DEBUG - + local -A args_array
2024-08-16 11:28:25,424: DEBUG - + local template
2024-08-16 11:28:25,425: DEBUG - + local destination
2024-08-16 11:28:25,425: DEBUG - + local jinja
2024-08-16 11:28:25,425: DEBUG - + ynh_handle_getopts_args --template=nginx.conf --destination=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,425: DEBUG - + set +o xtrace
2024-08-16 11:28:25,466: DEBUG - + local template_path
2024-08-16 11:28:25,466: DEBUG - + jinja=0
2024-08-16 11:28:25,466: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/nginx.conf ']'
2024-08-16 11:28:25,467: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/nginx.conf
2024-08-16 11:28:25,467: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,467: DEBUG - + local legacy_args=f
2024-08-16 11:28:25,467: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:28:25,467: DEBUG - + local -A args_array
2024-08-16 11:28:25,467: DEBUG - + local file
2024-08-16 11:28:25,467: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,467: DEBUG - + set +o xtrace
2024-08-16 11:28:25,476: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,476: DEBUG - ++ ynh_app_setting_get --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,476: DEBUG - ++ local globalapp=jellyfin
2024-08-16 11:28:25,477: DEBUG - ++ local legacy_args=ak
2024-08-16 11:28:25,477: DEBUG - ++ args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:28:25,477: DEBUG - ++ local -A args_array
2024-08-16 11:28:25,477: DEBUG - ++ local app
2024-08-16 11:28:25,477: DEBUG - ++ local key
2024-08-16 11:28:25,477: DEBUG - ++ ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,477: DEBUG - ++ set +o xtrace
2024-08-16 11:28:25,503: DEBUG - ++ app=jellyfin
2024-08-16 11:28:25,503: DEBUG - ++ [[ checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf =~ (unprotected|protected|skipped)
]]
2024-08-16 11:28:25,503: DEBUG - ++ ynh_app_setting get jellyfin checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,503: DEBUG - ++ set +o xtrace
2024-08-16 11:28:25,537: DEBUG - + local checksum_value=c3cd52136767c7db133fe0d98529643a
2024-08-16 11:28:25,538: DEBUG - + backup_file_checksum=
2024-08-16 11:28:25,538: DEBUG - + '[' -n c3cd52136767c7db133fe0d98529643a ']'
2024-08-16 11:28:25,538: DEBUG - + '[' -e /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf ']'
2024-08-16 11:28:25,538: DEBUG - + echo 'c3cd52136767c7db133fe0d98529643a /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf'
2024-08-16 11:28:25,538: DEBUG - + md5sum --check --status
2024-08-16 11:28:25,539: DEBUG - + touch /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,540: DEBUG - + chmod 640 /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,541: DEBUG - + ynh_apply_default_permissions /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,541: DEBUG - + local target=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,542: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-08-16 11:28:25,542: DEBUG - ++ tr -d '<>= '
2024-08-16 11:28:25,542: DEBUG - ++ local legacy_args=mk
2024-08-16 11:28:25,542: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:28:25,542: DEBUG - ++ local -A args_array
2024-08-16 11:28:25,542: DEBUG - ++ local manifest
2024-08-16 11:28:25,542: DEBUG - ++ local manifest_key
2024-08-16 11:28:25,543: DEBUG - ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
2024-08-16 11:28:25,543: DEBUG - ++ set +o xtrace
2024-08-16 11:28:25,557: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:28:25,557: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:28:25,558: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:28:25,558: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:25,558: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:25,558: DEBUG - ++ grep -q '.json$'
2024-08-16 11:28:25,560: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:25,560: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-08-16 11:28:25,560: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:28:25,594: DEBUG - + local ynh_requirement=null
2024-08-16 11:28:25,594: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-08-16 11:28:25,595: DEBUG - + chmod o-rwx /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,596: DEBUG - + chmod g-w /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,597: DEBUG - + chown -R root:root /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,600: DEBUG - + ynh_system_user_exists jellyfin
2024-08-16 11:28:25,600: DEBUG - + local legacy_args=u
2024-08-16 11:28:25,600: DEBUG - + args_array=(['u']='username=')
2024-08-16 11:28:25,600: DEBUG - + local -A args_array
2024-08-16 11:28:25,600: DEBUG - + local username
2024-08-16 11:28:25,600: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:28:25,600: DEBUG - + set +o xtrace
2024-08-16 11:28:25,607: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:25,607: DEBUG - + set +x
2024-08-16 11:28:25,608: DEBUG - + getent passwd jellyfin
2024-08-16 11:28:25,610: DEBUG - + chown jellyfin:jellyfin /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,614: DEBUG - + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)'
2024-08-16 11:28:25,616: DEBUG - + chmod 400 /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,617: DEBUG - + chown root:root /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,618: DEBUG - + [[ 0 == 1 ]]
2024-08-16 11:28:25,618: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/nginx.conf /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,619: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,619: DEBUG - + local legacy_args=f
2024-08-16 11:28:25,619: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:28:25,619: DEBUG - + local -A args_array
2024-08-16 11:28:25,619: DEBUG - + local file
2024-08-16 11:28:25,619: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,619: DEBUG - + set +o xtrace
2024-08-16 11:28:25,626: DEBUG - + test -n /media
2024-08-16 11:28:25,626: DEBUG - + local path_url_slash_less=/media
2024-08-16 11:28:25,626: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/media/ --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,626: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,626: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,626: DEBUG - + local -A args_array
2024-08-16 11:28:25,626: DEBUG - + local match_string
2024-08-16 11:28:25,626: DEBUG - + local replace_string
2024-08-16 11:28:25,626: DEBUG - + local target_file
2024-08-16 11:28:25,626: DEBUG - + ynh_handle_getopts_args --match_string=PATH/ --replace_string=/media/ --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,626: DEBUG - + set +o xtrace
2024-08-16 11:28:25,678: DEBUG - + set +o xtrace
2024-08-16 11:28:25,678: DEBUG - + sed --in-place $'s\001__PATH
_/\001/media/\001g' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,679: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/media --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,680: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,680: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,680: DEBUG - + local -A args_array
2024-08-16 11:28:25,680: DEBUG - + local match_string
2024-08-16 11:28:25,680: DEBUG - + local replace_string
2024-08-16 11:28:25,680: DEBUG - + local target_file
2024-08-16 11:28:25,680: DEBUG - + ynh_handle_getopts_args --match_string=PATH --replace_string=/media --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,680: DEBUG - + set +o xtrace
2024-08-16 11:28:25,723: DEBUG - + set +o xtrace
2024-08-16 11:28:25,723: DEBUG - + sed --in-place $'s\001__PATH__\001/media\001g' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,724: DEBUG - + test -n jellyfin
2024-08-16 11:28:25,724: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,724: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,724: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,725: DEBUG - + local -A args_array
2024-08-16 11:28:25,725: DEBUG - + local match_string
2024-08-16 11:28:25,725: DEBUG - + local replace_string
2024-08-16 11:28:25,725: DEBUG - + local target_file
2024-08-16 11:28:25,725: DEBUG - + ynh_handle_getopts_args --match_string=NAME --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,725: DEBUG - + set +o xtrace
2024-08-16 11:28:25,760: DEBUG - + set +o xtrace
2024-08-16 11:28:25,761: DEBUG - + sed --in-place $'s\001__NAME__\001jellyfin\001g' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,762: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,762: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,762: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,762: DEBUG - + local -A args_array
2024-08-16 11:28:25,762: DEBUG - + local match_string
2024-08-16 11:28:25,762: DEBUG - + local replace_string
2024-08-16 11:28:25,762: DEBUG - + local target_file
2024-08-16 11:28:25,762: DEBUG - + ynh_handle_getopts_args --match_string=NAMETOCHANGE --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,762: DEBUG - + set +o xtrace
2024-08-16 11:28:25,799: DEBUG - + set +o xtrace
2024-08-16 11:28:25,800: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001jellyfin\001g' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,801: DEBUG - + ynh_replace_string --match_string=USER --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,801: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,801: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,801: DEBUG - + local -A args_array
2024-08-16 11:28:25,801: DEBUG - + local match_string
2024-08-16 11:28:25,801: DEBUG - + local replace_string
2024-08-16 11:28:25,801: DEBUG - + local target_file
2024-08-16 11:28:25,801: DEBUG - + ynh_handle_getopts_args --match_string=USER --replace_string=jellyfin --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,801: DEBUG - + set +o xtrace
2024-08-16 11:28:25,838: DEBUG - + set +o xtrace
2024-08-16 11:28:25,838: DEBUG - + sed --in-place $'s\001__USER__\001jellyfin\001g' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,839: DEBUG - + test -n ''
2024-08-16 11:28:25,839: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-08-16 11:28:25,841: DEBUG - + test -n ''
2024-08-16 11:28:25,841: DEBUG - ++ grep -oP '[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,841: DEBUG - ++ sort --unique
2024-08-16 11:28:25,841: DEBUG - ++ sed 's@([^.]*)@\L\1@g'
2024-08-16 11:28:25,843: DEBUG - + uniques_vars=('port')
2024-08-16 11:28:25,843: DEBUG - + local uniques_vars
2024-08-16 11:28:25,843: DEBUG - + set +o xtrace
2024-08-16 11:28:25,844: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,844: DEBUG - + local legacy_args=f
2024-08-16 11:28:25,845: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:28:25,845: DEBUG - + local -A args_array
2024-08-16 11:28:25,845: DEBUG - + local file
2024-08-16 11:28:25,845: DEBUG - + local update_only
2024-08-16 11:28:25,845: DEBUG - + update_only=0
2024-08-16 11:28:25,845: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,845: DEBUG - + set +o xtrace
2024-08-16 11:28:25,854: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,855: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:25,855: DEBUG - ++ md5sum /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,855: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:28:25,856: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf --value=6984f61f30e957f9c0e73fea107821f7
2024-08-16 11:28:25,856: DEBUG - + local globalapp=jellyfin
2024-08-16 11:28:25,856: DEBUG - + local legacy_args=akv
2024-08-16 11:28:25,856: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:28:25,857: DEBUG - + local -A args_array
2024-08-16 11:28:25,857: DEBUG - + local app
2024-08-16 11:28:25,857: DEBUG - + local key
2024-08-16 11:28:25,857: DEBUG - + local value
2024-08-16 11:28:25,857: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf --value=6984f61f30e957f9c0e73fea107821f7
2024-08-16 11:28:25,857: DEBUG - + set +o xtrace
2024-08-16 11:28:25,897: DEBUG - + app=jellyfin
2024-08-16 11:28:25,897: DEBUG - + [[ checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf =~ (unprotected|protected|skipped)
]]
2024-08-16 11:28:25,897: DEBUG - + ynh_app_setting set jellyfin checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf 6984f61f30e957f9c0e73fea107821f7
2024-08-16 11:28:25,897: DEBUG - + set +o xtrace
2024-08-16 11:28:25,932: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:25,932: DEBUG - + '[' -n '' ']'
2024-08-16 11:28:25,932: DEBUG - + unset backup_file_checksum
2024-08-16 11:28:25,933: DEBUG - + '[' /media '!=' / ']'
2024-08-16 11:28:25,933: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,933: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:25,933: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:25,933: DEBUG - + local -A args_array
2024-08-16 11:28:25,933: DEBUG - + local match_string
2024-08-16 11:28:25,933: DEBUG - + local replace_string
2024-08-16 11:28:25,933: DEBUG - + local target_file
2024-08-16 11:28:25,933: DEBUG - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,933: DEBUG - + set +o xtrace
2024-08-16 11:28:25,972: DEBUG - + set +o xtrace
2024-08-16 11:28:25,972: DEBUG - + sed --in-place 's^#sub_path_onlyg' /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,974: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,974: DEBUG - + local legacy_args=f
2024-08-16 11:28:25,974: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:28:25,974: DEBUG - + local -A args_array
2024-08-16 11:28:25,974: DEBUG - + local file
2024-08-16 11:28:25,974: DEBUG - + local update_only
2024-08-16 11:28:25,974: DEBUG - + update_only=0
2024-08-16 11:28:25,974: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,974: DEBUG - + set +o xtrace
2024-08-16 11:28:25,984: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf
2024-08-16 11:28:25,984: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:25,984: DEBUG - ++ md5sum /etc/nginx/conf.d/kl.netlib.re.d/jellyfin.conf
2024-08-16 11:28:25,984: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:28:25,985: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf --value=68109dd8fd57b2d4b240a1bffea649d9
2024-08-16 11:28:25,985: DEBUG - + local globalapp=jellyfin
2024-08-16 11:28:25,985: DEBUG - + local legacy_args=akv
2024-08-16 11:28:25,985: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:28:25,986: DEBUG - + local -A args_array
2024-08-16 11:28:25,986: DEBUG - + local app
2024-08-16 11:28:25,986: DEBUG - + local key
2024-08-16 11:28:25,986: DEBUG - + local value
2024-08-16 11:28:25,986: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf --value=68109dd8fd57b2d4b240a1bffea649d9
2024-08-16 11:28:25,986: DEBUG - + set +o xtrace
2024-08-16 11:28:26,024: DEBUG - + app=jellyfin
2024-08-16 11:28:26,024: DEBUG - + [[ checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf =~ (unprotected|protected|skipped)
]]
2024-08-16 11:28:26,024: DEBUG - + ynh_app_setting set jellyfin checksum__etc_nginx_conf.d_kl.netlib.re.d_jellyfin.conf 68109dd8fd57b2d4b240a1bffea649d9
2024-08-16 11:28:26,024: DEBUG - + set +o xtrace
2024-08-16 11:28:26,058: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:26,059: DEBUG - + '[' -n '' ']'
2024-08-16 11:28:26,059: DEBUG - + unset backup_file_checksum
2024-08-16 11:28:26,059: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2024-08-16 11:28:26,059: DEBUG - + local legacy_args=nalpte
2024-08-16 11:28:26,059: DEBUG - + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
2024-08-16 11:28:26,059: DEBUG - + local -A args_array
2024-08-16 11:28:26,059: DEBUG - + local service_name
2024-08-16 11:28:26,059: DEBUG - + local action
2024-08-16 11:28:26,059: DEBUG - + local line_match
2024-08-16 11:28:26,059: DEBUG - + local length
2024-08-16 11:28:26,059: DEBUG - + local log_path
2024-08-16 11:28:26,060: DEBUG - + local timeout
2024-08-16 11:28:26,060: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2024-08-16 11:28:26,060: DEBUG - + set +o xtrace
2024-08-16 11:28:26,107: DEBUG - + service_name=nginx
2024-08-16 11:28:26,107: DEBUG - + action=reload
2024-08-16 11:28:26,107: DEBUG - + line_match=
2024-08-16 11:28:26,107: DEBUG - + length=20
2024-08-16 11:28:26,107: DEBUG - + log_path=/var/log/nginx/nginx.log
2024-08-16 11:28:26,107: DEBUG - + timeout=300
2024-08-16 11:28:26,108: DEBUG - + '[' reload == stop ']'
2024-08-16 11:28:26,108: DEBUG - + [[ -n '' ]]
2024-08-16 11:28:26,108: DEBUG - + '[' reload == reload ']'
2024-08-16 11:28:26,108: DEBUG - + action=reload-or-restart
2024-08-16 11:28:26,108: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-16 11:28:26,108: DEBUG - ++ cut -d+ -f1
2024-08-16 11:28:26,108: DEBUG - + local 'time_start=2024-08-16 09:28:26 UTC'
2024-08-16 11:28:26,109: DEBUG - + systemctl reload-or-restart nginx
2024-08-16 11:28:26,194: DEBUG - + [[ -n '' ]]
2024-08-16 11:28:26,194: DEBUG - + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,194: DEBUG - + local legacy_args=tdj
2024-08-16 11:28:26,194: DEBUG - + args_array=(['t']='template=' ['d']='destination=' ['j']='jinja')
2024-08-16 11:28:26,194: DEBUG - + local -A args_array
2024-08-16 11:28:26,194: DEBUG - + local template
2024-08-16 11:28:26,194: DEBUG - + local destination
2024-08-16 11:28:26,194: DEBUG - + local jinja
2024-08-16 11:28:26,195: DEBUG - + ynh_handle_getopts_args --template=systemd.service --destination=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,195: DEBUG - + set +o xtrace
2024-08-16 11:28:26,232: DEBUG - + local template_path
2024-08-16 11:28:26,232: DEBUG - + jinja=0
2024-08-16 11:28:26,232: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/systemd.service ']'
2024-08-16 11:28:26,233: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/systemd.service
2024-08-16 11:28:26,233: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,233: DEBUG - + local legacy_args=f
2024-08-16 11:28:26,233: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:28:26,233: DEBUG - + local -A args_array
2024-08-16 11:28:26,233: DEBUG - + local file
2024-08-16 11:28:26,234: DEBUG - + ynh_handle_getopts_args --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,234: DEBUG - + set +o xtrace
2024-08-16 11:28:26,239: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf
2024-08-16 11:28:26,239: DEBUG - ++ ynh_app_setting_get --app=jellyfin --key=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf
2024-08-16 11:28:26,240: DEBUG - ++ local globalapp=jellyfin
2024-08-16 11:28:26,240: DEBUG - ++ local legacy_args=ak
2024-08-16 11:28:26,240: DEBUG - ++ args_array=(['a']='app=' ['k']='key=')
2024-08-16 11:28:26,240: DEBUG - ++ local -A args_array
2024-08-16 11:28:26,240: DEBUG - ++ local app
2024-08-16 11:28:26,241: DEBUG - ++ local key
2024-08-16 11:28:26,241: DEBUG - ++ ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf
2024-08-16 11:28:26,241: DEBUG - ++ set +o xtrace
2024-08-16 11:28:26,265: DEBUG - ++ app=jellyfin
2024-08-16 11:28:26,265: DEBUG - ++ [[ checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf =~ (unprotected|protected|skipped)
]]
2024-08-16 11:28:26,265: DEBUG - ++ ynh_app_setting get jellyfin checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf
2024-08-16 11:28:26,265: DEBUG - ++ set +o xtrace
2024-08-16 11:28:26,299: DEBUG - + local checksum_value=8d06cfe49f50d54993525a31ea2f1544
2024-08-16 11:28:26,299: DEBUG - + backup_file_checksum=
2024-08-16 11:28:26,299: DEBUG - + '[' -n 8d06cfe49f50d54993525a31ea2f1544 ']'
2024-08-16 11:28:26,299: DEBUG - + '[' -e /etc/systemd/system/jellyfin.service.d/baseurl.service.conf ']'
2024-08-16 11:28:26,299: DEBUG - + echo '8d06cfe49f50d54993525a31ea2f1544 /etc/systemd/system/jellyfin.service.d/baseurl.service.conf'
2024-08-16 11:28:26,299: DEBUG - + md5sum --check --status
2024-08-16 11:28:26,300: DEBUG - + touch /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,301: DEBUG - + chmod 640 /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,302: DEBUG - + ynh_apply_default_permissions /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,302: DEBUG - + local target=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,303: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2024-08-16 11:28:26,303: DEBUG - ++ tr -d '<>= '
2024-08-16 11:28:26,303: DEBUG - ++ local legacy_args=mk
2024-08-16 11:28:26,303: DEBUG - ++ args_array=(['m']='manifest=' ['k']='manifest_key=')
2024-08-16 11:28:26,303: DEBUG - ++ local -A args_array
2024-08-16 11:28:26,303: DEBUG - ++ local manifest
2024-08-16 11:28:26,303: DEBUG - ++ local manifest_key
2024-08-16 11:28:26,303: DEBUG - ++ ynh_handle_getopts_args --manifest_key=requirements.yunohost
2024-08-16 11:28:26,303: DEBUG - ++ set +o xtrace
2024-08-16 11:28:26,314: DEBUG - ++ '[' '!' -e '' ']'
2024-08-16 11:28:26,314: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.json ']'
2024-08-16 11:28:26,314: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml ']'
2024-08-16 11:28:26,314: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:26,314: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:26,314: DEBUG - ++ grep -q '.json$'
2024-08-16 11:28:26,315: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/manifest.toml
2024-08-16 11:28:26,316: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2024-08-16 11:28:26,316: DEBUG - ++ jq .requirements.yunohost --raw-output
2024-08-16 11:28:26,346: DEBUG - + local ynh_requirement=null
2024-08-16 11:28:26,346: DEBUG - + dpkg --compare-versions 2.0 ge 2
2024-08-16 11:28:26,347: DEBUG - + chmod o-rwx /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,348: DEBUG - + chmod g-w /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,348: DEBUG - + chown -R root:root /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,349: DEBUG - + ynh_system_user_exists jellyfin
2024-08-16 11:28:26,349: DEBUG - + local legacy_args=u
2024-08-16 11:28:26,349: DEBUG - + args_array=(['u']='username=')
2024-08-16 11:28:26,349: DEBUG - + local -A args_array
2024-08-16 11:28:26,350: DEBUG - + local username
2024-08-16 11:28:26,350: DEBUG - + ynh_handle_getopts_args jellyfin
2024-08-16 11:28:26,350: DEBUG - + set +o xtrace
2024-08-16 11:28:26,355: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:26,355: DEBUG - + set +x
2024-08-16 11:28:26,356: DEBUG - + getent passwd jellyfin
2024-08-16 11:28:26,357: DEBUG - + chown jellyfin:jellyfin /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,358: DEBUG - + grep -qE '^(/etc/cron|/etc/php|/etc/nginx/conf.d|/etc/fail2ban|/etc/systemd/system)'
2024-08-16 11:28:26,359: DEBUG - + chmod 400 /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,360: DEBUG - + chown root:root /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,361: DEBUG - + [[ 0 == 1 ]]
2024-08-16 11:28:26,361: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_y3spsw31/conf/systemd.service /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,362: DEBUG - + ynh_replace_vars --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,362: DEBUG - + local legacy_args=f
2024-08-16 11:28:26,362: DEBUG - + args_array=(['f']='file=')
2024-08-16 11:28:26,362: DEBUG - + local -A args_array
2024-08-16 11:28:26,362: DEBUG - + local file
2024-08-16 11:28:26,363: DEBUG - + ynh_handle_getopts_args --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,363: DEBUG - + set +o xtrace
2024-08-16 11:28:26,369: DEBUG - + test -n /media
2024-08-16 11:28:26,370: DEBUG - + local path_url_slash_less=/media
2024-08-16 11:28:26,370: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/media/ --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,370: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:26,370: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:26,370: DEBUG - + local -A args_array
2024-08-16 11:28:26,370: DEBUG - + local match_string
2024-08-16 11:28:26,370: DEBUG - + local replace_string
2024-08-16 11:28:26,370: DEBUG - + local target_file
2024-08-16 11:28:26,370: DEBUG - + ynh_handle_getopts_args --match_string=PATH/ --replace_string=/media/ --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,370: DEBUG - + set +o xtrace
2024-08-16 11:28:26,409: DEBUG - + set +o xtrace
2024-08-16 11:28:26,409: DEBUG - + sed --in-place $'s\001__PATH
_/\001/media/\001g' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,410: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/media --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,410: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:26,410: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:26,410: DEBUG - + local -A args_array
2024-08-16 11:28:26,410: DEBUG - + local match_string
2024-08-16 11:28:26,410: DEBUG - + local replace_string
2024-08-16 11:28:26,410: DEBUG - + local target_file
2024-08-16 11:28:26,410: DEBUG - + ynh_handle_getopts_args --match_string=PATH --replace_string=/media --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,411: DEBUG - + set +o xtrace
2024-08-16 11:28:26,447: DEBUG - + set +o xtrace
2024-08-16 11:28:26,447: DEBUG - + sed --in-place $'s\001__PATH__\001/media\001g' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,448: DEBUG - + test -n jellyfin
2024-08-16 11:28:26,449: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,449: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:26,449: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:26,449: DEBUG - + local -A args_array
2024-08-16 11:28:26,449: DEBUG - + local match_string
2024-08-16 11:28:26,449: DEBUG - + local replace_string
2024-08-16 11:28:26,449: DEBUG - + local target_file
2024-08-16 11:28:26,449: DEBUG - + ynh_handle_getopts_args --match_string=NAME --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,449: DEBUG - + set +o xtrace
2024-08-16 11:28:26,486: DEBUG - + set +o xtrace
2024-08-16 11:28:26,487: DEBUG - + sed --in-place $'s\001__NAME__\001jellyfin\001g' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,488: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,488: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:26,488: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:26,488: DEBUG - + local -A args_array
2024-08-16 11:28:26,488: DEBUG - + local match_string
2024-08-16 11:28:26,488: DEBUG - + local replace_string
2024-08-16 11:28:26,488: DEBUG - + local target_file
2024-08-16 11:28:26,488: DEBUG - + ynh_handle_getopts_args --match_string=NAMETOCHANGE --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,489: DEBUG - + set +o xtrace
2024-08-16 11:28:26,525: DEBUG - + set +o xtrace
2024-08-16 11:28:26,525: DEBUG - + sed --in-place $'s\001__NAMETOCHANGE__\001jellyfin\001g' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,526: DEBUG - + ynh_replace_string --match_string=USER --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,526: DEBUG - + local legacy_args=mrf
2024-08-16 11:28:26,526: DEBUG - + args_array=(['m']='match_string=' ['r']='replace_string=' ['f']='target_file=')
2024-08-16 11:28:26,527: DEBUG - + local -A args_array
2024-08-16 11:28:26,527: DEBUG - + local match_string
2024-08-16 11:28:26,527: DEBUG - + local replace_string
2024-08-16 11:28:26,527: DEBUG - + local target_file
2024-08-16 11:28:26,527: DEBUG - + ynh_handle_getopts_args --match_string=USER --replace_string=jellyfin --target_file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,527: DEBUG - + set +o xtrace
2024-08-16 11:28:26,563: DEBUG - + set +o xtrace
2024-08-16 11:28:26,563: DEBUG - + sed --in-place $'s\001__USER__\001jellyfin\001g' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,564: DEBUG - + test -n ''
2024-08-16 11:28:26,564: DEBUG - + dpkg --compare-versions 2.0 lt 2
2024-08-16 11:28:26,565: DEBUG - + test -n ''
2024-08-16 11:28:26,566: DEBUG - ++ grep -oP '[A-Z0-9]+?[A-Z0-9_]?[A-Z0-9]?' /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,566: DEBUG - ++ sed 's@([^.]*)@\L\1@g'
2024-08-16 11:28:26,566: DEBUG - ++ sort --unique
2024-08-16 11:28:26,568: DEBUG - + uniques_vars=('domain')
2024-08-16 11:28:26,568: DEBUG - + local uniques_vars
2024-08-16 11:28:26,568: DEBUG - + set +o xtrace
2024-08-16 11:28:26,569: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,570: DEBUG - + local legacy_args=f
2024-08-16 11:28:26,570: DEBUG - + args_array=(['f']='file=' ['u']='update_only')
2024-08-16 11:28:26,570: DEBUG - + local -A args_array
2024-08-16 11:28:26,570: DEBUG - + local file
2024-08-16 11:28:26,570: DEBUG - + local update_only
2024-08-16 11:28:26,570: DEBUG - + update_only=0
2024-08-16 11:28:26,570: DEBUG - + ynh_handle_getopts_args --file=/etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,570: DEBUG - + set +o xtrace
2024-08-16 11:28:26,580: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf
2024-08-16 11:28:26,580: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:26,580: DEBUG - ++ md5sum /etc/systemd/system/jellyfin.service.d/baseurl.service.conf
2024-08-16 11:28:26,580: DEBUG - ++ cut '--delimiter= ' --fields=1
2024-08-16 11:28:26,581: DEBUG - + ynh_app_setting_set --app=jellyfin --key=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf --value=8d06cfe49f50d54993525a31ea2f1544
2024-08-16 11:28:26,581: DEBUG - + local globalapp=jellyfin
2024-08-16 11:28:26,581: DEBUG - + local legacy_args=akv
2024-08-16 11:28:26,581: DEBUG - + args_array=(['a']='app=' ['k']='key=' ['v']='value=')
2024-08-16 11:28:26,582: DEBUG - + local -A args_array
2024-08-16 11:28:26,582: DEBUG - + local app
2024-08-16 11:28:26,582: DEBUG - + local key
2024-08-16 11:28:26,582: DEBUG - + local value
2024-08-16 11:28:26,582: DEBUG - + ynh_handle_getopts_args --app=jellyfin --key=checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf --value=8d06cfe49f50d54993525a31ea2f1544
2024-08-16 11:28:26,582: DEBUG - + set +o xtrace
2024-08-16 11:28:26,618: DEBUG - + app=jellyfin
2024-08-16 11:28:26,618: DEBUG - + [[ checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf =~ (unprotected|protected|skipped)
]]
2024-08-16 11:28:26,618: DEBUG - + ynh_app_setting set jellyfin checksum__etc_systemd_system_jellyfin.service.d_baseurl.service.conf 8d06cfe49f50d54993525a31ea2f1544
2024-08-16 11:28:26,618: DEBUG - + set +o xtrace
2024-08-16 11:28:26,653: DEBUG - + '[' 0 -eq 1 ']'
2024-08-16 11:28:26,654: DEBUG - + '[' -n '' ']'
2024-08-16 11:28:26,654: DEBUG - + unset backup_file_checksum
2024-08-16 11:28:26,654: DEBUG - + systemctl daemon-reload
2024-08-16 11:28:26,852: DEBUG - + ynh_use_logrotate
2024-08-16 11:28:26,853: DEBUG - + all_args=()
2024-08-16 11:28:26,853: DEBUG - + local all_args
2024-08-16 11:28:26,853: DEBUG - ++ seq 0 -1
2024-08-16 11:28:26,855: DEBUG - + set --
2024-08-16 11:28:26,855: DEBUG - + local legacy_args=lu
2024-08-16 11:28:26,855: DEBUG - + args_array=(['l']='logfile=' ['u']='specific_user=')
2024-08-16 11:28:26,855: DEBUG - + local -A args_array
2024-08-16 11:28:26,855: DEBUG - + local logfile
2024-08-16 11:28:26,855: DEBUG - + local specific_user
2024-08-16 11:28:26,855: DEBUG - + ynh_handle_getopts_args
2024-08-16 11:28:26,856: DEBUG - + set +o xtrace
2024-08-16 11:28:26,856: DEBUG - + logfile=
2024-08-16 11:28:26,856: DEBUG - + specific_user=
2024-08-16 11:28:26,856: DEBUG - + set -o noglob
2024-08-16 11:28:26,856: DEBUG - + [[ -z '' ]]
2024-08-16 11:28:26,856: DEBUG - + logfile='/var/log/jellyfin/*.log'
2024-08-16 11:28:26,856: DEBUG - + set +o noglob
2024-08-16 11:28:26,856: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,856: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-12_19-51-11_7787869c318c144cfb591b9c1f87b320_fc114bf8.log
2024-08-16 11:28:26,857: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,859: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,859: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-13_01-07-42_1d1ff172ba09fe8b1e99d1934c68d69b_a3d47405.log
2024-08-16 11:28:26,861: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,862: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,862: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-13_01-07-42_1d1ff172ba09fe8b1e99d1934c68d69b_c93fc923.log
2024-08-16 11:28:26,864: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,865: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,865: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-13_01-07-56_1d1ff172ba09fe8b1e99d1934c68d69b_6ce15185.log
2024-08-16 11:28:26,866: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,868: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,868: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-13_01-07-58_1d1ff172ba09fe8b1e99d1934c68d69b_3b8ea211.log
2024-08-16 11:28:26,870: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,871: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,871: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-13_01-07-58_1d1ff172ba09fe8b1e99d1934c68d69b_a2cf5d50.log
2024-08-16 11:28:26,872: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,872: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,873: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-15_23-33-55_0a81e8c043dd7e41e71d9d803a37f950_15f08495.log
2024-08-16 11:28:26,873: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,874: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,875: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-15_23-33-56_0a81e8c043dd7e41e71d9d803a37f950_e3395faa.log
2024-08-16 11:28:26,875: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,877: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,877: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-15_23-35-09_0a81e8c043dd7e41e71d9d803a37f950_e9320211.log
2024-08-16 11:28:26,878: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,879: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,879: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.DirectStream-2024-08-15_23-35-10_0a81e8c043dd7e41e71d9d803a37f950_88b95f91.log
2024-08-16 11:28:26,880: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,881: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,881: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-13_22-30-22_be56cef025971adfda86347425071cde_6a73af9f.log
2024-08-16 11:28:26,882: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,883: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,884: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-13_22-30-25_be56cef025971adfda86347425071cde_d537674c.log
2024-08-16 11:28:26,884: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,885: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,886: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-13_22-30-40_be56cef025971adfda86347425071cde_d1cf9d9d.log
2024-08-16 11:28:26,886: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,887: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,888: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-13_23-19-31_be56cef025971adfda86347425071cde_f8b5cb2d.log
2024-08-16 11:28:26,889: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,890: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,891: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-14_12-47-43_d0e301722409318403abf9b8d8945445_3092a842.log
2024-08-16 11:28:26,891: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,892: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,893: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-14_22-46-01_d88cb0ee72b4d37ea31a841580db635f_02acfa50.log
2024-08-16 11:28:26,893: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,894: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,895: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-14_22-46-20_d88cb0ee72b4d37ea31a841580db635f_e64c087b.log
2024-08-16 11:28:26,895: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,896: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,896: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Remux-2024-08-15_21-06-23_7c0b6e9afc632381b4f76ecba22f0ad3_d5746236.log
2024-08-16 11:28:26,897: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,898: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,898: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_14-09-53_7d5155f276a916152d23b55a41d06c35_3c115c47.log
2024-08-16 11:28:26,899: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,900: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,900: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_14-09-56_7d5155f276a916152d23b55a41d06c35_100a0a65.log
2024-08-16 11:28:26,901: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,902: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,902: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_14-09-59_7d5155f276a916152d23b55a41d06c35_86b1ca57.log
2024-08-16 11:28:26,903: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,904: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,904: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_15-40-19_e6574cce30539bda3933d0e08f72a8ba_7829876c.log
2024-08-16 11:28:26,905: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,906: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,907: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_15-40-27_e6574cce30539bda3933d0e08f72a8ba_4aad1685.log
2024-08-16 11:28:26,909: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,910: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,910: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_17-05-26_4c86407fddb4a99fe5f0dcdb28369093_30ec9103.log
2024-08-16 11:28:26,911: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,912: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,913: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_17-11-37_4c86407fddb4a99fe5f0dcdb28369093_797c4fdf.log
2024-08-16 11:28:26,914: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,915: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,915: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_17-11-39_4c86407fddb4a99fe5f0dcdb28369093_17f0b972.log
2024-08-16 11:28:26,916: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,918: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,918: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_17-32-13_4c86407fddb4a99fe5f0dcdb28369093_9d8c49b5.log
2024-08-16 11:28:26,920: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,922: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,922: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_17-32-15_4c86407fddb4a99fe5f0dcdb28369093_11970edc.log
2024-08-16 11:28:26,923: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,925: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,926: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-27-14_4c86407fddb4a99fe5f0dcdb28369093_08ba7092.log
2024-08-16 11:28:26,927: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,929: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,929: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-32-00_80dc0007648ee44358f20197eef23d95_e6a8286b.log
2024-08-16 11:28:26,930: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,932: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,932: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-35-42_80dc0007648ee44358f20197eef23d95_b39c0a61.log
2024-08-16 11:28:26,934: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,934: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,935: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-35-45_80dc0007648ee44358f20197eef23d95_9d373339.log
2024-08-16 11:28:26,936: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,937: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,937: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-36-02_80dc0007648ee44358f20197eef23d95_b542c64f.log
2024-08-16 11:28:26,938: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,939: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,939: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_18-36-05_80dc0007648ee44358f20197eef23d95_95b16f00.log
2024-08-16 11:28:26,940: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,941: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,942: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_19-36-27_f4c3029c02256e522b9971ba84635ff2_727b4928.log
2024-08-16 11:28:26,943: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,945: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,946: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_19-37-35_f4c3029c02256e522b9971ba84635ff2_d4c68c13.log
2024-08-16 11:28:26,947: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,948: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,948: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_22-10-02_84f9363ea5b450626204a82397e485cd_2ebe9667.log
2024-08-16 11:28:26,949: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,950: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,950: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_22-10-12_84f9363ea5b450626204a82397e485cd_8fc9d065.log
2024-08-16 11:28:26,951: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,952: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,952: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_22-10-28_84f9363ea5b450626204a82397e485cd_561cfb09.log
2024-08-16 11:28:26,953: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,954: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,954: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_22-25-31_84f9363ea5b450626204a82397e485cd_cefb9457.log
2024-08-16 11:28:26,955: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,956: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,956: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-33-10_b0792644fcc6ee309838de155263cd5e_cf2a86da.log
2024-08-16 11:28:26,957: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,958: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,958: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-33-27_b0792644fcc6ee309838de155263cd5e_e4af9cdc.log
2024-08-16 11:28:26,959: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,960: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,960: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-38-37_b0792644fcc6ee309838de155263cd5e_fa70d762.log
2024-08-16 11:28:26,961: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,962: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,962: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-38-40_b0792644fcc6ee309838de155263cd5e_16490547.log
2024-08-16 11:28:26,963: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,964: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,964: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-39-50_b0792644fcc6ee309838de155263cd5e_6835525c.log
2024-08-16 11:28:26,965: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,966: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,966: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-40-11_b0792644fcc6ee309838de155263cd5e_d80ef3b4.log
2024-08-16 11:28:26,967: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,969: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,969: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-41-50_b0792644fcc6ee309838de155263cd5e_ea3452ee.log
2024-08-16 11:28:26,970: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,972: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,972: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-41-53_b0792644fcc6ee309838de155263cd5e_6dbb4443.log
2024-08-16 11:28:26,974: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,976: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,976: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-43-55_b0792644fcc6ee309838de155263cd5e_1b057c57.log
2024-08-16 11:28:26,977: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,979: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,980: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-12_23-43-58_b0792644fcc6ee309838de155263cd5e_2d0768fb.log
2024-08-16 11:28:26,981: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,983: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,983: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-45-27_b0792644fcc6ee309838de155263cd5e_71eb67c5.log
2024-08-16 11:28:26,985: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,986: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,987: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-46-18_8ec92eb4934df5afed8da5a777b96959_d55c5565.log
2024-08-16 11:28:26,988: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,990: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,990: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-46-28_8ec92eb4934df5afed8da5a777b96959_39a5cf5e.log
2024-08-16 11:28:26,992: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,993: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,993: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-46-43_8ec92eb4934df5afed8da5a777b96959_b426ae9a.log
2024-08-16 11:28:26,994: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:26,996: DEBUG - + for stuff in $logfile
2024-08-16 11:28:26,996: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-48-12_8ec92eb4934df5afed8da5a777b96959_81f71864.log
2024-08-16 11:28:26,998: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,000: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,000: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-48-24_8ec92eb4934df5afed8da5a777b96959_cdf5a213.log
2024-08-16 11:28:27,002: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,004: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,004: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_00-49-20_8ec92eb4934df5afed8da5a777b96959_d6d4ee40.log
2024-08-16 11:28:27,005: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,006: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,006: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-06_b0792644fcc6ee309838de155263cd5e_8c052dce.log
2024-08-16 11:28:27,007: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,007: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,008: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-15_b0792644fcc6ee309838de155263cd5e_36e6c6a6.log
2024-08-16 11:28:27,009: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,010: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,011: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-22_b0792644fcc6ee309838de155263cd5e_9914d563.log
2024-08-16 11:28:27,012: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,013: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,014: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-23_b0792644fcc6ee309838de155263cd5e_0f6cebd4.log
2024-08-16 11:28:27,015: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,015: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,016: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-30_b0792644fcc6ee309838de155263cd5e_fff64ce0.log
2024-08-16 11:28:27,016: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,018: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,019: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-37_b0792644fcc6ee309838de155263cd5e_ade72f3f.log
2024-08-16 11:28:27,020: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,021: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,021: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-44-45_b0792644fcc6ee309838de155263cd5e_59053a39.log
2024-08-16 11:28:27,022: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,023: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,023: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-45-39_0dda632a44ba27db45efa249bec3c641_e0f851b9.log
2024-08-16 11:28:27,024: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,025: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,025: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-45-48_0dda632a44ba27db45efa249bec3c641_b99c023d.log
2024-08-16 11:28:27,026: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,027: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,027: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-45-50_0dda632a44ba27db45efa249bec3c641_5ada9194.log
2024-08-16 11:28:27,028: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,030: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,030: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-45-57_0dda632a44ba27db45efa249bec3c641_3250a963.log
2024-08-16 11:28:27,031: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,033: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,033: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-46-12_0dda632a44ba27db45efa249bec3c641_1c88deeb.log
2024-08-16 11:28:27,035: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,037: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,037: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-46-15_0dda632a44ba27db45efa249bec3c641_51bdb924.log
2024-08-16 11:28:27,039: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,040: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,040: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-47-09_0dda632a44ba27db45efa249bec3c641_49c93d08.log
2024-08-16 11:28:27,041: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,042: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,042: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-48-55_0dda632a44ba27db45efa249bec3c641_3d9d1e56.log
2024-08-16 11:28:27,043: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,044: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,044: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-48-58_0dda632a44ba27db45efa249bec3c641_c21116f3.log
2024-08-16 11:28:27,045: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,046: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,046: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-49-01_0dda632a44ba27db45efa249bec3c641_0cb6d248.log
2024-08-16 11:28:27,048: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,049: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,050: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-52-15_b0792644fcc6ee309838de155263cd5e_3bf29216.log
2024-08-16 11:28:27,050: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,051: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,052: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-52-17_b0792644fcc6ee309838de155263cd5e_d99f2e5e.log
2024-08-16 11:28:27,053: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,054: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,054: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-15_b0792644fcc6ee309838de155263cd5e_aaba8534.log
2024-08-16 11:28:27,055: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,056: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,056: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-19_b0792644fcc6ee309838de155263cd5e_ec03d23b.log
2024-08-16 11:28:27,057: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,058: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,058: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-22_b0792644fcc6ee309838de155263cd5e_785bdaeb.log
2024-08-16 11:28:27,059: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,059: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,060: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-26_b0792644fcc6ee309838de155263cd5e_343a2a32.log
2024-08-16 11:28:27,060: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,061: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,062: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-32_1754338c1d65e02762f5712a84764d85_97911a0f.log
2024-08-16 11:28:27,062: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,064: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,065: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-53_b0792644fcc6ee309838de155263cd5e_e2d2e935.log
2024-08-16 11:28:27,066: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,067: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,068: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_21-53-58_b0792644fcc6ee309838de155263cd5e_f9d21dc6.log
2024-08-16 11:28:27,068: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,069: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,069: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-44-06_8ec92eb4934df5afed8da5a777b96959_a1d39b27.log
2024-08-16 11:28:27,070: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,071: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,071: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-44-19_8ec92eb4934df5afed8da5a777b96959_0c382b6f.log
2024-08-16 11:28:27,072: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,073: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,073: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-46-02_8ec92eb4934df5afed8da5a777b96959_468e5413.log
2024-08-16 11:28:27,074: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,075: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,075: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-46-28_8ec92eb4934df5afed8da5a777b96959_9da2000c.log
2024-08-16 11:28:27,076: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,078: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,078: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-46-54_8ec92eb4934df5afed8da5a777b96959_2e2c8c62.log
2024-08-16 11:28:27,079: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,081: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,082: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-46-57_8ec92eb4934df5afed8da5a777b96959_50e5349e.log
2024-08-16 11:28:27,083: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,085: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,085: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-47-27_8ec92eb4934df5afed8da5a777b96959_ced1dc8f.log
2024-08-16 11:28:27,086: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,088: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,088: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_22-47-30_8ec92eb4934df5afed8da5a777b96959_799d55a5.log
2024-08-16 11:28:27,089: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,091: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,092: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-13_23-56-36_1a267a2482d6ad789e7d798e83bc0a7b_102924a7.log
2024-08-16 11:28:27,093: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,095: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,095: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_00-35-22_5cf1288a9dd46c8bdc8d68351027c266_6741763b.log
2024-08-16 11:28:27,097: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,098: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,099: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_00-35-32_5cf1288a9dd46c8bdc8d68351027c266_d4bc2ee5.log
2024-08-16 11:28:27,101: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,102: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,103: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_00-35-39_5cf1288a9dd46c8bdc8d68351027c266_baa00b57.log
2024-08-16 11:28:27,104: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,106: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,106: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_00-35-51_5cf1288a9dd46c8bdc8d68351027c266_f6d9d965.log
2024-08-16 11:28:27,108: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,110: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,110: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_01-12-29_eedfc429efc1548e4721092d19125af5_a445dae2.log
2024-08-16 11:28:27,111: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,113: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,114: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_01-12-34_eedfc429efc1548e4721092d19125af5_ae6c6efb.log
2024-08-16 11:28:27,115: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,117: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,117: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_01-46-39_f2d0643023569d74118346dd8c4cfca9_a26fb436.log
2024-08-16 11:28:27,118: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,120: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,120: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_03-39-24_3d2f0145a5ecbad45bbc63df4ee5789e_f2f3f3ce.log
2024-08-16 11:28:27,122: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,123: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,124: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-14_04-18-19_5e1ad03877dc41a3b4a93566a1aa2512_22d2f3a4.log
2024-08-16 11:28:27,125: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,127: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,127: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-41_97ff82f22ba37d169b8df2a80288222a_9638980d.log
2024-08-16 11:28:27,129: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,130: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,131: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-44_97ff82f22ba37d169b8df2a80288222a_c9ffff92.log
2024-08-16 11:28:27,132: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,134: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,134: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-46_97ff82f22ba37d169b8df2a80288222a_bfc3ca16.log
2024-08-16 11:28:27,135: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,137: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,137: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-52_97ff82f22ba37d169b8df2a80288222a_0e3a2d3f.log
2024-08-16 11:28:27,139: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,140: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,140: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-54_97ff82f22ba37d169b8df2a80288222a_698ed05c.log
2024-08-16 11:28:27,142: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,143: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,143: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-00-56_97ff82f22ba37d169b8df2a80288222a_e4c41243.log
2024-08-16 11:28:27,144: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,145: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,146: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-01-25_7e5c9a65b084d346c77274aa884a1561_9df22bfd.log
2024-08-16 11:28:27,147: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,147: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,148: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-02-06_9c9179fe3d2cca7a1b39bf3cc4e4101a_4abf103c.log
2024-08-16 11:28:27,148: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,149: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,150: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-14-49_d0e301722409318403abf9b8d8945445_df02664b.log
2024-08-16 11:28:27,150: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,151: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,152: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_00-17-13_d0e301722409318403abf9b8d8945445_5355ccab.log
2024-08-16 11:28:27,153: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,155: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,156: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_01-05-38_d0e301722409318403abf9b8d8945445_39fb2a22.log
2024-08-16 11:28:27,157: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,157: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,158: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_01-05-40_d0e301722409318403abf9b8d8945445_b7e58ded.log
2024-08-16 11:28:27,158: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,160: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,161: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_22-55-31_9c9179fe3d2cca7a1b39bf3cc4e4101a_43bd4a8d.log
2024-08-16 11:28:27,162: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,164: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,165: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_22-55-36_9c9179fe3d2cca7a1b39bf3cc4e4101a_0a487508.log
2024-08-16 11:28:27,166: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,168: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,169: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_22-57-13_9c9179fe3d2cca7a1b39bf3cc4e4101a_fed34134.log
2024-08-16 11:28:27,170: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,172: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,172: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_22-57-32_9c9179fe3d2cca7a1b39bf3cc4e4101a_749d2a82.log
2024-08-16 11:28:27,174: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,175: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,176: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_22-57-44_9c9179fe3d2cca7a1b39bf3cc4e4101a_68e69bc4.log
2024-08-16 11:28:27,177: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,179: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,180: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_23-26-38_c6128343e4ebb2d7504c54800790f4b0_a2ed5eae.log
2024-08-16 11:28:27,181: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,183: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,183: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_23-35-57_0a81e8c043dd7e41e71d9d803a37f950_c4d7b70d.log
2024-08-16 11:28:27,185: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,186: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,187: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_23-36-01_0a81e8c043dd7e41e71d9d803a37f950_474852cf.log
2024-08-16 11:28:27,188: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,190: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,191: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-15_23-59-02_86e9099aee6d5d552c89f4b4505341a3_2d7187b0.log
2024-08-16 11:28:27,192: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,194: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,194: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-16_00-06-22_0a81e8c043dd7e41e71d9d803a37f950_595073a7.log
2024-08-16 11:28:27,196: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,197: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,197: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-16_00-06-25_0a81e8c043dd7e41e71d9d803a37f950_1a6c18e0.log
2024-08-16 11:28:27,199: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,200: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,201: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-16_00-07-36_0a81e8c043dd7e41e71d9d803a37f950_55743af5.log
2024-08-16 11:28:27,202: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,204: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,204: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-16_00-08-59_c6128343e4ebb2d7504c54800790f4b0_fa99a244.log
2024-08-16 11:28:27,206: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,208: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,208: DEBUG - ++ dirname /var/log/jellyfin/FFmpeg.Transcode-2024-08-16_00-09-44_86e9099aee6d5d552c89f4b4505341a3_fe17e240.log
2024-08-16 11:28:27,210: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,211: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,212: DEBUG - ++ dirname /var/log/jellyfin/log_20240814.log
2024-08-16 11:28:27,213: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,215: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,215: DEBUG - ++ dirname /var/log/jellyfin/log_20240815.log
2024-08-16 11:28:27,217: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,218: DEBUG - + for stuff in $logfile
2024-08-16 11:28:27,219: DEBUG - ++ dirname /var/log/jellyfin/log_20240816.log
2024-08-16 11:28:27,220: DEBUG - + mkdir --parents /var/log/jellyfin
2024-08-16 11:28:27,222: DEBUG - + local su_directive=
2024-08-16 11:28:27,222: DEBUG - + [[ -n '' ]]
2024-08-16 11:28:27,222: DEBUG - ++ mktemp
2024-08-16 11:28:27,224: DEBUG - + local tempconf=/tmp/tmp.12TxUhGVy5
2024-08-16 11:28:27,224: DEBUG - + cat
2024-08-16 11:28:27,226: DEBUG - + [[ true == \t\r\u\e ]]
2024-08-16 11:28:27,226: DEBUG - + cat /tmp/tmp.12TxUhGVy5
2024-08-16 11:28:27,227: DEBUG - + FIRST_CALL_TO_LOGROTATE=false
2024-08-16 11:28:27,227: DEBUG - + chmod 644 /etc/logrotate.d/jellyfin
2024-08-16 11:28:27,229: DEBUG - + mkdir -p /var/log/jellyfin
2024-08-16 11:28:27,230: DEBUG - + chmod 750 /var/log/jellyfin
2024-08-16 11:28:27,232: DEBUG - + yunohost service add jellyfin '--description=Jellyfin media center' --needs_exposed_ports 1900 7359
2024-08-16 11:28:27,573: DEBUG - Le service 'jellyfin' a été ajouté
2024-08-16 11:28:27,598: DEBUG - + ynh_script_progression '--message=Starting jellyfin'''s systemd service...' --weight=1
2024-08-16 11:28:27,599: DEBUG - + set +o xtrace
2024-08-16 11:28:27,659: DEBUG - + set +o xtrace
2024-08-16 11:28:27,671: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:27,672: DEBUG - + set +x
2024-08-16 11:28:27,673: DEBUG - + echo '[#################+..] > Starting jellyfin'''s systemd service...'
2024-08-16 11:28:27,674: INFO - [#################+..] > Starting jellyfin's systemd service...
2024-08-16 11:28:27,674: DEBUG - + set -o xtrace
2024-08-16 11:28:27,674: DEBUG - + ynh_systemd_action --service_name=jellyfin --action=restart --log_path=systemd --timeout=15
2024-08-16 11:28:27,675: DEBUG - + local legacy_args=nalpte
2024-08-16 11:28:27,675: DEBUG - + args_array=(['n']='service_name=' ['a']='action=' ['l']='line_match=' ['p']='log_path=' ['t']='timeout=' ['e']='length=')
2024-08-16 11:28:27,675: DEBUG - + local -A args_array
2024-08-16 11:28:27,675: DEBUG - + local service_name
2024-08-16 11:28:27,675: DEBUG - + local action
2024-08-16 11:28:27,675: DEBUG - + local line_match
2024-08-16 11:28:27,676: DEBUG - + local length
2024-08-16 11:28:27,676: DEBUG - + local log_path
2024-08-16 11:28:27,676: DEBUG - + local timeout
2024-08-16 11:28:27,676: DEBUG - + ynh_handle_getopts_args --service_name=jellyfin --action=restart --log_path=systemd --timeout=15
2024-08-16 11:28:27,676: DEBUG - + set +o xtrace
2024-08-16 11:28:27,820: DEBUG - + service_name=jellyfin
2024-08-16 11:28:27,820: DEBUG - + action=restart
2024-08-16 11:28:27,820: DEBUG - + line_match=
2024-08-16 11:28:27,820: DEBUG - + length=20
2024-08-16 11:28:27,820: DEBUG - + log_path=systemd
2024-08-16 11:28:27,821: DEBUG - + timeout=15
2024-08-16 11:28:27,821: DEBUG - + '[' restart == stop ']'
2024-08-16 11:28:27,821: DEBUG - + [[ -n '' ]]
2024-08-16 11:28:27,821: DEBUG - + '[' restart == reload ']'
2024-08-16 11:28:27,821: DEBUG - ++ date --utc --rfc-3339=seconds
2024-08-16 11:28:27,821: DEBUG - ++ cut -d+ -f1
2024-08-16 11:28:27,822: DEBUG - + local 'time_start=2024-08-16 09:28:27 UTC'
2024-08-16 11:28:27,822: DEBUG - + systemctl restart jellyfin
2024-08-16 11:28:27,946: DEBUG - + [[ -n '' ]]
2024-08-16 11:28:27,946: DEBUG - + ynh_script_progression '--message=Upgrade of jellyfin completed' --last
2024-08-16 11:28:27,946: DEBUG - + set +o xtrace
2024-08-16 11:28:27,992: DEBUG - + set +o xtrace
2024-08-16 11:28:28,001: DEBUG - + echo '! Helper used in legacy mode !'
2024-08-16 11:28:28,002: DEBUG - + set +x
2024-08-16 11:28:28,004: DEBUG - + echo '[####################] > Upgrade of jellyfin completed'
2024-08-16 11:28:28,004: DEBUG - + set -o xtrace
2024-08-16 11:28:28,004: INFO - [####################] > Upgrade of jellyfin completed
2024-08-16 11:28:28,005: DEBUG - + ynh_exit_properly
2024-08-16 11:28:28,005: DEBUG - + local exit_code=0
2024-08-16 11:28:28,005: DEBUG - + [[ upgrade =~ ^install$|^upgrade$|^restore$ ]]
2024-08-16 11:28:28,005: DEBUG - + rm -rf /var/cache/yunohost/download/
2024-08-16 11:28:28,017: DEBUG - + '[' 0 -eq 0 ']'
2024-08-16 11:28:28,017: DEBUG - + exit 0
2024-08-16 11:28:29,018: DEBUG - Checking that required services are up and running...
2024-08-16 11:28:33,466: SUCCESS - jellyfin upgraded

@selfhoster1312
Copy link
Contributor Author

By the way i notice now that the mapping of ldap user to jellyfin UUID is saved in that file so maybe it should not be overwritten on update..

@Salamandar
Copy link
Member

Well, according to your install logs, the ldap configuration file was properly installed. So I don't know where the issue really lies.

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

2 participants