# \[Owncast\] Live video and web chat server

**URL:** https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778
**Category:** Apps
**Tags:** owncast
**Created:** [August 7, 2021, 11:28am UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778 "2021-08-07T11:28:52Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 7, 2021, 11:28am UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/1 "2021-08-07T11:28:52Z")

</div>

# Owncast for YunoHost

[![Integration level](https://dash.yunohost.org/integration/owncast.svg)](https://dash.yunohost.org/appci/app/owncast) ![](https://ci-apps.yunohost.org/ci/badges/owncast.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/owncast.maintain.svg)  
[![Install Owncast with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=owncast)

## Overview

Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software.

**Shipped version:** 0.0.8

## Screenshots

![](https://raw.githubusercontent.com/YunoHost-Apps/owncast_ynh/master/doc/screenshots/owncast-screenshot.png)

## Demo

- [Official demo](https://watch.owncast.online/)

## Documentation

- Official documentation: [Documentation - Owncast](https://owncast.online/docs/)

## Links

- App repository: [https://github.com/YunoHost-Apps/owncast\_ynh](https://github.com/YunoHost-Apps/owncast_ynh)
- App website: [https://owncast.online/](https://owncast.online/)
- Upstream app repository: [https://github.com/owncast](https://github.com/owncast)

---

<div class="post-metadata">

### Author: ![shahab](https://forum.yunohost.org/user_avatar/forum.yunohost.org/shahab/32/4796_2.png) [@shahab](https://forum.yunohost.org/u/shahab)
#### Post date: [August 8, 2021, 9:07pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/2 "2021-08-08T21:07:46Z")

</div>

Great! Thank you

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [August 17, 2021, 9:39pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/3 "2021-08-17T21:39:42Z")

</div>

Hello,

I try to install it on my Raspberry Pi 3 B for testing the app but it seems there’s an error when the sum check :

> 2021-08-17 23:30:35,000: DEBUG - + sha256sum --check --status  
> 2021-08-17 23:30:38,412: DEBUG - + ynh\_die ‘–message=Corrupt source’

[https://paste.yunohost.org/raw/ekegagukof](https://paste.yunohost.org/raw/ekegagukof)

ppr

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [August 17, 2021, 9:43pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/4 "2021-08-17T21:43:43Z")

</div>

yep you are right: should be ok in testing now.

```auto
sudo yunohost app install https://github.com/YunoHost-Apps/owncast_ynh/tree/testing 

```

---

<div class="post-metadata">

### Author: ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)
#### Post date: [August 18, 2021, 4:37pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/5 "2021-08-18T16:37:09Z")

</div>

Hello,

Thanks, install and uninstall works 😉

ppr

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [September 27, 2021, 9:20pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/6 "2021-09-27T21:20:44Z")

</div>

New stable version 🎉

- 27 September 2021 - [#14](https://github.com/YunoHost-Apps/owncast_ynh/pull/14)
  - Upgrade to upstream version 0.0.9

Please note that from 0.0.9 version, the stream key can’t be set during install anymore. see change upstream: ([Stream key configuration freeze install script · Issue #1435 · owncast/owncast · GitHub](https://github.com/owncast/owncast/issues/1435#issuecomment-92821122))  
To change the default “stream key” → `domain.ltd/admin` using `admin` and `abc123` as credential.

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [October 7, 2021, 2:46pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/7 "2021-10-07T14:46:02Z")

</div>

New stable version 📹

- 7 October 2021 - [#18](https://github.com/YunoHost-Apps/owncast_ynh/pull/18)
  - Upgrade to upstream [version 0.0.10](https://github.com/owncast/owncast/releases/tag/v0.0.10)

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [December 4, 2021, 4:42pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/8 "2021-12-04T16:42:39Z")

</div>

I just installed owncast, but I can’t login to domain.ltd/admin. I tried to enter admin and abc123 but I get the login form again, no error message.  
I had a look in the nginx log

```auto
192.168.1.14 - yuno [04/Dec/2021:17:32:30 +0100] "GET /favicon.ico HTTP/2.0" 304 0 "https://domain.nohost.me/admin/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
192.168.1.14 - yuno [04/Dec/2021:17:33:07 +0100] "GET /admin/ HTTP/2.0" 401 13 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
192.168.1.14 - yuno [04/Dec/2021:17:33:14 +0100] "GET /admin/ HTTP/2.0" 401 13 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
192.168.1.14 - yuno [04/Dec/2021:17:33:20 +0100] "GET /admin/ HTTP/2.0" 401 13 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"

```

I tried my password, my admin password, nothing worked.

Edit:  
After multiple failed attempts I could get access to the admin area, I had to log out from the yunohost portal to proceed.

[Fr]  
Après plusieurs essais, je suis parvenu à me connecter mais il fallait que je me déconnecte du portail yunohost pour pouvoir procéder.

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [March 6, 2022, 12:47pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/9 "2022-03-06T12:47:03Z")

</div>

New stable version 📹

- 6 March 2022 - [#22](https://github.com/YunoHost-Apps/owncast_ynh/pull/22)
  - Upgrade to upstream [version 0.0.11](https://owncast.online/releases/owncast-0.0.11/)
  - Add Fediverse: [Welcome to the Fediverse, Owncast streamers! - Owncast](https://owncast.online/news/20220305-welcome-to-the-fediverse/)

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [May 30, 2023, 6:13pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/10 "2023-05-30T18:13:22Z")

</div>

New stable version 📹

- 30 May 2023 - [#37](https://github.com/YunoHost-Apps/owncast_ynh/pull/37)
  - Upgrade to upstream [version 0.1.0](https://owncast.online/releases/owncast-0.1.0/)

---

<div class="post-metadata">

### Author: ![maxlinux2000](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maxlinux2000/32/6205_2.png) [@maxlinux2000](https://forum.yunohost.org/u/maxlinux2000)
#### Post date: [July 22, 2023, 3:50pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/11 "2023-07-22T15:50:34Z")

</div>

Hi, I just install it on yunohos, and I can’t access in the admin page:  
It only show me: “Unauthorized”

…and “Chat is offline” in the home

here the log link

[https://paste.yunohost.org/raw/ifucarinup](https://paste.yunohost.org/raw/ifucarinup)

and report here

```auto
args:
  app: owncast
  force: false
  label: undefined
  no_remove_on_failure: false
ended_at: 2023-07-22 15:23:08.181289
env:
  YNH_APP_ACTION: install
  YNH_APP_ARG_DOMAIN: domain2.tld
  YNH_APP_ARG_INIT_MAIN_PERMISSION: visitors
  YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn
  YNH_APP_ID: owncast
  YNH_APP_INSTANCE_NAME: owncast
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 0.1.0~ynh2
  YNH_APP_PACKAGING_FORMAT: '2.0'
  YNH_ARCH: amd64
  YNH_DEBIAN_VERSION: bullseye
error: null
interface: api
operation: app_install
parent: null
related_to:
- - app
  - owncast
started_at: 2023-07-22 15:21:50.631317
success: true
yunohost_version: 11.2.2

============

2023-07-22 17:21:50,641: INFO - Instalando «owncast»…
2023-07-22 17:21:50,647: INFO - Provisionning sources...
2023-07-22 17:21:50,653: DEBUG - Prefetching asset main: https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip ...
2023-07-22 17:22:29,642: INFO - Provisionning ports...
2023-07-22 17:22:30,109: DEBUG - Running 'systemctl restart fail2ban'
2023-07-22 17:22:31,221: SUCCESS - Cortafuegos recargado
2023-07-22 17:22:31,318: INFO - Provisionning system_user...
2023-07-22 17:22:31,581: INFO - Provisionning install_dir...
2023-07-22 17:22:31,596: INFO - Provisionning permissions...
2023-07-22 17:22:32,014: DEBUG - Actualizado el permiso «owncast.main»
2023-07-22 17:22:32,106: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20230722-152232-permission_url-owncast" style="text-decoration:underline">Actualizar la URL relacionada con el permiso «owncast»</a>»
2023-07-22 17:22:32,311: DEBUG - Creado el permiso «owncast.main»
2023-07-22 17:22:32,312: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20230722-152231-permission_create-owncast" style="text-decoration:underline">Crear permiso «owncast»</a>»
2023-07-22 17:22:32,633: DEBUG - Actualizado el permiso «owncast.main»
2023-07-22 17:22:32,633: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20230722-152232-user_permission_update-owncast" style="text-decoration:underline">Actualizar los accesos para el permiso «owncast»</a>»
2023-07-22 17:22:32,873: DEBUG - Nothing to update in LDAP
2023-07-22 17:22:32,873: DEBUG - Actualizado el permiso «owncast.main»
2023-07-22 17:22:32,965: DEBUG - Registro completo de esta operación: «<a href="#/tools/logs/20230722-152232-permission_url-owncast" style="text-decoration:underline">Actualizar la URL relacionada con el permiso «owncast»</a>»
2023-07-22 17:22:33,073: DEBUG - The permission database has been resynchronized
2023-07-22 17:22:33,235: DEBUG - Regenerada la configuración de SSOwat
2023-07-22 17:22:33,241: INFO - Provisionning apt...
2023-07-22 17:22:33,263: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./provision_or_update_apt" 7>&1']'
2023-07-22 17:22:33,271: DEBUG - + source /usr/share/yunohost/helpers
2023-07-22 17:22:33,272: DEBUG - +++ grep xtrace
2023-07-22 17:22:33,273: DEBUG - +++ set +o
2023-07-22 17:22:33,274: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-07-22 17:22:33,274: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-07-22 17:22:33,297: DEBUG - + ynh_abort_if_errors
2023-07-22 17:22:33,298: DEBUG - + trap ynh_exit_properly EXIT
2023-07-22 17:22:33,298: DEBUG - + ynh_install_app_dependencies ffmpeg
2023-07-22 17:22:33,298: DEBUG - + local dependencies=ffmpeg
2023-07-22 17:22:33,299: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2023-07-22 17:22:33,301: DEBUG - ++ echo ffmpeg
2023-07-22 17:22:33,302: DEBUG - + dependencies=ffmpeg
2023-07-22 17:22:33,302: DEBUG - + local dependencies=ffmpeg
2023-07-22 17:22:33,302: DEBUG - ++ ynh_read_manifest --manifest_key=version
2023-07-22 17:22:33,319: DEBUG - ++ '[' '!' -e '' ']'
2023-07-22 17:22:33,319: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_058j48pf/manifest.json ']'
2023-07-22 17:22:33,319: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_058j48pf/manifest.toml ']'
2023-07-22 17:22:33,319: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_058j48pf/manifest.toml
2023-07-22 17:22:33,320: DEBUG - ++ grep -q '\.json$'
2023-07-22 17:22:33,322: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_058j48pf/manifest.toml
2023-07-22 17:22:33,323: DEBUG - ++ jq .version --raw-output
2023-07-22 17:22:33,339: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:33,351: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_058j48pf/manifest.toml
2023-07-22 17:22:33,427: DEBUG - + local version=0.1.0~ynh2
2023-07-22 17:22:33,427: DEBUG - + '[' -z 0.1.0~ynh2 ']'
2023-07-22 17:22:33,427: DEBUG - + '[' 0.1.0~ynh2 == null ']'
2023-07-22 17:22:33,427: DEBUG - + local dep_app=owncast
2023-07-22 17:22:33,427: DEBUG - + [[ffmpeg =~ [<=>] ]]
2023-07-22 17:22:33,428: DEBUG - ++ sort -u
2023-07-22 17:22:33,430: DEBUG - ++ grep -oP '(?<=php)[0-9.]+(?=-|\>)'
2023-07-22 17:22:33,431: DEBUG - ++ echo ffmpeg
2023-07-22 17:22:33,432: DEBUG - + local specific_php_version=
2023-07-22 17:22:33,433: DEBUG - + grep --quiet php
2023-07-22 17:22:33,434: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-07-22 17:22:33,445: DEBUG - ++ ynh_wait_dpkg_free
2023-07-22 17:22:33,525: DEBUG - ++ return 0
2023-07-22 17:22:33,525: DEBUG - ++ grep --count 'ok installed'
2023-07-22 17:22:33,527: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-07-22 17:22:33,547: DEBUG - ++ echo yes
2023-07-22 17:22:33,547: DEBUG - + local psql_installed=yes
2023-07-22 17:22:33,547: DEBUG - + [[true == \t\r\u\e]]
2023-07-22 17:22:33,547: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2023-07-22 17:22:33,548: DEBUG - + cat
2023-07-22 17:22:33,549: DEBUG - + ynh_package_install_from_equivs /tmp/owncast-ynh-deps.control
2023-07-22 17:22:33,549: DEBUG - + local controlfile=/tmp/owncast-ynh-deps.control
2023-07-22 17:22:33,550: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-07-22 17:22:33,551: DEBUG - ++ grep '^Package: ' /tmp/owncast-ynh-deps.control
2023-07-22 17:22:33,553: DEBUG - + local pkgname=owncast-ynh-deps
2023-07-22 17:22:33,554: DEBUG - ++ cut '--delimiter= ' --fields=2
2023-07-22 17:22:33,555: DEBUG - ++ grep '^Version: ' /tmp/owncast-ynh-deps.control
2023-07-22 17:22:33,557: DEBUG - + local pkgversion=0.1.0~ynh2
2023-07-22 17:22:33,557: DEBUG - + [[-z owncast-ynh-deps]]
2023-07-22 17:22:33,557: DEBUG - + [[-z 0.1.0~ynh2]]
2023-07-22 17:22:33,557: DEBUG - + ynh_package_update
2023-07-22 17:22:33,557: DEBUG - + ynh_apt update
2023-07-22 17:22:33,558: DEBUG - + ynh_wait_dpkg_free
2023-07-22 17:22:33,632: DEBUG - + return 0
2023-07-22 17:22:33,633: DEBUG - + LC_ALL=C
2023-07-22 17:22:33,633: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-22 17:22:33,633: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2023-07-22 17:22:33,994: DEBUG - Get:1 http://forge.yunohost.org/debian bullseye InRelease [18.4 kB]
2023-07-22 17:22:34,099: DEBUG - Hit:2 http://ftp.debian.org/debian bullseye InRelease
2023-07-22 17:22:34,099: DEBUG - Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
2023-07-22 17:22:34,140: DEBUG - Get:4 http://ftp.debian.org/debian bullseye-updates InRelease [44.1 kB]
2023-07-22 17:22:34,320: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2023-07-22 17:22:34,683: DEBUG - Fetched 62.4 kB in 1s (64.8 kB/s)
2023-07-22 17:22:35,746: DEBUG - Reading package lists...
2023-07-22 17:22:35,761: DEBUG - ++ mktemp --directory
2023-07-22 17:22:35,762: DEBUG - + local TMPDIR=/tmp/tmp.41LC1xJeNJ
2023-07-22 17:22:35,763: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2023-07-22 17:22:35,765: DEBUG - + ynh_wait_dpkg_free
2023-07-22 17:22:35,850: DEBUG - + return 0
2023-07-22 17:22:35,850: DEBUG - + cp /tmp/owncast-ynh-deps.control /tmp/tmp.41LC1xJeNJ/control
2023-07-22 17:22:35,852: DEBUG - + cd /tmp/tmp.41LC1xJeNJ
2023-07-22 17:22:35,852: DEBUG - + LC_ALL=C
2023-07-22 17:22:35,852: DEBUG - + equivs-build ./control
2023-07-22 17:22:36,036: DEBUG - dpkg-buildpackage: info: source package owncast-ynh-deps
2023-07-22 17:22:36,036: DEBUG - dpkg-buildpackage: info: source version 0.1.0~ynh2
2023-07-22 17:22:36,036: DEBUG - dpkg-buildpackage: info: source distribution unstable
2023-07-22 17:22:36,036: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator <root@maindomain.tld>
2023-07-22 17:22:36,085: DEBUG - dpkg-source --before-build .
2023-07-22 17:22:36,086: DEBUG - dpkg-buildpackage: info: host architecture amd64
2023-07-22 17:22:36,220: DEBUG - debian/rules clean
2023-07-22 17:22:36,222: DEBUG - dh clean
2023-07-22 17:22:36,328: DEBUG - dh_clean
2023-07-22 17:22:36,370: DEBUG - debian/rules binary
2023-07-22 17:22:36,372: DEBUG - dh binary
2023-07-22 17:22:36,463: DEBUG - dh_update_autotools_config
2023-07-22 17:22:36,501: DEBUG - dh_autoreconf
2023-07-22 17:22:36,556: DEBUG - create-stamp debian/debhelper-build-stamp
2023-07-22 17:22:36,557: DEBUG - dh_prep
2023-07-22 17:22:36,594: DEBUG - dh_install
2023-07-22 17:22:36,639: DEBUG - dh_installdocs
2023-07-22 17:22:36,689: DEBUG - dh_installchangelogs
2023-07-22 17:22:36,799: DEBUG - dh_perl
2023-07-22 17:22:36,849: DEBUG - dh_link
2023-07-22 17:22:36,894: DEBUG - dh_strip_nondeterminism
2023-07-22 17:22:36,976: DEBUG - dh_compress
2023-07-22 17:22:37,026: DEBUG - dh_fixperms
2023-07-22 17:22:37,078: DEBUG - dh_missing
2023-07-22 17:22:37,113: DEBUG - dh_installdeb
2023-07-22 17:22:37,158: DEBUG - dh_gencontrol
2023-07-22 17:22:37,306: DEBUG - dh_md5sums
2023-07-22 17:22:37,351: DEBUG - dh_builddeb
2023-07-22 17:22:37,385: DEBUG - dpkg-deb: building package 'owncast-ynh-deps' in '../owncast-ynh-deps_0.1.0~ynh2_all.deb'.
2023-07-22 17:22:37,407: DEBUG - dpkg-genbuildinfo --build=binary
2023-07-22 17:22:38,002: DEBUG - dpkg-genchanges --build=binary >../owncast-ynh-deps_0.1.0~ynh2_amd64.changes
2023-07-22 17:22:38,108: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2023-07-22 17:22:38,113: DEBUG - dpkg-source --after-build .
2023-07-22 17:22:38,249: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2023-07-22 17:22:38,253: DEBUG - 
2023-07-22 17:22:38,253: DEBUG - The package has been created.
2023-07-22 17:22:38,253: DEBUG - Attention, the package has been created in the current directory,
2023-07-22 17:22:38,253: DEBUG - not in ".." as indicated by the message above!
2023-07-22 17:22:38,255: DEBUG - + tee ./dpkg_log
2023-07-22 17:22:38,256: DEBUG - + LC_ALL=C
2023-07-22 17:22:38,256: DEBUG - + dpkg --force-depends --install ./owncast-ynh-deps_0.1.0~ynh2_all.deb
2023-07-22 17:22:38,303: DEBUG - Selecting previously unselected package owncast-ynh-deps.
2023-07-22 17:22:38,340: DEBUG - (Reading database ... 66069 files and directories currently installed.)
2023-07-22 17:22:38,342: DEBUG - Preparing to unpack .../owncast-ynh-deps_0.1.0~ynh2_all.deb ...
2023-07-22 17:22:38,345: DEBUG - Unpacking owncast-ynh-deps (0.1.0~ynh2) ...
2023-07-22 17:22:38,360: DEBUG - Setting up owncast-ynh-deps (0.1.0~ynh2) ...
2023-07-22 17:22:38,382: DEBUG - + ynh_package_install --fix-broken
2023-07-22 17:22:38,382: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2023-07-22 17:22:38,383: DEBUG - + ynh_wait_dpkg_free
2023-07-22 17:22:38,458: DEBUG - + return 0
2023-07-22 17:22:38,458: DEBUG - + LC_ALL=C
2023-07-22 17:22:38,458: DEBUG - + DEBIAN_FRONTEND=noninteractive
2023-07-22 17:22:38,458: 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
2023-07-22 17:22:38,749: DEBUG - Reading package lists...
2023-07-22 17:22:39,033: DEBUG - Building dependency tree...
2023-07-22 17:22:39,035: DEBUG - Reading state information...
2023-07-22 17:22:39,317: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
2023-07-22 17:22:39,318: DEBUG - + [[-n /tmp/tmp.41LC1xJeNJ]]
2023-07-22 17:22:39,318: DEBUG - + rm --recursive --force /tmp/tmp.41LC1xJeNJ
2023-07-22 17:22:39,320: DEBUG - + ynh_package_is_installed owncast-ynh-deps
2023-07-22 17:22:39,330: DEBUG - + ynh_wait_dpkg_free
2023-07-22 17:22:39,410: DEBUG - + return 0
2023-07-22 17:22:39,410: DEBUG - + grep --count 'ok installed'
2023-07-22 17:22:39,412: DEBUG - + dpkg-query --show '--showformat=${Status}' owncast-ynh-deps
2023-07-22 17:22:39,432: DEBUG - + rm /tmp/owncast-ynh-deps.control
2023-07-22 17:22:39,434: DEBUG - ++ ynh_package_is_installed postgresql-13
2023-07-22 17:22:39,444: DEBUG - ++ ynh_wait_dpkg_free
2023-07-22 17:22:39,522: DEBUG - ++ return 0
2023-07-22 17:22:39,522: DEBUG - ++ grep --count 'ok installed'
2023-07-22 17:22:39,523: DEBUG - ++ dpkg-query --show '--showformat=${Status}' postgresql-13
2023-07-22 17:22:39,545: DEBUG - ++ echo yes
2023-07-22 17:22:39,545: DEBUG - + local psql_installed2=yes
2023-07-22 17:22:39,545: DEBUG - + [[yes != \y\e\s]]
2023-07-22 17:22:39,545: DEBUG - + ynh_exit_properly
2023-07-22 17:22:39,546: DEBUG - + [[provision_or_update_apt =~ ^install$|^upgrade$|^restore$]]
2023-07-22 17:22:40,590: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install" 7>&1']'
2023-07-22 17:22:40,596: DEBUG - + source _common.sh
2023-07-22 17:22:40,597: DEBUG - + source /usr/share/yunohost/helpers
2023-07-22 17:22:40,598: DEBUG - +++ grep xtrace
2023-07-22 17:22:40,599: DEBUG - +++ set +o
2023-07-22 17:22:40,600: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2023-07-22 17:22:40,600: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2023-07-22 17:22:40,707: DEBUG - + ynh_setup_source --dest_dir=/var/www/owncast
2023-07-22 17:22:40,708: INFO - [+++++++++++.........] > Setting up source files...
2023-07-22 17:22:40,738: DEBUG - + keep=
2023-07-22 17:22:40,738: DEBUG - + full_replace=0
2023-07-22 17:22:40,738: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:40,738: DEBUG - + jq -e .resources.sources
2023-07-22 17:22:40,747: DEBUG - + toml_to_json
2023-07-22 17:22:40,747: DEBUG - + python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:40,748: DEBUG - + cat /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:40,845: DEBUG - + source_id=main
2023-07-22 17:22:40,846: DEBUG - ++ jq '.resources.sources["main"]'
2023-07-22 17:22:40,853: DEBUG - ++ toml_to_json
2023-07-22 17:22:40,854: DEBUG - ++ python3 -c 'import toml, json, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:40,854: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:40,953: DEBUG - + local 'sources_json={
2023-07-22 17:22:40,953: DEBUG - "amd64": {
2023-07-22 17:22:40,953: DEBUG - "url": "https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip",
2023-07-22 17:22:40,954: DEBUG - "sha256": "98e4c19911a77955cb1dbfc01b99dd6a3ad79d3c0fea13eb0a28ac7d0d415a5a"
2023-07-22 17:22:40,954: DEBUG - },
2023-07-22 17:22:40,954: DEBUG - "arm64": {
2023-07-22 17:22:40,954: DEBUG - "url": "https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-arm64.zip",
2023-07-22 17:22:40,954: DEBUG - "sha256": "ea2eb65f1d4c6e78318c93981b4708d11c77d768c23dd31f2abd3e8462dc2dda"
2023-07-22 17:22:40,954: DEBUG - },
2023-07-22 17:22:40,954: DEBUG - "armhf": {
2023-07-22 17:22:40,954: DEBUG - "url": "https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-32bit.zip",
2023-07-22 17:22:40,954: DEBUG - "sha256": "662419e3a9a4a6be75d42828c7208e5af6c729b0315a210412e8f2b2a5b56a50"
2023-07-22 17:22:40,955: DEBUG - },
2023-07-22 17:22:40,955: DEBUG - "in_subdir": false
2023-07-22 17:22:40,955: DEBUG - }'
2023-07-22 17:22:40,955: DEBUG - + jq -re .url
2023-07-22 17:22:41,009: DEBUG - null
2023-07-22 17:22:41,010: DEBUG - + local arch_prefix=.amd64
2023-07-22 17:22:41,011: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,012: DEBUG - ++ jq -r .amd64.url
2023-07-22 17:22:41,068: DEBUG - + local src_url=https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip
2023-07-22 17:22:41,069: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,071: DEBUG - ++ jq -r .amd64.sha256
2023-07-22 17:22:41,126: DEBUG - + local src_sum=98e4c19911a77955cb1dbfc01b99dd6a3ad79d3c0fea13eb0a28ac7d0d415a5a
2023-07-22 17:22:41,126: DEBUG - + local src_sumprg=sha256sum
2023-07-22 17:22:41,127: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,129: DEBUG - ++ jq -r .format
2023-07-22 17:22:41,184: DEBUG - + local src_format=
2023-07-22 17:22:41,185: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,187: DEBUG - ++ jq -r .in_subdir
2023-07-22 17:22:41,242: DEBUG - + local src_in_subdir=false
2023-07-22 17:22:41,243: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,245: DEBUG - ++ jq -r .extract
2023-07-22 17:22:41,300: DEBUG - + local src_extract=
2023-07-22 17:22:41,301: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,303: DEBUG - ++ jq -r .platform
2023-07-22 17:22:41,358: DEBUG - + local src_platform=
2023-07-22 17:22:41,359: DEBUG - ++ sed 's/^null$//'
2023-07-22 17:22:41,361: DEBUG - ++ jq -r .rename
2023-07-22 17:22:41,416: DEBUG - + local src_rename=
2023-07-22 17:22:41,416: DEBUG - + [[-n https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip]]
2023-07-22 17:22:41,416: DEBUG - + [[-n 98e4c19911a77955cb1dbfc01b99dd6a3ad79d3c0fea13eb0a28ac7d0d415a5a]]
2023-07-22 17:22:41,416: DEBUG - + [[-z '']]
2023-07-22 17:22:41,416: DEBUG - + [[https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip =~ ^.*\.zip$]]
2023-07-22 17:22:41,417: DEBUG - + src_format=zip
2023-07-22 17:22:41,417: DEBUG - + src_sumprg=sha256sum
2023-07-22 17:22:41,417: DEBUG - + src_in_subdir=false
2023-07-22 17:22:41,417: DEBUG - + src_format=zip
2023-07-22 17:22:41,418: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2023-07-22 17:22:41,419: DEBUG - ++ echo zip
2023-07-22 17:22:41,420: DEBUG - + src_format=zip
2023-07-22 17:22:41,421: DEBUG - + src_extract=true
2023-07-22 17:22:41,421: DEBUG - + [[true != \t\r\u\e]]
2023-07-22 17:22:41,421: DEBUG - + local local_src=/opt/yunohost-apps-src/owncast/main
2023-07-22 17:22:41,421: DEBUG - ++ dirname /var/cache/yunohost/download/owncast/main
2023-07-22 17:22:41,423: DEBUG - + mkdir -p /var/cache/yunohost/download/owncast
2023-07-22 17:22:41,425: DEBUG - + src_filename=/var/cache/yunohost/download/owncast/main
2023-07-22 17:22:41,425: DEBUG - + '[' zip = docker ']'
2023-07-22 17:22:41,425: DEBUG - + test -e /opt/yunohost-apps-src/owncast/main
2023-07-22 17:22:41,425: DEBUG - + '[' -n https://github.com/owncast/owncast/releases/download/v0.1.0/owncast-0.1.0-linux-64bit.zip ']'
2023-07-22 17:22:41,425: DEBUG - + '[' -e /var/cache/yunohost/download/owncast/main ']'
2023-07-22 17:22:41,426: DEBUG - + sha256sum --check --status
2023-07-22 17:22:41,524: DEBUG - + '[' '!' -e /var/cache/yunohost/download/owncast/main ']'
2023-07-22 17:22:41,525: DEBUG - + sha256sum --check --status
2023-07-22 17:22:41,623: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2023-07-22 17:22:41,624: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:41,625: DEBUG - + mkdir --parents /var/www/owncast
2023-07-22 17:22:41,626: DEBUG - + '[' -n /var/www/owncast ']'
2023-07-22 17:22:41,626: DEBUG - + '[' /var/www/owncast == /var/www/owncast ']'
2023-07-22 17:22:41,626: DEBUG - + _ynh_apply_default_permissions /var/www/owncast
2023-07-22 17:22:41,627: DEBUG - + local target=/var/www/owncast
2023-07-22 17:22:41,627: DEBUG - ++ tr -d '<>= '
2023-07-22 17:22:41,629: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2023-07-22 17:22:41,646: DEBUG - ++ '[' '!' -e '' ']'
2023-07-22 17:22:41,646: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.json ']'
2023-07-22 17:22:41,647: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml ']'
2023-07-22 17:22:41,647: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:41,647: DEBUG - ++ grep -q '\.json$'
2023-07-22 17:22:41,649: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:41,650: DEBUG - ++ jq .requirements.yunohost --raw-output
2023-07-22 17:22:41,651: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:41,679: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:41,755: DEBUG - + local ynh_requirement=null
2023-07-22 17:22:41,755: DEBUG - + dpkg --compare-versions 2.0 ge 2
2023-07-22 17:22:41,757: DEBUG - + chmod o-rwx /var/www/owncast
2023-07-22 17:22:41,758: DEBUG - + chmod g-w /var/www/owncast
2023-07-22 17:22:41,759: DEBUG - + chown -R root:root /var/www/owncast
2023-07-22 17:22:41,761: DEBUG - + ynh_system_user_exists owncast
2023-07-22 17:22:41,771: DEBUG - + getent passwd owncast
2023-07-22 17:22:41,774: DEBUG - + chown owncast:owncast /var/www/owncast
2023-07-22 17:22:41,778: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2023-07-22 17:22:41,780: DEBUG - + echo /var/www/owncast
2023-07-22 17:22:41,781: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:41,781: DEBUG - + [[true == \f\a\l\s\e]]
2023-07-22 17:22:41,781: DEBUG - + [[zip == \d\o\c\k\e\r]]
2023-07-22 17:22:41,781: DEBUG - + [[zip == \z\i\p]]
2023-07-22 17:22:41,781: DEBUG - + false
2023-07-22 17:22:41,781: DEBUG - + unzip -quo /var/cache/yunohost/download/owncast/main -d /var/www/owncast
2023-07-22 17:22:41,894: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/owncast/main
2023-07-22 17:22:41,915: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/sources/patches/ ']'
2023-07-22 17:22:41,916: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/sources/extra_files/main
2023-07-22 17:22:41,916: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:41,916: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2023-07-22 17:22:41,918: DEBUG - + chmod -R o-rwx /var/www/owncast
2023-07-22 17:22:41,919: DEBUG - + chown -R owncast:www-data /var/www/owncast
2023-07-22 17:22:41,994: DEBUG - + ynh_add_nginx_config
2023-07-22 17:22:41,994: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:41,994: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:41,995: INFO - [###########+++......] > Adding system configurations related to owncast...
2023-07-22 17:22:42,027: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/nginx.conf ']'
2023-07-22 17:22:42,027: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/nginx.conf
2023-07-22 17:22:42,027: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,037: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf
2023-07-22 17:22:42,038: DEBUG - ++ ynh_app_setting_get --app=owncast --key=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf
2023-07-22 17:22:42,038: DEBUG - ++ local _globalapp=owncast
2023-07-22 17:22:42,071: DEBUG - ++ app=owncast
2023-07-22 17:22:42,071: DEBUG - ++ [[checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf =~ (unprotected|protected|skipped)_]]
2023-07-22 17:22:42,072: DEBUG - ++ ynh_app_setting get owncast checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf
2023-07-22 17:22:42,141: DEBUG - + local checksum_value=
2023-07-22 17:22:42,141: DEBUG - + backup_file_checksum=
2023-07-22 17:22:42,142: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:42,142: DEBUG - + touch /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,143: DEBUG - + chown root:root /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,145: DEBUG - + chmod 640 /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,146: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/nginx.conf /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,148: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,148: DEBUG - + local target=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,149: DEBUG - ++ tr -d '<>= '
2023-07-22 17:22:42,151: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2023-07-22 17:22:42,170: DEBUG - ++ '[' '!' -e '' ']'
2023-07-22 17:22:42,170: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.json ']'
2023-07-22 17:22:42,170: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml ']'
2023-07-22 17:22:42,170: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:42,171: DEBUG - ++ grep -q '\.json$'
2023-07-22 17:22:42,173: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:42,174: DEBUG - ++ jq .requirements.yunohost --raw-output
2023-07-22 17:22:42,180: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:42,192: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:42,281: DEBUG - + local ynh_requirement=null
2023-07-22 17:22:42,281: DEBUG - + dpkg --compare-versions 2.0 ge 2
2023-07-22 17:22:42,283: DEBUG - + chmod o-rwx /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,284: DEBUG - + chmod g-w /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,285: DEBUG - + chown -R root:root /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,287: DEBUG - + ynh_system_user_exists owncast
2023-07-22 17:22:42,297: DEBUG - + getent passwd owncast
2023-07-22 17:22:42,299: DEBUG - + chown owncast:owncast /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,301: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2023-07-22 17:22:42,303: DEBUG - + echo /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,304: DEBUG - + chmod 400 /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,305: DEBUG - + chown root:root /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,307: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,317: DEBUG - + test -n /
2023-07-22 17:22:42,318: DEBUG - + local path_url_slash_less=
2023-07-22 17:22:42,318: DEBUG - + ynh_replace_string --match_string= __PATH__ / --replace_string=/ --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,381: DEBUG - + sed --in-place $'s\001 __PATH__ /\001/\001g' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,384: DEBUG - + ynh_replace_string --match_string= __PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,447: DEBUG - + sed --in-place $'s\001 __PATH__ \001/\001g' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,451: DEBUG - + test -n owncast
2023-07-22 17:22:42,451: DEBUG - + ynh_replace_string --match_string= __NAME__ --replace_string=owncast --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,516: DEBUG - + sed --in-place $'s\001 __NAME__ \001owncast\001g' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,518: DEBUG - + ynh_replace_string --match_string= __NAMETOCHANGE__ --replace_string=owncast --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,582: DEBUG - + sed --in-place $'s\001 __NAMETOCHANGE__ \001owncast\001g' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,585: DEBUG - + ynh_replace_string --match_string= __USER__ --replace_string=owncast --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,648: DEBUG - + sed --in-place $'s\001 __USER__ \001owncast\001g' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,651: DEBUG - + test -n ''
2023-07-22 17:22:42,651: DEBUG - + dpkg --compare-versions 2.0 lt 2
2023-07-22 17:22:42,653: DEBUG - + test -n ''
2023-07-22 17:22:42,654: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2023-07-22 17:22:42,656: DEBUG - ++ sort --unique
2023-07-22 17:22:42,657: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,660: DEBUG - + uniques_vars=('port')
2023-07-22 17:22:42,661: DEBUG - + local delimit=@
2023-07-22 17:22:42,661: DEBUG - + for one_var in "${uniques_vars[@]}"
2023-07-22 17:22:42,661: DEBUG - + [[-v port]]
2023-07-22 17:22:42,661: DEBUG - + match_string= __PORT__
2023-07-22 17:22:42,661: DEBUG - + match_string= __PORT__
2023-07-22 17:22:42,661: DEBUG - + replace_string=39202
2023-07-22 17:22:42,661: DEBUG - + replace_string=39202
2023-07-22 17:22:42,661: DEBUG - + replace_string=39202
2023-07-22 17:22:42,661: DEBUG - + sed --in-place s@ __PORT__ @39202@g /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,664: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,665: DEBUG - + update_only=0
2023-07-22 17:22:42,682: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf
2023-07-22 17:22:42,683: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-07-22 17:22:42,685: DEBUG - ++ md5sum /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,687: DEBUG - + ynh_app_setting_set --app=owncast --key=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf --value=5880ad11bfe45a7defdb00890147d1a9
2023-07-22 17:22:42,688: DEBUG - + local _globalapp=owncast
2023-07-22 17:22:42,751: DEBUG - + app=owncast
2023-07-22 17:22:42,751: DEBUG - + [[checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf =~ (unprotected|protected|skipped)_]]
2023-07-22 17:22:42,751: DEBUG - + ynh_app_setting set owncast checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf 5880ad11bfe45a7defdb00890147d1a9
2023-07-22 17:22:42,824: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:42,824: DEBUG - + unset backup_file_checksum
2023-07-22 17:22:42,824: DEBUG - + '[' / '!=' / ']'
2023-07-22 17:22:42,824: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,892: DEBUG - + sed --in-place 's^#root_path_onlyg' /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,894: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,895: DEBUG - + update_only=0
2023-07-22 17:22:42,912: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf
2023-07-22 17:22:42,913: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-07-22 17:22:42,915: DEBUG - ++ md5sum /etc/nginx/conf.d/domain2.tld.d/owncast.conf
2023-07-22 17:22:42,918: DEBUG - + ynh_app_setting_set --app=owncast --key=checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf --value=5880ad11bfe45a7defdb00890147d1a9
2023-07-22 17:22:42,918: DEBUG - + local _globalapp=owncast
2023-07-22 17:22:42,990: DEBUG - + app=owncast
2023-07-22 17:22:42,990: DEBUG - + [[checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf =~ (unprotected|protected|skipped)_]]
2023-07-22 17:22:42,990: DEBUG - + ynh_app_setting set owncast checksum__etc_nginx_conf.d_domain2.tld.d_owncast.conf 5880ad11bfe45a7defdb00890147d1a9
2023-07-22 17:22:43,065: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:43,065: DEBUG - + unset backup_file_checksum
2023-07-22 17:22:43,065: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2023-07-22 17:22:43,147: DEBUG - + service_name=nginx
2023-07-22 17:22:43,147: DEBUG - + action=reload
2023-07-22 17:22:43,148: DEBUG - + line_match=
2023-07-22 17:22:43,148: DEBUG - + length=20
2023-07-22 17:22:43,148: DEBUG - + log_path=/var/log/nginx/nginx.log
2023-07-22 17:22:43,148: DEBUG - + timeout=300
2023-07-22 17:22:43,148: DEBUG - + '[' reload == stop ']'
2023-07-22 17:22:43,148: DEBUG - + '[' reload == reload ']'
2023-07-22 17:22:43,148: DEBUG - + action=reload-or-restart
2023-07-22 17:22:43,149: DEBUG - ++ cut -d+ -f1
2023-07-22 17:22:43,151: DEBUG - ++ date --utc --rfc-3339=seconds
2023-07-22 17:22:43,153: DEBUG - + local 'time_start=2023-07-22 15:22:43 UTC'
2023-07-22 17:22:43,153: DEBUG - + systemctl reload-or-restart nginx
2023-07-22 17:22:43,267: DEBUG - + ynh_add_systemd_config
2023-07-22 17:22:43,268: DEBUG - + service=owncast
2023-07-22 17:22:43,268: DEBUG - + template=systemd.service
2023-07-22 17:22:43,268: DEBUG - + ynh_add_config --template=systemd.service --destination=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,365: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/systemd.service ']'
2023-07-22 17:22:43,365: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/systemd.service
2023-07-22 17:22:43,366: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,376: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_owncast.service
2023-07-22 17:22:43,376: DEBUG - ++ ynh_app_setting_get --app=owncast --key=checksum__etc_systemd_system_owncast.service
2023-07-22 17:22:43,377: DEBUG - ++ local _globalapp=owncast
2023-07-22 17:22:43,410: DEBUG - ++ app=owncast
2023-07-22 17:22:43,410: DEBUG - ++ [[checksum__etc_systemd_system_owncast.service =~ (unprotected|protected|skipped)_]]
2023-07-22 17:22:43,410: DEBUG - ++ ynh_app_setting get owncast checksum__etc_systemd_system_owncast.service
2023-07-22 17:22:43,480: DEBUG - + local checksum_value=
2023-07-22 17:22:43,480: DEBUG - + backup_file_checksum=
2023-07-22 17:22:43,480: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:43,480: DEBUG - + touch /etc/systemd/system/owncast.service
2023-07-22 17:22:43,481: DEBUG - + chown root:root /etc/systemd/system/owncast.service
2023-07-22 17:22:43,483: DEBUG - + chmod 640 /etc/systemd/system/owncast.service
2023-07-22 17:22:43,484: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/conf/systemd.service /etc/systemd/system/owncast.service
2023-07-22 17:22:43,486: DEBUG - + _ynh_apply_default_permissions /etc/systemd/system/owncast.service
2023-07-22 17:22:43,487: DEBUG - + local target=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,488: DEBUG - ++ tr -d '<>= '
2023-07-22 17:22:43,489: DEBUG - ++ ynh_read_manifest --manifest_key=requirements.yunohost
2023-07-22 17:22:43,508: DEBUG - ++ '[' '!' -e '' ']'
2023-07-22 17:22:43,508: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.json ']'
2023-07-22 17:22:43,508: DEBUG - ++ '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml ']'
2023-07-22 17:22:43,508: DEBUG - ++ manifest=/var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:43,509: DEBUG - ++ grep -q '\.json$'
2023-07-22 17:22:43,511: DEBUG - ++ echo /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:43,512: DEBUG - ++ jq .requirements.yunohost --raw-output
2023-07-22 17:22:43,518: DEBUG - ++ python3 -c 'import json, toml, sys; print(json.dumps(toml.load(sys.stdin)))'
2023-07-22 17:22:43,531: DEBUG - ++ cat /var/cache/yunohost/app_tmp_work_dirs/app_texobvtn/manifest.toml
2023-07-22 17:22:43,618: DEBUG - + local ynh_requirement=null
2023-07-22 17:22:43,618: DEBUG - + dpkg --compare-versions 2.0 ge 2
2023-07-22 17:22:43,620: DEBUG - + chmod o-rwx /etc/systemd/system/owncast.service
2023-07-22 17:22:43,621: DEBUG - + chmod g-w /etc/systemd/system/owncast.service
2023-07-22 17:22:43,622: DEBUG - + chown -R root:root /etc/systemd/system/owncast.service
2023-07-22 17:22:43,624: DEBUG - + ynh_system_user_exists owncast
2023-07-22 17:22:43,635: DEBUG - + getent passwd owncast
2023-07-22 17:22:43,637: DEBUG - + chown owncast:owncast /etc/systemd/system/owncast.service
2023-07-22 17:22:43,639: DEBUG - + grep -q '^/etc/cron\|/etc/php\|/etc/nginx/conf.d\|/etc/fail2ban\|/etc/systemd/system'
2023-07-22 17:22:43,641: DEBUG - + echo /etc/systemd/system/owncast.service
2023-07-22 17:22:43,641: DEBUG - + chmod 400 /etc/systemd/system/owncast.service
2023-07-22 17:22:43,643: DEBUG - + chown root:root /etc/systemd/system/owncast.service
2023-07-22 17:22:43,644: DEBUG - + ynh_replace_vars --file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,655: DEBUG - + test -n /
2023-07-22 17:22:43,655: DEBUG - + local path_url_slash_less=
2023-07-22 17:22:43,655: DEBUG - + ynh_replace_string --match_string= __PATH__ / --replace_string=/ --target_file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,720: DEBUG - + sed --in-place $'s\001 __PATH__ /\001/\001g' /etc/systemd/system/owncast.service
2023-07-22 17:22:43,722: DEBUG - + ynh_replace_string --match_string= __PATH__ --replace_string=/ --target_file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,788: DEBUG - + sed --in-place $'s\001 __PATH__ \001/\001g' /etc/systemd/system/owncast.service
2023-07-22 17:22:43,791: DEBUG - + test -n owncast
2023-07-22 17:22:43,791: DEBUG - + ynh_replace_string --match_string= __NAME__ --replace_string=owncast --target_file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,858: DEBUG - + sed --in-place $'s\001 __NAME__ \001owncast\001g' /etc/systemd/system/owncast.service
2023-07-22 17:22:43,861: DEBUG - + ynh_replace_string --match_string= __NAMETOCHANGE__ --replace_string=owncast --target_file=/etc/systemd/system/owncast.service
2023-07-22 17:22:43,927: DEBUG - + sed --in-place $'s\001 __NAMETOCHANGE__ \001owncast\001g' /etc/systemd/system/owncast.service
2023-07-22 17:22:43,930: DEBUG - + ynh_replace_string --match_string= __USER__ --replace_string=owncast --target_file=/etc/systemd/system/owncast.service
2023-07-22 17:22:44,036: DEBUG - + sed --in-place $'s\001 __USER__ \001owncast\001g' /etc/systemd/system/owncast.service
2023-07-22 17:22:44,039: DEBUG - + test -n ''
2023-07-22 17:22:44,039: DEBUG - + dpkg --compare-versions 2.0 lt 2
2023-07-22 17:22:44,041: DEBUG - + test -n ''
2023-07-22 17:22:44,042: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2023-07-22 17:22:44,044: DEBUG - ++ sort --unique
2023-07-22 17:22:44,046: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/systemd/system/owncast.service
2023-07-22 17:22:44,049: DEBUG - + uniques_vars=('app' 'install_dir' 'port')
2023-07-22 17:22:44,049: DEBUG - + local delimit=@
2023-07-22 17:22:44,049: DEBUG - + for one_var in "${uniques_vars[@]}"
2023-07-22 17:22:44,049: DEBUG - + [[-v app]]
2023-07-22 17:22:44,049: DEBUG - + match_string= __APP__
2023-07-22 17:22:44,049: DEBUG - + match_string= __APP__
2023-07-22 17:22:44,049: DEBUG - + replace_string=owncast
2023-07-22 17:22:44,050: DEBUG - + replace_string=owncast
2023-07-22 17:22:44,050: DEBUG - + replace_string=owncast
2023-07-22 17:22:44,050: DEBUG - + sed --in-place s@ __APP__ @owncast@g /etc/systemd/system/owncast.service
2023-07-22 17:22:44,052: DEBUG - + for one_var in "${uniques_vars[@]}"
2023-07-22 17:22:44,052: DEBUG - + [[-v install_dir]]
2023-07-22 17:22:44,053: DEBUG - + match_string= __INSTALL_DIR__
2023-07-22 17:22:44,053: DEBUG - + match_string= __INSTALL_DIR__
2023-07-22 17:22:44,053: DEBUG - + replace_string=/var/www/owncast
2023-07-22 17:22:44,053: DEBUG - + replace_string=/var/www/owncast
2023-07-22 17:22:44,053: DEBUG - + replace_string=/var/www/owncast
2023-07-22 17:22:44,053: DEBUG - + sed --in-place s@ __INSTALL_DIR__ @/var/www/owncast@g /etc/systemd/system/owncast.service
2023-07-22 17:22:44,056: DEBUG - + for one_var in "${uniques_vars[@]}"
2023-07-22 17:22:44,056: DEBUG - + [[-v port]]
2023-07-22 17:22:44,056: DEBUG - + match_string= __PORT__
2023-07-22 17:22:44,056: DEBUG - + match_string= __PORT__
2023-07-22 17:22:44,056: DEBUG - + replace_string=39202
2023-07-22 17:22:44,056: DEBUG - + replace_string=39202
2023-07-22 17:22:44,056: DEBUG - + replace_string=39202
2023-07-22 17:22:44,056: DEBUG - + sed --in-place s@ __PORT__ @39202@g /etc/systemd/system/owncast.service
2023-07-22 17:22:44,059: DEBUG - + ynh_store_file_checksum --file=/etc/systemd/system/owncast.service
2023-07-22 17:22:44,060: DEBUG - + update_only=0
2023-07-22 17:22:44,077: DEBUG - + local checksum_setting_name=checksum__etc_systemd_system_owncast.service
2023-07-22 17:22:44,079: DEBUG - ++ cut '--delimiter= ' --fields=1
2023-07-22 17:22:44,080: DEBUG - ++ md5sum /etc/systemd/system/owncast.service
2023-07-22 17:22:44,083: DEBUG - + ynh_app_setting_set --app=owncast --key=checksum__etc_systemd_system_owncast.service --value=68479b89fbede0b3cd1e53b4dd862808
2023-07-22 17:22:44,083: DEBUG - + local _globalapp=owncast
2023-07-22 17:22:44,149: DEBUG - + app=owncast
2023-07-22 17:22:44,150: DEBUG - + [[checksum__etc_systemd_system_owncast.service =~ (unprotected|protected|skipped)_]]
2023-07-22 17:22:44,150: DEBUG - + ynh_app_setting set owncast checksum__etc_systemd_system_owncast.service 68479b89fbede0b3cd1e53b4dd862808
2023-07-22 17:22:44,222: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:44,222: DEBUG - + unset backup_file_checksum
2023-07-22 17:22:44,222: DEBUG - + systemctl enable owncast --quiet
2023-07-22 17:22:44,670: DEBUG - + systemctl daemon-reload
2023-07-22 17:22:45,129: DEBUG - + ynh_use_logrotate
2023-07-22 17:22:45,129: DEBUG - + all_args=()
2023-07-22 17:22:45,133: DEBUG - ++ seq 0 -1
2023-07-22 17:22:45,137: DEBUG - + set --
2023-07-22 17:22:45,138: DEBUG - + logfile=
2023-07-22 17:22:45,138: DEBUG - + nonappend=0
2023-07-22 17:22:45,138: DEBUG - + specific_user=
2023-07-22 17:22:45,138: DEBUG - + '[' 0 -gt 0 ']'
2023-07-22 17:22:45,138: DEBUG - + local 'customtee=tee --append'
2023-07-22 17:22:45,138: DEBUG - + '[' -n '' ']'
2023-07-22 17:22:45,138: DEBUG - + logfile='/var/log/owncast/*.log'
2023-07-22 17:22:45,138: DEBUG - + local su_directive=
2023-07-22 17:22:45,139: DEBUG - + cat
2023-07-22 17:22:45,141: DEBUG - ++ dirname '/var/log/owncast/*.log'
2023-07-22 17:22:45,142: DEBUG - + mkdir --parents /var/log/owncast
2023-07-22 17:22:45,145: DEBUG - + tee --append /etc/logrotate.d/owncast
2023-07-22 17:22:45,147: DEBUG - + cat owncast-logrotate
2023-07-22 17:22:45,149: DEBUG - + yunohost service add owncast '--description=Self-hosted live video and web chat server' --log=/var/log/owncast/owncast.log --needs_exposed_ports=1935
2023-07-22 17:22:45,547: DEBUG - Se agregó el servicio 'owncast'
2023-07-22 17:22:45,651: DEBUG - + ynh_systemd_action --service_name=owncast --action=start --log_path=systemd
2023-07-22 17:22:45,652: INFO - [##############+++...] > Starting a systemd service...
2023-07-22 17:22:45,777: DEBUG - + service_name=owncast
2023-07-22 17:22:45,777: DEBUG - + action=start
2023-07-22 17:22:45,777: DEBUG - + line_match=
2023-07-22 17:22:45,777: DEBUG - + length=20
2023-07-22 17:22:45,777: DEBUG - + log_path=systemd
2023-07-22 17:22:45,777: DEBUG - + timeout=300
2023-07-22 17:22:45,777: DEBUG - + '[' start == stop ']'
2023-07-22 17:22:45,778: DEBUG - + '[' start == reload ']'
2023-07-22 17:22:45,779: DEBUG - ++ cut -d+ -f1
2023-07-22 17:22:45,780: DEBUG - ++ date --utc --rfc-3339=seconds
2023-07-22 17:22:45,783: DEBUG - + local 'time_start=2023-07-22 15:22:45 UTC'
2023-07-22 17:22:45,783: DEBUG - + systemctl start owncast
2023-07-22 17:22:45,794: DEBUG - + sleep 20
2023-07-22 17:23:05,896: DEBUG - + ynh_exit_properly
2023-07-22 17:23:05,896: DEBUG - + [[install =~ ^install$|^upgrade$|^restore$]]
2023-07-22 17:23:05,896: INFO - [####################] > Installation of owncast completed
2023-07-22 17:23:06,901: DEBUG - Checking that required services are up and running...
2023-07-22 17:23:08,177: SUCCESS - Instalación finalizada

```

---

<div class="post-metadata">

### Author: ![maxlinux2000](https://forum.yunohost.org/user_avatar/forum.yunohost.org/maxlinux2000/32/6205_2.png) [@maxlinux2000](https://forum.yunohost.org/u/maxlinux2000)
#### Post date: [July 22, 2023, 4:17pm UTC](https://forum.yunohost.org/t/owncast-live-video-and-web-chat-server/16778/12 "2023-07-22T16:17:59Z")

</div>

ok, this is not a bug, Yo must login from another browser or from a private windows.

Please add this note in the yunohost notification
