MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.91k stars 501 forks source link

Dietpi Update error #4243

Closed ZiggyPi closed 3 years ago

ZiggyPi commented 3 years ago

Details:

Steps to reproduce:

  1. Run dietpi-update
  2. ...

Expected behaviour:

Actual behaviour:

Extra details:

Any idea how i can resolve this. I dont really need the update. But i was hoping it would fix jackett. But now i can get the terminal up but nothing else is working. No access to sonarr, radarr or other webservices and no acceas to samba.

Additional logs:


Hit:1 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease
Hit:2 https://downloads.plex.tv/repo/deb public InRelease
Hit:3 https://archive.raspberrypi.org/debian buster InRelease
Hit:4 https://download.docker.com/linux/raspbian buster InRelease
Hit:5 https://download.mono-project.com/repo/debian raspbianbuster InRelease
Hit:6 https://apt.sonarr.tv develop InRelease
Hit:7 https://mirror.netcologne.de/raspbian/raspbian buster InRelease
Can't locate AptPkg/Cache.pm in @INC (you may need to install the AptPkg::Cache module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/bin/apt-show-versions line 40.
BEGIN failed--compilation aborted at /usr/bin/apt-show-versions line 40.
Reading package lists...
E: Problem executing scripts APT::Update::Post-Invoke-Success 'test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i'
E: Sub-process returned an error code
MichaIng commented 3 years ago

coturn.service: Failed to determine user credentials: No such process

This seems to happen when the user does not exist. Let's see if a reinstall restores it:

apt install --reinstall coturn
systemctl restart coturn
sleep 1
journalctl -u coturn
ZiggyPi commented 3 years ago

@MichaIng

I am still seeing the same error

Log ``` root@DietPi-HTPC:~# apt install --reinstall coturn Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 303 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://mirror.netcologne.de/raspbian/raspbian buster/main armhf coturn armhf 4.5.1.1-1.1+deb10u2 [303 kB] Fetched 303 kB in 0s (692 kB/s) (Reading database ... 84125 files and directories currently installed.) Preparing to unpack .../coturn_4.5.1.1-1.1+deb10u2_armhf.deb ... Unpacking coturn (4.5.1.1-1.1+deb10u2) over (4.5.1.1-1.1+deb10u2) ... Setting up coturn (4.5.1.1-1.1+deb10u2) ... Adding group `turnserver' (GID 117) ... Done. Adding system user `turnserver' (UID 111) ... Adding new user `turnserver' (UID 111) with group `turnserver' ... Not creating home directory `/'. Processing triggers for systemd (241-7~deb10u6+rpi1) ... root@DietPi-HTPC:~# systemctl restart coturn root@DietPi-HTPC:~# sleep 1 root@DietPi-HTPC:~# journalctl -u coturn -- Logs begin at Wed 2021-04-07 23:15:01 CEST, end at Thu 2021-04-08 21:21:01 CEST. -- Apr 08 20:34:30 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 20:34:30 DietPi-HTPC systemd[24050]: coturn. service: Failed to determine user credentials: No such process Apr 08 20:34:30 DietPi-HTPC systemd[24050]: coturn. service: Failed at step USER spawning /usr/bin/turnserver: No such process Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.serv ice: Control process exited, code=exited, status=217/USER Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:30 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.service: Scheduled restart job, restart counter is at 1. Apr 08 20:34:30 DietPi-HTPC systemd[1]: Stopped coTURN STUN/TURN Server. Apr 08 20:34:30 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 20:34:30 DietPi-HTPC systemd[24055]: coturn. service: Failed to determine user credentials: No such process Apr 08 20:34:30 DietPi-HTPC systemd[24055]: coturn. service: Failed at step USER spawning /usr/bin/turnserver: No such process Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.serv ice: Control process exited, code=exited, status=217/USER Apr 08 20:34:30 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:30 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Scheduled restart job, restart counter is at 2. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Stopped coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 20:34:31 DietPi-HTPC systemd[24065]: coturn. service: Failed to determine user credentials: No such process Apr 08 20:34:31 DietPi-HTPC systemd[24065]: coturn. service: Failed at step USER spawning /usr/bin/turnserver: No such process 0m Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Control process exited, code=exited, status=217/USER Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Scheduled restart job, restart counter is at 3. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Stopped coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 20:34:31 DietPi-HTPC systemd[24068]: coturn. service: Failed to determine user credentials: No such process Apr 08 20:34:31 DietPi-HTPC systemd[24068]: coturn. service: Failed at step USER spawning /usr/bin/turnserver: No such process 0m Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Control process exited, code=exited, status=217/USER Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Scheduled restart job, restart counter is at 4. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Stopped coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 20:34:31 DietPi-HTPC systemd[24071]: coturn. service: Failed to determine user credentials: No such process Apr 08 20:34:31 DietPi-HTPC systemd[24071]: coturn. service: Failed at step USER spawning /usr/bin/turnserver: No such process 0m Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Control process exited, code=exited, status=217/USER Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.service: Scheduled restart job, restart counter is at 5. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Stopped coTURN STUN/TURN Server. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Start request repeated too quickly. Apr 08 20:34:31 DietPi-HTPC systemd[1]: coturn.serv ice: Failed with result 'exit-code'. Apr 08 20:34:31 DietPi-HTPC systemd[1]: Failed to s tart coTURN STUN/TURN Server. Apr 08 21:20:57 DietPi-HTPC systemd[1]: Starting coTURN STUN/TURN Server...Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: 0 bytes per second allowed, combined server capacity Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Bad configuration format: no-loopback-peers Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Bad configuration format: no-loopback-peers Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server Version Coturn-4.5.1.1 'dan Eider' Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Max number of open files/sockets allowed for this process: 524288 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Due to the open files/sockets limitation, max supported number of TURN Sessions possible is: 262000 (approximately) Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ==== Show him the instruments, Practical Frost: ==== Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: TLS supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: DTLS supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: DTLS 1.2 supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: TURN/STUN ALPN supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Third-party authorization (oAuth) supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: GCM (AEAD) supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: OpenSSL compile-time version: OpenSSL 1.1.1d 10 Sep 2019 (0x1010104f) Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: SQLite supported, default database location is /var/lib/turn/turndb Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Redis supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: PostgreSQL supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: MySQL supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: MongoDB is not supported Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Default Net Engine version: 3 (UDP thread per CPU core) ===================================================== Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Domain name: Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Default realm: DietPi-HTPC Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: CONFIG ERROR: Empty cl i-password, and so telnet cli interface is disabled! Please set a non empty cli-password! Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: WAR NING: cannot find certificate file: turn_server_cert.pem (1) Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: WAR NING: cannot start TLS and DTLS listeners because certificate file is not set properly Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: WAR NING: cannot find private key file: turn_server_pkey.pem (1) Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: WAR NING: cannot start TLS and DTLS listeners because private key file is not set properly Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===========Discovering listener addresses: ========= Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Listener address to use: 127.0.0.1 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Listener address to use: 10.0.0.30 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Listener address to use: 172.17.0.1 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Listener address to use: ::1 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===================================================== Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Total: 2 'real' addresses discovered Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===================================================== Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===========Discovering relay addresses: ============= Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Relay address to use: 10.0.0.30 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Relay address to use: 172.17.0.1 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Relay address to use: ::1 Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===================================================== Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: Total: 3 relay addresses discovered Apr 08 21:20:57 DietPi-HTPC turnserver[823]: 0: ===================================================== Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: pid file created: /run/turnserver/turnserver.pid Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (main listener thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: Wait for relay ports initialization... Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay 10.0.0.30 initialization... Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay 10.0.0.30 initialization done Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay 172.17.0.1 initialization... Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay 172.17.0.1 initialization done Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay ::1 initialization... Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: relay ::1 initialization done Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: Relay ports initialization done Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (general relay thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (general relay thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (general relay thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: turn server id=1 created Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: turn server id=0 created Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: turn server id=2 created Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (general relay thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: turn server id=3 created Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: Total General servers: 4 Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (auth thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (auth thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: IO method (admin thread): epoll (with changelist) Apr 08 21:20:57 DietPi-HTPC turnserver[824]: 0: SQLite DB connection success: /var/lib/turn/turndb Apr 08 21:20:59 DietPi-HTPC systemd[1]: Started coTURN STUN/TURN Server. ```
Joulinar commented 3 years ago

Nope you need to look to the time stamp. The one from Apr 08 21:20:57 seems to be fine

ZiggyPi commented 3 years ago

@Joulinar

Okay nice. So 3 down 5 to go? πŸ™ˆ

MichaIng commented 3 years ago

Ubooquity and Lidarr as well fail because of their users missing. A reinstall should be easiest here:

dietpi-software reinstall 80 106

That might fix Sonarr as well as it says something about updating Mono runtime, which is included in the Lidarr reinstall.

For XRDP we should create fresh logs then:

systemctl restart xrdp
sleep 1
journalctl -u xrdp
ZiggyPi commented 3 years ago

@MichaIng

Will i loose my sonarr and radarr data if i do a reinstall?

xrdp log ``` root@DietPi-HTPC:~# systemctl restart xrdp Job for xrdp.service failed because the control process exited with error code. See "systemctl status xrdp.service" and "journalctl -xe" for details. root@DietPi-HTPC:~# sleep 1 root@DietPi-HTPC:~# journalctl -u xrdp -- Logs begin at Thu 2021-04-08 01:25:01 CEST, end at Thu 2021-04-08 22:38:20 CEST. -- Apr 08 21:20:38 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:38:18 DietPi-HTPC systemd[1]: Starting xrdp daemon... Apr 08 22:38:18 DietPi-HTPC systemd[15754]: xrdp.se rvice: Failed to determine user credentials: No such process Apr 08 22:38:18 DietPi-HTPC systemd[15754]: xrdp.se rvice: Failed at step USER spawning /bin/sh: No such process Apr 08 22:38:18 DietPi-HTPC systemd[1]: xrdp.servic e: Control process exited, code=exited, status=217/USER Apr 08 22:38:18 DietPi-HTPC systemd[1]: xrdp.servic e: Failed with result 'exit-code'. Apr 08 22:38:18 DietPi-HTPC systemd[1]: Failed to s tart xrdp daemon. ```
MichaIng commented 3 years ago

Nope, all data and config is preserved, only the install/program files/binaries are updates.

ZiggyPi commented 3 years ago

@MichaIng

log of reinstalls ``` root@DietPi-HTPC:~# systemctl restart xrdp Job for xrdp.service failed because the control process exited with error cRPi 4 Model B (armv7l) | IP: 10.0.0.30 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ DietPi-Software β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚ β”‚β”‚ Would you like to create (or update) a "DietPi-Backup" of the system, β”‚β”‚ before proceeding? β”‚β”‚ β”‚β”‚ "DietPi-Backup" creates a system restore point, which can be recovered β”‚β”‚ if unexpected issues occur. β”‚β”‚ β”‚β”‚ For more information on "DietPi-Backup", please use the link below: β”‚β”‚ - https://dietpi.com/docs/dietpi_tools/#dietpi-backup-backuprestore β”‚β”‚ β”‚β”‚ β”‚β”‚ β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜[ OK ] DietPi-Software | Free space check: path=/ | available=31904 MiB | required=500 MiB [ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata[ OK ] DietPi-Software | Checking network connectivity [ OK ] DietPi-Software | Checking DNS resolver [ OK ] Network time sync | Completed [ SUB1 ] DietPi-Services > unmask [ OK ] DietPi-Services | unmask : nmbd [ OK ] DietPi-Services | unmask : smbd [ OK ] DietPi-Services | unmask : nfs-kernel-server [ OK ] DietPi-Services | unmask : redis-server [ OK ] DietPi-Services | unmask : mariadb [ OK ] DietPi-Services | unmask : php7.3-fpm [ OK ] DietPi-Services | unmask : nginx [ OK ] DietPi-Services | unmask : lighttpd [ OK ] DietPi-Services | unmask : coturn [ OK ] DietPi-Services | unmask : deluged [ OK ] DietPi-Services | unmask : plexmediaserver [ OK ] DietPi-Services | unmask : ubooquity [ OK ] DietPi-Services | unmask : jackett [ OK ] DietPi-Services | unmask : sonarr [ OK ] DietPi-Services | unmask : radarr [ OK ] DietPi-Services | unmask : lidarr [ OK ] DietPi-Services | unmask : deluge-web [ OK ] DietPi-Services | unmask : rpimonitor [ OK ] DietPi-Services | unmask : htpc-manager [ OK ] DietPi-Services | unmask : docker [ OK ] DietPi-Services | unmask : cron [ SUB1 ] DietPi-Services > stop [ OK ] DietPi-Services | stop : cron [ OK ] DietPi-Services | stop : docker [ OK ] DietPi-Services | stop : htpc-manager [ OK ] DietPi-Services | stop : rpimonitor [ OK ] DietPi-Services | stop : deluge-web [ OK ] DietPi-Services | stop : lidarr [ OK ] DietPi-Services | stop : radarr [ OK ] DietPi-Services | stop : sonarr [ OK ] DietPi-Services | stop : jackett [ OK ] DietPi-Services | stop : ubooquity [ OK ] DietPi-Services | stop : plexmediaserver [ OK ] DietPi-Services | stop : deluged [ OK ] DietPi-Services | stop : coturn [ OK ] DietPi-Services | stop : lighttpd [ OK ] DietPi-Services | stop : nginx [ OK ] DietPi-Services | stop : php7.3-fpm [ OK ] DietPi-Services | stop : mariadb [ OK ] DietPi-Services | stop : redis-server [ OK ] DietPi-Services | stop : nfs-kernel-server [ OK ] DietPi-Services | stop : smbd [ OK ] DietPi-Services | stop : nmbd [ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt [ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads [ OK ] DietPi-Software | chmod 775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads [ INFO ] DietPi-Software | APT update, please wait... Hit:1 https://downloads.plex.tv/repo/deb public InRelease Hit:2 https://apt.sonarr.tv develop InRelease Hit:3 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease Get:4 https://download.docker.com/linux/raspbian buster InRelease [29.7 kB]Get:5 https://archive.raspberrypi.org/debian buster InRelease [32.9 kB] Get:6 https://mirror.netcologne.de/raspbian/raspbian buster InRelease [15.0 kB] Hit:7 https://download.mono-project.com/repo/debian raspbianbuster InRelease Get:8 https://archive.raspberrypi.org/debian buster/main armhf Packages [372 kB] Get:9 https://mirror.netcologne.de/raspbian/raspbian buster/main armhf Packages [13.0 MB] Fetched 13.5 MB in 11s (1205 kB/s) Reading package lists... [ OK ] DietPi-Software | APT update DietPi-Software ───────────────────────────────────────────────────── Mode: Checking for prerequisite software [ INFO ] DietPi-Software | Mono will be installed [ INFO ] DietPi-Software | Java will be installed [ INFO ] DietPi-Software | SQLite will be installed DietPi-Software ───────────────────────────────────────────────────── Mode: Installing Java: OpenJDK runtime environment and development kit [ INFO ] DietPi-Software | APT install for: ca-certificates-java openjdk-11-jre-headless openjdk-11-jdk-headless, please wait... (1/2) [ OK ] DietPi-Software | APT install for: ca-certificates-java openjdk-11-jre-headless openjdk-11-jdk-headless DietPi-Software ───────────────────────────────────────────────────── Mode: Installing Mono: runtime libraries and repo Executing: /tmp/apt-key-gpghome.2ZKcWQVOSw/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF gpg: key A6A19B38D3D831EF: "Xamarin Public Jenkins (auto-signing) " not changed gpg: Total number processed: 1 gpg: unchanged: 1 [ INFO ] DietPi-Software | APT update, please wait... Hit:1 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease Hit:2 https://downloads.plex.tv/repo/deb public InRelease Hit:3 https://archive.raspberrypi.org/debian buster InRelease Get:4 https://download.docker.com/linux/raspbian buster InRelease [29.7 kB]Hit:5 https://mirror.netcologne.de/raspbian/raspbian buster InRelease Hit:6 https://download.mono-project.com/repo/debian raspbianbuster InRelease Hit:7 https://apt.sonarr.tv develop InRelease Fetched 29.7 kB in 3s (9677 B/s) Reading package lists... [ OK ] DietPi-Software | APT update [ INFO ] DietPi-Software | APT install for: mono-runtime mono-complete, please wait... [ OK ] DietPi-Software | APT install for: mono-runtime mono-complete [ SUB1 ] DietPi-Services > stop [ OK ] DietPi-Services | stop : cron [ OK ] DietPi-Services | stop : docker [ OK ] DietPi-Services | stop : htpc-manager [ OK ] DietPi-Services | stop : rpimonitor [ OK ] DietPi-Services | stop : deluge-web [ OK ] DietPi-Services | stop : lidarr [ OK ] DietPi-Services | stop : radarr [ OK ] DietPi-Services | stop : sonarr [ OK ] DietPi-Services | stop : jackett [ OK ] DietPi-Services | stop : ubooquity [ OK ] DietPi-Services | stop : plexmediaserver [ OK ] DietPi-Services | stop : deluged [ OK ] DietPi-Services | stop : coturn [ OK ] DietPi-Services | stop : lighttpd [ OK ] DietPi-Services | stop : nginx [ OK ] DietPi-Services | stop : php7.3-fpm [ OK ] DietPi-Services | stop : mariadb [ OK ] DietPi-Services | stop : redis-server [ OK ] DietPi-Services | stop : nfs-kernel-server [ OK ] DietPi-Services | stop : smbd [ OK ] DietPi-Services | stop : nmbd DietPi-Software ───────────────────────────────────────────────────── Mode: Installing SQLite: database [ INFO ] DietPi-Software | APT install for: sqlite3 php7.3-sqlite3, please wait... [ OK ] DietPi-Software | APT install for: sqlite3 php7.3-sqlite3 DietPi-Software ───────────────────────────────────────────────────── Mode: Installing Ubooquity: free home server for your comics and ebooks library [ OK ] DietPi-Software | curl -sSfL https://vaemendis.net/ubooquity/service/download.php -o Ubooquity.zip [ OK ] DietPi-Software | unzip -o Ubooquity.zip [ OK ] DietPi-Software | rm Ubooquity.zip [ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/ubooquity [ OK ] DietPi-Software | mv Ubooquity.jar /mnt/dietpi_userdata/ubooquity/Ubooquity.jar DietPi-Software ───────────────────────────────────────────────────── Mode: Installing Lidarr: automatically download music [ INFO ] DietPi-Software | Lidarr install dir "/opt/Lidarr" already exists. Download and install steps will be skipped. - If you want to update Lidarr, please use the internal updater from web UI. - If you need to reinstall (e.g. broken instance), please manually remove the install dir "/opt/Lidarr" and rerun "dietpi-software reinstall 106". [ SUB1 ] DietPi-Services > stop [ OK ] DietPi-Services | stop : cron [ OK ] DietPi-Services | stop : docker [ OK ] DietPi-Services | stop : htpc-manager [ OK ] DietPi-Services | stop : rpimonitor [ OK ] DietPi-Services | stop : deluge-web [ OK ] DietPi-Services | stop : lidarr [ OK ] DietPi-Services | stop : radarr [ OK ] DietPi-Services | stop : sonarr [ OK ] DietPi-Services | stop : jackett [ OK ] DietPi-Services | stop : ubooquity [ OK ] DietPi-Services | stop : plexmediaserver [ OK ] DietPi-Services | stop : deluged [ OK ] DietPi-Services | stop : coturn [ OK ] DietPi-Services | stop : lighttpd [ OK ] DietPi-Services | stop : nginx [ OK ] DietPi-Services | stop : php7.3-fpm [ OK ] DietPi-Services | stop : mariadb [ OK ] DietPi-Services | stop : redis-server [ OK ] DietPi-Services | stop : nfs-kernel-server [ OK ] DietPi-Services | stop : smbd [ OK ] DietPi-Services | stop : nmbd DietPi-Software ───────────────────────────────────────────────────── Mode: Configuring Ubooquity: free home server for your comics and ebooks library [ OK ] DietPi-Software | Verifying user "ubooquity" to run Ubooquity [ OK ] DietPi-Software | useradd -rMU -G dietpi -d /mnt/dietpi_userdata/ubooquity -s /usr/sbin/nologin ubooquity [ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/ebooks /mnt/dietpi_userdata/comics [ OK ] DietPi-Software | rm -Rf /mnt/dietpi_userdata/ubooquity/logs /var/log/ubooquity [ OK ] DietPi-Software | mkdir -p /var/log/ubooquity [ OK ] DietPi-Software | ln -s /var/log/ubooquity /mnt/dietpi_userdata/ubooquity/logs [ INFO ] DietPi-Software | Generating systemd service to start Ubooquity on boot [ OK ] DietPi-Software | chmod +x /mnt/dietpi_userdata/ubooquity/Ubooquity.jar [ OK ] DietPi-Software | chown -R ubooquity /mnt/dietpi_userdata/ubooquity /var/log/ubooquity [ OK ] DietPi-Software | chown ubooquity:dietpi /mnt/dietpi_userdata/ebooks /mnt/dietpi_userdata/comics [ OK ] DietPi-Software | chmod 775 /mnt/dietpi_userdata/ebooks /mnt/dietpi_userdata/comics DietPi-Software ───────────────────────────────────────────────────── Mode: Configuring Lidarr: automatically download music [ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/lidarr [ OK ] DietPi-Software | Verifying user "lidarr" to run Lidarr [ OK ] DietPi-Software | useradd -rMN -g dietpi -d /mnt/dietpi_userdata/lidarr -s /usr/sbin/nologin lidarr [ OK ] DietPi-Software | rm -Rf /mnt/dietpi_userdata/lidarr/logs /mnt/dietpi_userdata/lidarr/logs.db /mnt/dietpi_userdata/lidarr/logs.db-shm /mnt/dietpi_userdata/lidarr/logs.db-wal [ OK ] DietPi-Software | mkdir -p /var/log/lidarr [ OK ] DietPi-Software | ln -s /var/log/lidarr /mnt/dietpi_userdata/lidarr/logs [ OK ] DietPi-Software | ln -s /var/log/lidarr/logs.db /mnt/dietpi_userdata/lidarr/logs.db [ OK ] DietPi-Software | ln -s /var/log/lidarr/logs.db-shm /mnt/dietpi_userdata/lidarr/logs.db-shm [ OK ] DietPi-Software | ln -s /var/log/lidarr/logs.db-wal /mnt/dietpi_userdata/lidarr/logs.db-wal [ OK ] DietPi-Software | chown -R lidarr:dietpi /mnt/dietpi_userdata/lidarr /opt/Lidarr /var/log/lidarr [ SUB1 ] DietPi-Services > dietpi_controlled [ OK ] DietPi-Services | dietpi_controlled : nmbd [ OK ] DietPi-Services | dietpi_controlled : smbd [ OK ] DietPi-Services | dietpi_controlled : nfs-kernel-server [ OK ] DietPi-Services | dietpi_controlled : redis-server [ OK ] DietPi-Services | dietpi_controlled : mariadb [ OK ] DietPi-Services | dietpi_controlled : php7.3-fpm [ OK ] DietPi-Services | dietpi_controlled : nginx [ OK ] DietPi-Services | dietpi_controlled : lighttpd [ OK ] DietPi-Services | dietpi_controlled : coturn [ OK ] DietPi-Services | dietpi_controlled : deluged [ OK ] DietPi-Services | dietpi_controlled : plexmediaserver [ OK ] DietPi-Services | dietpi_controlled : ubooquity [ OK ] DietPi-Services | dietpi_controlled : jackett [ OK ] DietPi-Services | dietpi_controlled : sonarr [ OK ] DietPi-Services | dietpi_controlled : radarr [ OK ] DietPi-Services | dietpi_controlled : lidarr [ OK ] DietPi-Services | dietpi_controlled : deluge-web [ OK ] DietPi-Services | dietpi_controlled : rpimonitor [ OK ] DietPi-Services | dietpi_controlled : htpc-manager [ OK ] DietPi-Services | dietpi_controlled : docker [ OK ] DietPi-Services | dietpi_controlled : cron [ SUB1 ] DietPi-Set_hardware > headless (disable) [ OK ] DietPi-Set_hardware | Desired setting in /boot/dietpi.txt was already set: AUTO_SETUP_HEADLESS=0 [ OK ] headless disable | Completed [ OK ] DietPi-Survey | Purging survey data DietPi-Software ───────────────────────────────────────────────────── Mode: Installation completed [ SUB1 ] DietPi-Services > restart [ OK ] DietPi-Services | restart : nmbd [ OK ] DietPi-Services | restart : smbd [ OK ] DietPi-Services | restart : nfs-kernel-server [ OK ] DietPi-Services | restart : redis-server [ OK ] DietPi-Services | restart : mariadb [ OK ] DietPi-Services | restart : php7.3-fpm [ OK ] DietPi-Services | restart : nginx [ OK ] DietPi-Services | restart : lighttpd [ OK ] DietPi-Services | restart : coturn [ OK ] DietPi-Services | restart : deluged [ OK ] DietPi-Services | restart : plexmediaserver [ OK ] DietPi-Services | restart : ubooquity [ OK ] DietPi-Services | restart : jackett [ OK ] DietPi-Services | restart : sonarr [ OK ] DietPi-Services | restart : radarr [ OK ] DietPi-Services | restart : lidarr [ OK ] DietPi-Services | restart : deluge-web [ OK ] DietPi-Services | restart : rpimonitor [ OK ] DietPi-Services | restart : htpc-manager [ OK ] DietPi-Services | restart : docker [ OK ] DietPi-Services | restart : cron [FAILED] DietPi-Services | ncc maintenance:mode --off ```
MichaIng commented 3 years ago

So far so good. Lets see which ones are working now and how the XRDP logs say:

dietpi-servives status
journalctl -u xrdp
Joulinar commented 3 years ago

somehow NextCloud is still failing and stuck in maintenance mode. Maybe a reboot would be good to see what is missing still and if everything is surviving πŸ˜ƒ

ZiggyPi commented 3 years ago

@MichaIng

Status log ``` root@DietPi-HTPC:~# dietpi-services status DietPi-Services ───────────────────────────────────────────────────── Mode: status [ OK ] DietPi-Services | nmbd active (running) since Thu 2021-04-08 22:43:33 CEST; 38min ago [ OK ] DietPi-Services | smbd active (running) since Thu 2021-04-08 22:43:34 CEST; 38min ago [ OK ] DietPi-Services | nfs-kernel-server active (exited) since Thu 2021-04-08 22:43:34 CEST; 38min ago [ OK ] DietPi-Services | redis-server active (running) since Thu 2021-04-08 22:43:35 CEST; 38min ago [ OK ] DietPi-Services | mariadb active (running) since Thu 2021-04-08 22:43:36 CEST; 38min ago [ OK ] DietPi-Services | php7.3-fpm active (running) since Thu 2021-04-08 22:43:36 CEST; 38min ago [ OK ] DietPi-Services | nginx active (running) since Thu 2021-04-08 22:43:36 CEST; 38min ago [FAILED] DietPi-Services | ● lighttpd.service - Lighttpd Daemon Loaded: loaded (/lib/systemd/system/lighttpd.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 22:43:41 CEST; 38min ago Process: 19852 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS) Process: 19889 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION) Main PID: 19889 (code=exited, status=255/EXCEPTION) Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5. Apr 08 22:43:41 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Start request repeated too quickly. Apr 08 22:43:41 DietPi-HTPC systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 08 22:43:41 DietPi-HTPC systemd[1]: Failed to start Lighttpd Daemon. [ OK ] DietPi-Services | coturn active (running) since Thu 2021-04-08 22:43:39 CEST; 38min ago [ OK ] DietPi-Services | deluged active (running) since Thu 2021-04-08 22:43:39 CEST; 38min ago [ OK ] DietPi-Services | plexmediaserver active (running) since Thu 2021-04-08 22:43:39 CEST; 38min ago [ OK ] DietPi-Services | ubooquity active (running) since Thu 2021-04-08 22:43:39 CEST; 38min ago [ OK ] DietPi-Services | jackett activating (auto-restart) since Thu 2021-04-08 23:22:25 CEST; 2s ago [FAILED] DietPi-Services | ● sonarr.service - Sonarr (NzbDrone) Daemon (DietPi) Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 22:43:40 CEST; 38min ago Process: 19814 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr (code=exited, status=1/FAILURE) Main PID: 19814 (code=exited, status=1/FAILURE) Apr 08 22:43:39 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 08 22:43:40 DietPi-HTPC systemd[1]: sonarr.service: Main process exited, code=exited, status=1/FAILURE Apr 08 22:43:40 DietPi-HTPC systemd[1]: sonarr.service: Failed with result 'exit-code'. [ OK ] DietPi-Services | radarr active (running) since Thu 2021-04-08 22:43:39 CEST; 38min ago [FAILED] DietPi-Services | ● lidarr.service - Lidarr Daemon (DietPi) Loaded: loaded (/etc/systemd/system/lidarr.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 22:43:44 CEST; 38min ago Process: 20039 ExecStart=/usr/bin/mono -O=-aot /opt/Lidarr/Lidarr.exe -nobrowser -data=/mnt/dietpi_userdata/lidarr (code=exited, status=1/FAILURE) Main PID: 20039 (code=exited, status=1/FAILURE) Apr 08 22:43:43 DietPi-HTPC systemd[1]: lidarr.service: Main process exited, code=exited, status=1/FAILURE Apr 08 22:43:43 DietPi-HTPC systemd[1]: lidarr.service: Failed with result 'exit-code'. Apr 08 22:43:44 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 22:43:44 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5. Apr 08 22:43:44 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 22:43:44 DietPi-HTPC systemd[1]: lidarr.service: Start request repeated too quickly. Apr 08 22:43:44 DietPi-HTPC systemd[1]: lidarr.service: Failed with result 'exit-code'. Apr 08 22:43:44 DietPi-HTPC systemd[1]: Failed to start Lidarr Daemon (DietPi). [ OK ] DietPi-Services | deluge-web active (running) since Thu 2021-04-08 22:43:40 CEST; 38min ago [ OK ] DietPi-Services | rpimonitor active (running) since Thu 2021-04-08 22:43:41 CEST; 38min ago [ OK ] DietPi-Services | htpc-manager active (running) since Thu 2021-04-08 22:43:41 CEST; 38min ago [ OK ] DietPi-Services | docker active (running) since Thu 2021-04-08 22:43:41 CEST; 38min ago [ OK ] DietPi-Services | cron active (running) since Thu 2021-04-08 22:43:42 CEST; 38min ago [ OK ] DietPi-Services | dropbear active (running) since Tue 2021-04-06 13:04:22 CEST; 2 days ago [ OK ] DietPi-Services | vncserver active (exited) since Tue 2021-04-06 13:04:22 CEST; 2 days ago [FAILED] DietPi-Services | ● xrdp.service - xrdp daemon Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 22:38:18 CEST; 44min ago Docs: man:xrdp(8) man:xrdp.ini(5) Apr 08 22:43:23 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:24 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:24 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:25 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:26 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:27 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:28 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:28 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:29 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:30 DietPi-HTPC systemd[1]: /lib/systemd/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. [ OK ] DietPi-Services | dietpi-ramlog active (exited) since Tue 2021-04-06 13:01:06 CEST; 2 days ago [ OK ] DietPi-Services | dietpi-preboot active (exited) since Tue 2021-04-06 13:02:36 CEST; 2 days ago [ OK ] DietPi-Services | dietpi-boot active (exited) since Tue 2021-04-06 13:04:22 CEST; 2 days ago [ OK ] DietPi-Services | dietpi-postboot active (exited) since Tue 2021-04-06 13:04:22 CEST; 2 days ago [ OK ] DietPi-Services | dietpi-wifi-monitor active (running) since Tue 2021-04-06 13:04:22 CEST; 2 days ago ```
xrdp log ``` root@DietPi-HTPC:~# journalctl -u xrdp -- Logs begin at Thu 2021-04-08 01:25:01 CEST, end at Thu 2021-04-08 23:26:44 CEST. -- Apr 08 21:20:38 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:38:18 DietPi-HTPC systemd[1]: Starting xrdp daemon... Apr 08 22:38:18 DietPi-HTPC systemd[15754]: xrdp.se rvice: Failed to determine user credentials: No such process Apr 08 22:38:18 DietPi-HTPC systemd[15754]: xrdp.se rvice: Failed at step USER spawning /bin/sh: No such process Apr 08 22:38:18 DietPi-HTPC systemd[1]: xrdp.servic e: Control process exited, code=exited, status=217/USER Apr 08 22:38:18 DietPi-HTPC systemd[1]: xrdp.servic e: Failed with result 'exit-code'. Apr 08 22:38:18 DietPi-HTPC systemd[1]: Failed to s tart xrdp daemon. Apr 08 22:41:01 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:02 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:02 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:03 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:04 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:05 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:05 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:06 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:07 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:08 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:09 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:09 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:10 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:11 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:12 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:12 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:13 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:14 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:15 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:16 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:41:16 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:00 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:00 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:01 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:02 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:02 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:03 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:04 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:05 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:05 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:06 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:07 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:07 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:08 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:09 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:10 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:10 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:11 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:12 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:13 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:14 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:14 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:15 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:16 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:17 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:17 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:18 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:19 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:20 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:21 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:21 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:22 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:23 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:24 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:24 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:25 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:26 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:27 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:28 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:28 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:29 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 08 22:43:30 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. ```

I will also do a reboot

status log after reboot ``` root@DietPi-HTPC:~# dietpi-services status [ INFO ] DietPi-Services | Concurrent execution of DietPi-Services detected, retrying... (1/5) [ INFO ] DietPi-Services | Concurrent execution of DietPi-Services detected, retrying... (2/5) [ INFO ] DietPi-Services | Concurrent execution of DietPi-Services detected, retrying... (3/5) DietPi-Services ───────────────────────────────────────────────────── Mode: status [ OK ] DietPi-Services | nmbd active (running) since Thu 2021-04-08 23:32:24 CEST; 14s ago [ OK ] DietPi-Services | smbd active (running) since Thu 2021-04-08 23:32:25 CEST; 14s ago [ OK ] DietPi-Services | nfs-kernel-server active (exited) since Thu 2021-04-08 23:32:25 CEST; 13s ago [ OK ] DietPi-Services | redis-server active (running) since Thu 2021-04-08 23:32:25 CEST; 13s ago [ OK ] DietPi-Services | mariadb active (running) since Thu 2021-04-08 23:32:27 CEST; 11s ago [ OK ] DietPi-Services | php7.3-fpm active (running) since Thu 2021-04-08 23:32:28 CEST; 10s ago [ OK ] DietPi-Services | nginx active (running) since Thu 2021-04-08 23:32:28 CEST; 10s ago [FAILED] DietPi-Services | ● lighttpd.service - Lighttpd Daemon Loaded: loaded (/lib/systemd/system/lighttpd.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 23:32:34 CEST; 4s ago Process: 1561 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS) Process: 1578 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION) Main PID: 1578 (code=exited, status=255/EXCEPTION) Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Start request repeated too quickly. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Failed to start Lighttpd Daemon. [ OK ] DietPi-Services | coturn active (running) since Thu 2021-04-08 23:32:31 CEST; 7s ago [ OK ] DietPi-Services | deluged active (running) since Thu 2021-04-08 23:32:32 CEST; 7s ago [ OK ] DietPi-Services | plexmediaserver active (running) since Thu 2021-04-08 23:32:32 CEST; 7s ago [ OK ] DietPi-Services | ubooquity active (running) since Thu 2021-04-08 23:32:32 CEST; 7s ago [ OK ] DietPi-Services | jackett activating (auto-restart) since Thu 2021-04-08 23:32:38 CEST; 1s ago [FAILED] DietPi-Services | ● sonarr.service - Sonarr (NzbDrone) Daemon (DietPi) Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 23:32:32 CEST; 7s ago Process: 1512 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr (code=exited, status=1/FAILURE) Main PID: 1512 (code=exited, status=1/FAILURE) Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 08 23:32:32 DietPi-HTPC mono[1512]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:32 DietPi-HTPC mono[1512]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:32 DietPi-HTPC mono[1512]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.service: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.service: Failed with result 'exit-code'. [ OK ] DietPi-Services | radarr active (running) since Thu 2021-04-08 23:32:32 CEST; 7s ago [FAILED] DietPi-Services | ● lidarr.service - Lidarr Daemon (DietPi) Loaded: loaded (/etc/systemd/system/lidarr.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 23:32:36 CEST; 4s ago Process: 1631 ExecStart=/usr/bin/mono -O=-aot /opt/Lidarr/Lidarr.exe -nobrowser -data=/mnt/dietpi_userdata/lidarr (code=exited, status=1/FAILURE) Main PID: 1631 (code=exited, status=1/FAILURE) Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Start request repeated too quickly. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Failed with result 'exit-code'. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Failed to start Lidarr Daemon (DietPi). [ OK ] DietPi-Services | deluge-web active (running) since Thu 2021-04-08 23:32:32 CEST; 7s ago [ OK ] DietPi-Services | rpimonitor active (running) since Thu 2021-04-08 23:32:34 CEST; 6s ago [ OK ] DietPi-Services | htpc-manager active (running) since Thu 2021-04-08 23:32:34 CEST; 6s ago Warning: The unit file, source configuration file or drop-ins of docker.service changed on disk. Run 'systemctl daemon-reload' to reload units. [ OK ] DietPi-Services | docker active (running) since Thu 2021-04-08 23:32:34 CEST; 6s ago [ OK ] DietPi-Services | cron active (running) since Thu 2021-04-08 23:32:34 CEST; 6s ago [ OK ] DietPi-Services | dropbear active (running) since Thu 2021-04-08 23:32:19 CEST; 21s ago [ OK ] DietPi-Services | vncserver active (exited) since Thu 2021-04-08 23:32:18 CEST; 22s ago [FAILED] DietPi-Services | ● xrdp.service - xrdp daemon Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2021-04-08 23:32:18 CEST; 22s ago Docs: man:xrdp(8) man:xrdp.ini(5) Process: 694 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited, status=217/USER) Apr 08 23:32:18 DietPi-HTPC systemd[1]: Starting xrdp daemon... Apr 08 23:32:18 DietPi-HTPC systemd[694]: xrdp.service: Failed to determine user credentials: No such process Apr 08 23:32:18 DietPi-HTPC systemd[694]: xrdp.service: Failed at step USER spawning /bin/sh: No such process Apr 08 23:32:18 DietPi-HTPC systemd[1]: xrdp.service: Control process exited, code=exited, status=217/USER Apr 08 23:32:18 DietPi-HTPC systemd[1]: xrdp.service: Failed with result 'exit-code'. Apr 08 23:32:18 DietPi-HTPC systemd[1]: Failed to start xrdp daemon. [ OK ] DietPi-Services | dietpi-ramlog active (exited) since Thu 2021-04-08 23:31:47 CEST; 53s ago [ OK ] DietPi-Services | dietpi-preboot active (exited) since Thu 2021-04-08 23:31:48 CEST; 53s ago [ OK ] DietPi-Services | dietpi-boot active (exited) since Thu 2021-04-08 23:32:18 CEST; 22s ago [ OK ] DietPi-Services | dietpi-postboot active (exited) since Thu 2021-04-08 23:32:18 CEST; 22s ago [ OK ] DietPi-Services | dietpi-wifi-monitor active (running) since Thu 2021-04-08 23:32:18 CEST; 22s ago ```
MichaIng commented 3 years ago

So somehow many service users have gone, same for XRDP and likely Sonarr:

apt install --reinstall nzbdrone xrdp
usermod -aG redis www-data # this probably fixes Nextcloud
journalctl -u lighttpd -u lidarr
ZiggyPi commented 3 years ago

@MichaIng

log from reinstall ``` root@DietPi-HTPC:~# apt install --reinstall nzbdrone xrdp Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 1 not upgraded. Need to get 4,829 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://apt.sonarr.tv develop/main armhf nzbdrone all 2.0.0.5343 [4,434 kB] Get:2 https://mirror.netcologne.de/raspbian/raspbian buster/main armhf xrdp armhf 0.9.9-1+deb10u1 [395 kB] Fetched 4,829 kB in 1s (4,587 kB/s) (Reading database ... 84125 files and directories currently installed.) Preparing to unpack .../nzbdrone_2.0.0.5343_all.deb ... Unpacking nzbdrone (2.0.0.5343) over (2.0.0.5343) ... Preparing to unpack .../xrdp_0.9.9-1+deb10u1_armhf.deb ... Unpacking xrdp (0.9.9-1+deb10u1) over (0.9.9-1+deb10u1) ... Setting up nzbdrone (2.0.0.5343) ... Setting up xrdp (0.9.9-1+deb10u1) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... Processing triggers for libc-bin (2.28-10+rpi1) ... ```
log from journalctl ``` root@DietPi-HTPC:~# journalctl -u lighttpd -u lidarr -- Logs begin at Thu 2021-04-08 23:31:45 CEST, end at Thu 2021-04-08 23:47:56 CEST. -- Apr 08 23:32:29 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. Apr 08 23:32:29 DietPi-HTPC systemd[1]: Starting Lighttpd Daemon... Apr 08 23:32:29 DietPi-HTPC lighttpd[1392]: 2021-04-08 23:32:29: (server.c.1493) WARNING: unknown config-key: setenv.add-response-header (ignored) Apr 08 23:32:29 DietPi-HTPC systemd[1]: Started Lighttpd Daemon. Apr 08 23:32:30 DietPi-HTPC lighttpd[1412]: 2021-04-08 23:32:29: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in use Apr 08 23:32:30 DietPi-HTPC systemd[1]: lighttpd.se rvice: Main process exited, code=exited, status=255/EXCEPTION Apr 08 23:32:30 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:30 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:30 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 1. Apr 08 23:32:30 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:30 DietPi-HTPC systemd[1]: Starting Lighttpd Daemon... Apr 08 23:32:30 DietPi-HTPC lighttpd[1461]: 2021-04-08 23:32:30: (server.c.1493) WARNING: unknown config-key: setenv.add-response-header (ignored) Apr 08 23:32:30 DietPi-HTPC systemd[1]: Started Lighttpd Daemon. Apr 08 23:32:31 DietPi-HTPC lighttpd[1466]: 2021-04-08 23:32:30: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in use Apr 08 23:32:31 DietPi-HTPC systemd[1]: lighttpd.se rvice: Main process exited, code=exited, status=255/EXCEPTION Apr 08 23:32:31 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:31 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:31 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 2. Apr 08 23:32:31 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:31 DietPi-HTPC systemd[1]: Starting Lighttpd Daemon... Apr 08 23:32:31 DietPi-HTPC lighttpd[1471]: 2021-04-08 23:32:31: (server.c.1493) WARNING: unknown config-key: setenv.add-response-header (ignored) Apr 08 23:32:31 DietPi-HTPC systemd[1]: Started Lighttpd Daemon. Apr 08 23:32:32 DietPi-HTPC lighttpd[1476]: 2021-04-08 23:32:31: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in use Apr 08 23:32:32 DietPi-HTPC systemd[1]: lighttpd.se rvice: Main process exited, code=exited, status=255/EXCEPTION Apr 08 23:32:32 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:32 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:32 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 3. Apr 08 23:32:32 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:32 DietPi-HTPC systemd[1]: Starting Lighttpd Daemon... Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:32 DietPi-HTPC lighttpd[1501]: 2021-04-08 23:32:32: (server.c.1493) WARNING: unknown config-key: setenv.add-response-header (ignored) Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Lighttpd Daemon. Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:32 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:32 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:33 DietPi-HTPC lighttpd[1532]: 2021-04-08 23:32:32: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in use Apr 08 23:32:33 DietPi-HTPC systemd[1]: lighttpd.se rvice: Main process exited, code=exited, status=255/EXCEPTION Apr 08 23:32:33 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 1. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 4. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Starting Lighttpd Daemon... Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:33 DietPi-HTPC lighttpd[1561]: 2021-04-08 23:32:33: (server.c.1493) WARNING: unknown config-key: setenv.add-response-header (ignored) Apr 08 23:32:33 DietPi-HTPC systemd[1]: Started Lighttpd Daemon. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 2. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:34 DietPi-HTPC lighttpd[1578]: 2021-04-08 23:32:33: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in use Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.se rvice: Main process exited, code=exited, status=255/EXCEPTION Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 3. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 5. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Stopped Lighttpd Daemon. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.se rvice: Start request repeated too quickly. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lighttpd.se rvice: Failed with result 'exit-code'. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Failed to s tart Lighttpd Daemon. Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 4. Apr 08 23:32:35 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:35 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.serv ice: Start request repeated too quickly. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Failed to s tart Lidarr Daemon (DietPi). Apr 08 23:44:42 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. Apr 08 23:44:46 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. Apr 08 23:44:47 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. Apr 08 23:44:50 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. Apr 08 23:44:51 DietPi-HTPC systemd[1]: /lib/system d/system/lighttpd.service:6: PIDFile= references path below legacy directory /var/run/, updating /var/run/lighttpd.pid β†’ /run/lighttpd.pid; please update the unit file accordingly. ```
Joulinar commented 3 years ago

hmm there seems to be something running on port 80 (http) already

Apr 08 23:32:34 DietPi-HTPC lighttpd[1578]: 2021-04-08 23:32:33: (network.c.313) can't bind to socket: 0.0.0.0:80 Address already in us

pls can you have a look ss -tulpn | grep LISTEN

ZiggyPi commented 3 years ago

@Joulinar

listen log ``` root@DietPi-HTPC:~# ss -tulpn | grep LISTEN tcp LISTEN 0 128 127.0.0.1:32600 0.0.0.0:* users:(("Plex Tuner Serv",pid=2068,fd=13)) tcp LISTEN 0 5 0.0.0.0:8888 0.0.0.0:* users:(("rpimonitord",pid=1602,fd=5)) tcp LISTEN 0 128 0.0.0.0:443 0.0.0.0:* users:(("nginx",pid=1389,fd=8),("nginx",pid=1387,fd=8),("nginx",pid=1386,fd=8),("nginx",pid=1385,fd=8),("nginx",pid=1384,fd=8)) tcp LISTEN 0 64 0.0.0.0:44763 0.0.0.0:* tcp LISTEN 0 128 0.0.0.0:58939 0.0.0.0:* users:(("rpc.mountd",pid=872,fd=17)) tcp LISTEN 0 50 0.0.0.0:445 0.0.0.0:* users:(("smbd",pid=810,fd=30)) tcp LISTEN 0 50 0.0.0.0:58846 0.0.0.0:* users:(("deluged",pid=1483,fd=16)) tcp LISTEN 0 5 0.0.0.0:6881 0.0.0.0:* users:(("deluged",pid=1483,fd=13)) tcp LISTEN 0 64 0.0.0.0:2049 0.0.0.0:* tcp LISTEN 0 128 127.0.0.1:41545 0.0.0.0:* users:(("Plex Script Hos",pid=1681,fd=7)) tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mysqld",pid=1076,fd=23)) tcp LISTEN 0 128 127.0.0.1:6379 0.0.0.0:* users:(("redis-server",pid=950,fd=6)) tcp LISTEN 0 50 0.0.0.0:139 0.0.0.0:* users:(("smbd",pid=810,fd=31)) tcp LISTEN 0 5 0.0.0.0:5900 0.0.0.0:* users:(("vncserver-x11-c",pid=628,fd=11)) tcp LISTEN 0 5 0.0.0.0:5901 0.0.0.0:* users:(("Xtigervnc",pid=725,fd=7)) tcp LISTEN 0 5 0.0.0.0:5999 0.0.0.0:* users:(("vncserver-virtu",pid=620,fd=7)) tcp LISTEN 0 128 0.0.0.0:111 0.0.0.0:* users:(("rpcbind",pid=292,fd=4),("systemd",pid=1,fd=73)) tcp LISTEN 0 50 0.0.0.0:8112 0.0.0.0:* users:(("deluge-web",pid=1524,fd=5)) tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=1389,fd=5),("nginx",pid=1387,fd=5),("nginx",pid=1386,fd=5),("nginx",pid=1385,fd=5),("nginx",pid=1384,fd=5)) tcp LISTEN 0 128 127.0.0.1:32401 0.0.0.0:* users:(("Plex Media Serv",pid=1500,fd=61)) tcp LISTEN 0 128 0.0.0.0:47987 0.0.0.0:* users:(("rpc.mountd",pid=872,fd=9)) tcp LISTEN 0 10 0.0.0.0:8085 0.0.0.0:* users:(("python",pid=1604,fd=5)) tcp LISTEN 0 128 10.0.0.30:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=87)) tcp LISTEN 0 128 127.0.0.1:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=85)) tcp LISTEN 0 128 10.0.0.30:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=73)) tcp LISTEN 0 128 10.0.0.30:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=72)) tcp LISTEN 0 128 10.0.0.30:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=71)) tcp LISTEN 0 128 127.0.0.1:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=65)) tcp LISTEN 0 128 127.0.0.1:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=38)) tcp LISTEN 0 128 127.0.0.1:3478 0.0.0.0:* users:(("turnserver",pid=1423,fd=43)) tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("dropbear",pid=705,fd=3)) tcp LISTEN 0 128 10.0.0.30:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=88)) tcp LISTEN 0 128 127.0.0.1:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=86)) tcp LISTEN 0 128 10.0.0.30:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=77)) tcp LISTEN 0 128 10.0.0.30:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=75)) tcp LISTEN 0 128 10.0.0.30:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=76)) tcp LISTEN 0 128 127.0.0.1:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=69)) tcp LISTEN 0 128 127.0.0.1:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=67)) tcp LISTEN 0 128 127.0.0.1:3479 0.0.0.0:* users:(("turnserver",pid=1423,fd=66)) tcp LISTEN 0 128 0.0.0.0:39639 0.0.0.0:* users:(("rpc.mountd",pid=872,fd=13)) tcp LISTEN 0 128 [::]:443 [::]:* users:(("nginx",pid=1389,fd=7),("nginx",pid=1387,fd=7),("nginx",pid=1386,fd=7),("nginx",pid=1385,fd=7),("nginx",pid=1384,fd=7)) tcp LISTEN 0 128 [::]:46299 [::]:* users:(("rpc.mountd",pid=872,fd=15)) tcp LISTEN 0 50 [::]:445 [::]:* users:(("smbd",pid=810,fd=28)) tcp LISTEN 0 5 [::]:6881 [::]:* users:(("deluged",pid=1483,fd=12)) tcp LISTEN 0 64 [::]:2049 [::]:* tcp LISTEN 0 128 [::]:55365 [::]:* users:(("rpc.mountd",pid=872,fd=11)) tcp LISTEN 0 128 *:7878 *:* users:(("Radarr",pid=1516,fd=222)) tcp LISTEN 0 128 [::1]:6379 [::]:* users:(("redis-server",pid=950,fd=7)) tcp LISTEN 0 50 [::]:139 [::]:* users:(("smbd",pid=810,fd=29)) tcp LISTEN 0 5 [::]:5900 [::]:* users:(("vncserver-x11-c",pid=628,fd=10)) tcp LISTEN 0 128 [::]:42093 [::]:* users:(("rpc.mountd",pid=872,fd=19)) tcp LISTEN 0 5 [::]:5901 [::]:* users:(("Xtigervnc",pid=725,fd=8)) tcp LISTEN 0 5 [::]:5999 [::]:* users:(("vncserver-virtu",pid=620,fd=6)) tcp LISTEN 0 128 [::]:111 [::]:* users:(("rpcbind",pid=292,fd=6),("systemd",pid=1,fd=75)) tcp LISTEN 0 128 *:32400 *:* users:(("Plex Media Serv",pid=1500,fd=60)) tcp LISTEN 0 128 [::]:80 [::]:* users:(("nginx",pid=1389,fd=6),("nginx",pid=1387,fd=6),("nginx",pid=1386,fd=6),("nginx",pid=1385,fd=6),("nginx",pid=1384,fd=6)) tcp LISTEN 0 64 [::]:35857 [::]:* tcp LISTEN 0 50 *:2038 *:* users:(("java",pid=1502,fd=52)) tcp LISTEN 0 128 [::]:22 [::]:* users:(("dropbear",pid=705,fd=4)) tcp LISTEN 0 128 [::1]:3478 [::]:* users:(("turnserver",pid=1423,fd=79)) tcp LISTEN 0 128 [::1]:3478 [::]:* users:(("turnserver",pid=1423,fd=81)) tcp LISTEN 0 128 [::1]:3478 [::]:* users:(("turnserver",pid=1423,fd=82)) tcp LISTEN 0 128 [::1]:3478 [::]:* users:(("turnserver",pid=1423,fd=89)) tcp LISTEN 0 50 *:2039 *:* users:(("java",pid=1502,fd=44)) tcp LISTEN 0 128 [::1]:3479 [::]:* users:(("turnserver",pid=1423,fd=84)) tcp LISTEN 0 128 [::1]:3479 [::]:* users:(("turnserver",pid=1423,fd=83)) tcp LISTEN 0 128 [::1]:3479 [::]:* users:(("turnserver",pid=1423,fd=41)) tcp LISTEN 0 128 [::1]:3479 [::]:* users:(("turnserver",pid=1423,fd=90)) ```
Joulinar commented 3 years ago

you have installed Nginx along with Lighttpd. Means it's 2 web server now. This of course is not going to work.

tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=1389,fd=5),("nginx",pid=1387,fd=5),("nginx",pid=1386,fd=5),("nginx",pid=1385,fd=5),("nginx",pid=1384,fd=5))

any particular reason for this?

ZiggyPi commented 3 years ago

@Joulinar I installed ngix brcaise i founda tutorial on setting up reverse proxy for htpc manager so i could reach sonarr and radarr from outside the network. But never got it to work so i stopped trying.

Joulinar commented 3 years ago

well you would need to decide what to do with NextCloud, keep it with Lighttpd or reinstall on Nginx. If you like to continue with Lighttpd, you would need to change port away from http 80 to 81. Otherwise Lighttpd will not start. You are not able to run Nginx and Lighttpd on same port 80.

ZiggyPi commented 3 years ago

@Joulinar Okay i am not using nginx now. Maybe in the future.so how would i go about changing the port?

MichaIng commented 3 years ago

Also Lighttpd can be used add proxy, or Sonarr/Radarr can be directly accessed when forwarding their port from the router. But let's fix all services locally first.

If you don't use Nginx currently, I suggest to purge it, so no port changes are required:

apt purge nginx
apt autopurge

There is still this issue with Mono runtime on Sonarr and Lidarr. Let's see if reinstalling it helps:

apt install --reinstall mono-runtime
# Ah and probably a full upgrade is required to get the latest version
apt full-upgrade
systemctl restart sonarr lidarr
sleep 3
journalctl -u sonarr -u lidarr
ZiggyPi commented 3 years ago

@MichaIng

purging results ``` root@DietPi-HTPC:~# apt purge nginx Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: nginx* 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. After this operation, 100 kB disk space will be freed. Do you want to continue? [Y/n] y Abort. root@DietPi-HTPC:~# apt autopurge Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. ```
mono reinstall results ``` root@DietPi-HTPC:~# apt install --reinstall mono-runtime Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded. Need to get 32.5 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://download.mono-project.com/repo/debian raspbianbuster/main armhf mono-runtime armhf 6.12.0.122-0xamarin1+raspbian10b1 [32.5 kB] Fetched 32.5 kB in 0s (107 kB/s) (Reading database ... 84125 files and directories currently installed.) Preparing to unpack .../mono-runtime_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking mono-runtime (6.12.0.122-0xamarin1+raspbian10b1) over (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-runtime (6.12.0.122-0xamarin1+raspbian10b1) ... ```
full upgrade results ``` root@DietPi-HTPC:~# apt full-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: plexmediaserver 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 76.9 MB of archives. After this operation, 2,070 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 https://downloads.plex.tv/repo/deb public/main armhf plexmediaserver armhf 1.22.2.4282-a97b03fad [76.9 MB] Fetched 76.9 MB in 17s (4,656 kB/s) (Reading database ... 84125 files and directories currently installed.) Preparing to unpack .../plexmediaserver_1.22.2.4282-a97b03fad_armhf.deb ...PlexMediaServer install: Pre-installation Validation. PlexMediaServer install: Pre-installation Validation complete. Unpacking plexmediaserver (1.22.2.4282-a97b03fad) over (1.22.1.4275-48e10484b) ... Setting up plexmediaserver (1.22.2.4282-a97b03fad) ... PlexMediaServer install: PlexMediaServer-1.22.2.4282-a97b03fad - Installation starting. PlexMediaServer install: PlexMediaServer install: Now installing based on: PlexMediaServer install: Installation Type: Update PlexMediaServer install: Process Control: systemd PlexMediaServer install: Plex User: plex PlexMediaServer install: Plex Group: dietpi PlexMediaServer install: Video Group: video PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support PlexMediaServer install: Temp Directory: /tmp PlexMediaServer install: Lang Encoding: en_US.UTF-8 PlexMediaServer install: Config file used: /etc/systemd/system/plexmediaserver.service.d/dietpi-group.conf PlexMediaServer install: Intel QSV Hardware: Not found PlexMediaServer install: Nvidia GPU card: Not Found PlexMediaServer install: PlexMediaServer install: OpenCL library: Not Installed PlexMediaServer install: Beignet package: Not Installed PlexMediaServer install: PlexMediaServer install: WARNING: Package 'Beignet', required for hardware transcoding of HDR content, is missing. PlexMediaServer install: Please install package: 'beignet-opencl-icd' PlexMediaServer install: WARNING: The OpenCL library, required for hardware transcoding of HDR content, is missing. PlexMediaServer install: Please install package: 'ocl-icd-libopencl1' PlexMediaServer install: PlexMediaServer install: Completing final configuration. PlexMediaServer install: INFO: Plex Media Server is not enabled to start at system boot. PlexMediaServer install: Starting Plex Media Server. PlexMediaServer install: PlexMediaServer-1.22.2.4282-a97b03fad - Installation successful. Errors: 0, Warnings: 2 Processing triggers for mime-support (3.62) ... Processing triggers for desktop-file-utils (0.23-4) ...```
ctl log ``` oot@DietPi-HTPC:~# systemctl restart sonarr lidarr root@DietPi-HTPC:~# sleep 3 root@DietPi-HTPC:~# journalctl -u sonarr -u lidarr -- Logs begin at Thu 2021-04-08 23:31:45 CEST, end at Fri 2021-04-09 07:50:55 CEST. -- Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 08 23:32:32 DietPi-HTPC mono[1512]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:32 DietPi-HTPC mono[1512]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:32 DietPi-HTPC mono[1512]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:32 DietPi-HTPC Lidarr[1521]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:32 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:32 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 1. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:33 DietPi-HTPC Lidarr[1553]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:33 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 2. Apr 08 23:32:33 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:33 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:34 DietPi-HTPC Lidarr[1579]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:34 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 3. Apr 08 23:32:34 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:34 DietPi-HTPC Lidarr[1601]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 4. Apr 08 23:32:35 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:35 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:35 DietPi-HTPC Lidarr[1631]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:35 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.serv ice: Start request repeated too quickly. Apr 08 23:32:36 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 08 23:32:36 DietPi-HTPC systemd[1]: Failed to s tart Lidarr Daemon (DietPi). Apr 09 07:50:49 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 09 07:50:49 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 09 07:50:49 DietPi-HTPC mono[23800]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:49 DietPi-HTPC mono[23800]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:49 DietPi-HTPC mono[23800]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:49 DietPi-HTPC systemd[1]: sonarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:49 DietPi-HTPC systemd[1]: sonarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:49 DietPi-HTPC Lidarr[23801]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:49 DietPi-HTPC Lidarr[23801]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:49 DietPi-HTPC Lidarr[23801]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:49 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:49 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:49 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 09 07:50:49 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 1. Apr 09 07:50:49 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 09 07:50:50 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 09 07:50:50 DietPi-HTPC Lidarr[23807]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:50 DietPi-HTPC Lidarr[23807]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:50 DietPi-HTPC Lidarr[23807]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 2. Apr 09 07:50:50 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 09 07:50:50 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 09 07:50:50 DietPi-HTPC Lidarr[23811]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:50 DietPi-HTPC Lidarr[23811]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:50 DietPi-HTPC Lidarr[23811]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 09 07:50:50 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 3. Apr 09 07:50:50 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 09 07:50:51 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 09 07:50:51 DietPi-HTPC Lidarr[23821]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:51 DietPi-HTPC Lidarr[23821]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:51 DietPi-HTPC Lidarr[23821]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 4. Apr 09 07:50:51 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 09 07:50:51 DietPi-HTPC systemd[1]: Started Lidarr Daemon (DietPi). Apr 09 07:50:51 DietPi-HTPC Lidarr[23829]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:51 DietPi-HTPC Lidarr[23829]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:51 DietPi-HTPC Lidarr[23829]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:51 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:52 DietPi-HTPC systemd[1]: lidarr.service: Service RestartSec=100ms expired, scheduling restart. Apr 09 07:50:52 DietPi-HTPC systemd[1]: lidarr.service: Scheduled restart job, restart counter is at 5. Apr 09 07:50:52 DietPi-HTPC systemd[1]: Stopped Lidarr Daemon (DietPi). Apr 09 07:50:52 DietPi-HTPC systemd[1]: lidarr.serv ice: Start request repeated too quickly. Apr 09 07:50:52 DietPi-HTPC systemd[1]: lidarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:52 DietPi-HTPC systemd[1]: Failed to s tart Lidarr Daemon (DietPi). ```
MichaIng commented 3 years ago

I think there are multiple mono versions installed, as the runtime package is current v6 already while Lidarr and Sonarr are grabbing a v4.5 library file somehow. Can you please show:

which -a mono
dpkg -l | grep mono
dpkg -S /usr/lib/mono/4.5/mscorlib.dll
ZiggyPi commented 3 years ago

@MichaIng

log ``` root@DietPi-HTPC:~# which -a mono /usr/bin/mono root@DietPi-HTPC:~# dpkg -l | grep mono ii ca-certificates-mono 6.12.0.122-0xamarin1+raspbian10b1 all Common CA certificates (Mono keystore) ii libmono-2.0-1 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono JIT library (Default version) ii libmono-2.0-dev 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono JIT library - Development files (Default version) ii libmono-accessibility4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Accessibility library (for CLI 4.0) ii libmono-cairo4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Cairo library (for CLI 4.0) ii libmono-cecil-private-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.Cecil library ii libmono-cil-dev 6.12.0.122-0xamarin1+raspbian10b1 all Mono Base Class Libraries (BCL) - Development files ii libmono-codecontracts4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.CodeContracts library (for CLI 4.0) ii libmono-compilerservices-symbolwriter4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.CompilerServices.SymbolWriter library (for CLI 4.0) ii libmono-corlib4.5-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono core library (for CLI 4.5) ii libmono-cscompmgd0.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono cscompmgd library (for CLI 4.0) ii libmono-csharp4.0c-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.CSharp library (for CLI 4.0) ii libmono-custommarshalers4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono CustomMarshalers library (for CLI 4.0) ii libmono-data-tds4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Data Library (for CLI 4.0) ii libmono-db2-1.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono DB2 library ii libmono-debugger-soft4.0a-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Soft Debugger library (for CLI 4.0) ii libmono-http4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.Http library (for CLI 4.0) ii libmono-i18n-cjk4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N.CJK library (for CLI 4.0) ii libmono-i18n-mideast4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N.MidEast library (for CLI 4.0) ii libmono-i18n-other4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N.Other library (for CLI 4.0) ii libmono-i18n-rare4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N.Rare library (for CLI 4.0) ii libmono-i18n-west4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N.West library (for CLI 4.0) ii libmono-i18n4.0-all 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N libraries metapackage (for CLI 4.0) ii libmono-i18n4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono I18N base library (for CLI 4.0) ii libmono-ldap4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono LDAP library (for CLI 4.0) ii libmono-management4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Management library (for CLI 4.0) ii libmono-messaging-rabbitmq4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Messaging RabbitMQ library (for CLI 4.0) ii libmono-messaging4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Messaging library (for CLI 4.0) ii libmono-microsoft-build-engine4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Build.Engine library (for CLI 4.0) ii libmono-microsoft-build-framework4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Build.Framework library (for CLI 4.0) ii libmono-microsoft-build-tasks-v4.0-4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Build.Tasks.v4.0 library (for CLI 4.0) ii libmono-microsoft-build-utilities-v4.0-4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Build.Utilities.v4.0 library (for CLI 4.0) ii libmono-microsoft-build4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Build library (for CLI 4.0) ii libmono-microsoft-csharp4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.CSharp library (for CLI 4.0) ii libmono-microsoft-visualc10.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.VisualC library (for CLI 4.0) ii libmono-microsoft-web-infrastructure1.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Microsoft.Web.Infrastructure library (for CLI 4.0) ii libmono-oracle4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Oracle library (for CLI 4.0) ii libmono-parallel4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.Parallel library (for CLI 4.0) ii libmono-peapi4.0a-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono PEAPI library (for CLI 4.0) ii libmono-posix4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono.Posix library (for CLI 4.0) ii libmono-profiler 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono profiler libraries ii libmono-rabbitmq4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono RabbitMQ.Client library (for CLI 4.0) ii libmono-relaxng4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Relaxng library (for CLI 4.0) ii libmono-security4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Security library (for CLI 4.0) ii libmono-sharpzip4.84-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono SharpZipLib library (for CLI 4.0) ii libmono-simd4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono SIMD (for CLI 4.0) ii libmono-smdiagnostics0.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono SMDiagnostics Library (for CLI 4.0) ii libmono-sqlite4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Sqlite library (for CLI 4.0) ii libmono-system-componentmodel-composition4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ComponentModel.Composition library (for CLI 4.0) ii libmono-system-componentmodel-dataannotations4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ComponentModel.DataAnnotations library (for CLI 4.0) ii libmono-system-configuration-install4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Configuration.Install library (for CLI 4.0) ii libmono-system-configuration4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Configuration library (for CLI 4.0) ii libmono-system-core4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Core library (for CLI 4.0) ii libmono-system-data-datasetextensions4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data.DataSetExtensions library (for CLI 4.0) ii libmono-system-data-entity4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data.Entity library (for CLI 4.0) ii libmono-system-data-linq4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data.Linq Library (for CLI 4.0) ii libmono-system-data-services-client4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data.Services.Client library (for CLI 4.0) ii libmono-system-data-services4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data.Services library (for CLI 4.0) ii libmono-system-data4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Data library (for CLI 4.0) ii libmono-system-deployment4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Deployment library (for CLI 4.0) ii libmono-system-design4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Design Library (for CLI 4.0) ii libmono-system-drawing-design4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Drawing.Design (for CLI 4.0) ii libmono-system-drawing4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Drawing library (for CLI 4.0) ii libmono-system-dynamic4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Dynamic library (for CLI 4.0) ii libmono-system-enterpriseservices4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.EnterpriseServices library (for CLI 4.0) ii libmono-system-identitymodel-selectors4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.IdentityModel.Selectors Library (for CLI 4.0) ii libmono-system-identitymodel4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.IdentityModel Library (for CLI 4.0) ii libmono-system-io-compression-filesystem4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.IO.Compresion.FileSystem library (for CLI 4.0) ii libmono-system-io-compression4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.IO.Compression library (for CLI 4.0) ii libmono-system-json-microsoft4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Json.Microsoft library (for CLI 4.0) ii libmono-system-json4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Json library (for CLI 4.0) ii libmono-system-ldap-protocols4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.DirectoryServices.Protocols library (for CLI 4.0) ii libmono-system-ldap4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.DirectoryServices library (for CLI 4.0) ii libmono-system-management4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Management library (for CLI 4.0) ii libmono-system-messaging4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Messaging library (for CLI 4.0) ii libmono-system-net-http-formatting4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Net.Http.Formatting library (for CLI 4.0) ii libmono-system-net-http-webrequest4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Net.Http.WebRequest library (for CLI 4.0) ii libmono-system-net-http4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Net.Http library (for CLI 4.0) ii libmono-system-net4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Net library (for CLI 4.0) ii libmono-system-numerics-vectors4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Numerics.Vectors library (for CLI 4.0) ii libmono-system-numerics4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Numerics library (for CLI 4.0) ii libmono-system-reactive-core2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Core Library (for CLI 4.5) ii libmono-system-reactive-debugger2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Debugger Library (for CLI 4.5) ii libmono-system-reactive-experimental2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Experimental Library (for CLI 4.5) ii libmono-system-reactive-interfaces2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Interfaces Library (for CLI 4.5) ii libmono-system-reactive-linq2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Linq Library (for CLI 4.5) ii libmono-system-reactive-observable-aliases0.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Linq Library (for CLI 4.5) ii libmono-system-reactive-platformservices2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.PlatformServices Library (for CLI 4.5) ii libmono-system-reactive-providers2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Providers Library (for CLI 4.5) ii libmono-system-reactive-runtime-remoting2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Runtime.Remoting Library (for CLI 4.5) ii libmono-system-reactive-windows-forms2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Windows.Forms Library (for CLI 4.5) ii libmono-system-reactive-windows-threading2.2-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reactive.Windows.Threading Library (for CLI 4.5) ii libmono-system-reflection-context4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Reflection.Context library (for CLI 4.0) ii libmono-system-runtime-caching4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Runtime.Caching Library (for CLI 4.0) ii libmono-system-runtime-durableinstancing4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Runtime.DurableInstancing Library (for CLI 4.0) ii libmono-system-runtime-serialization-formatters-soap4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Runtime.Serialization.Formatters.Soap Library (for CLI 4.0) ii libmono-system-runtime-serialization4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Runtime.Serialization Library (for CLI 4.0) ii libmono-system-runtime4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Runtime library (for CLI 4.0) ii libmono-system-security4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Security library (for CLI 4.0) ii libmono-system-servicemodel-activation4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel.Activation Library (for CLI 4.0) ii libmono-system-servicemodel-discovery4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel.Discovery Library (for CLI 4.0) ii libmono-system-servicemodel-internals0.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel.Internals Library (for CLI 4.0) ii libmono-system-servicemodel-routing4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel.Routing Library (for CLI 4.0) ii libmono-system-servicemodel-web4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel.Web Library (for CLI 4.0) ii libmono-system-servicemodel4.0a-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceModel Library (for CLI 4.0) ii libmono-system-serviceprocess4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.ServiceProcess library (for CLI 4.0) ii libmono-system-threading-tasks-dataflow4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Threading.Tasks.Dataflow library (for CLI 4.0) ii libmono-system-transactions4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Transactions library (for CLI 4.0) ii libmono-system-web-abstractions4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Abstractions library (for CLI 4.0) ii libmono-system-web-applicationservices4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.ApplicationServices library (for CLI 4.0) ii libmono-system-web-dynamicdata4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.DynamicData library (for CLI 4.0) ii libmono-system-web-extensions-design4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Extensions.Design library (for CLI 4.0) ii libmono-system-web-extensions4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Extensions library (for CLI 4.0) ii libmono-system-web-http-selfhost4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Http.SelfHost library (for CLI 4.0) ii libmono-system-web-http-webhost4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Http.WebHost library (for CLI 4.0) ii libmono-system-web-http4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Http library (for CLI 4.0) ii libmono-system-web-mobile4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Mobile library (for CLI 4.0) ii libmono-system-web-mvc3.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono ASP.NET MVC 3.0 Library (for CLI 4.0) ii libmono-system-web-razor2.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Razor (for CLI 4.0) ii libmono-system-web-regularexpressions4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.RegularExpressions library (for CLI 4.0) ii libmono-system-web-routing4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Routing (for CLI 4.0) ii libmono-system-web-services4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.Services (for CLI 4.0) ii libmono-system-web-webpages-deployment2.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.WebPages.Deployment (for CLI 4.0) ii libmono-system-web-webpages-razor2.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.WebPages.Razor (for CLI 4.0) ii libmono-system-web-webpages2.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web.WebPages (for CLI 4.0) ii libmono-system-web4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Web library (for CLI 4.0) ii libmono-system-windows-forms-datavisualization4.0a-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Windows.Forms.DataVisualization Library (for CLI 4.0) ii libmono-system-windows-forms4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Windows.Forms Library (for CLI 4.0) ii libmono-system-windows4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Windows library (for CLI 4.0) ii libmono-system-workflow-activities4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Workflow.Activities library (for CLI 4.0) ii libmono-system-workflow-componentmodel4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Workflow.ComponentModel library (for CLI 4.0) ii libmono-system-workflow-runtime4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Workflow.Runtime library (for CLI 4.0) ii libmono-system-xaml4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Xaml Library (for CLI 4.0) ii libmono-system-xml-linq4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Xml.Linq library (for CLI 4.0) ii libmono-system-xml-serialization4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Xml.Serialization library (for CLI 4.0) ii libmono-system-xml4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System.Xml library (for CLI 4.0) ii libmono-system4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono System libraries (for CLI 4.0) ii libmono-tasklets4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Tasklets library (for CLI 4.0) ii libmono-webbrowser4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Web Browser library (for CLI 4.0) ii libmono-webmatrix-data4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono WebMatrix.Data Library (for CLI 4.0) ii libmono-windowsbase4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono WindowsBase library (for CLI 4.0) ii libmono-xbuild-tasks4.0-cil 6.12.0.122-0xamarin1+raspbian10b1 all Mono Mono.XBuild.Tasks library (for CLI 4.0) ii libmonoboehm-2.0-1 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono JIT library (Boehm GC) ii libmonosgen-2.0-1 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono JIT library (SGen GC) ii libmonosgen-2.0-dev 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono JIT library - Development files (SGen GC) ii mono-4.0-gac 6.12.0.122-0xamarin1+raspbian10b1 all Mono GAC tool (for CLI 4.0) ii mono-4.0-service 6.12.0.122-0xamarin1+raspbian10b1 all Mono service manager for CLI 4.0 ii mono-complete 6.12.0.122-0xamarin1+raspbian10b1 armhf complete Mono runtime, development tools and all libraries ii mono-csharp-shell 6.12.0.122-0xamarin1+raspbian10b1 all interactive C# shell ii mono-devel 6.12.0.122-0xamarin1+raspbian10b1 all Mono development tools ii mono-gac 6.12.0.122-0xamarin1+raspbian10b1 all Mono GAC toolii mono-mcs 6.12.0.122-0xamarin1+raspbian10b1 all Mono C# 2.0 / 3.0 / 4.0 / 5.0 compiler for CLI 2.0 / 4.0 / 4.5 ii mono-roslyn 6.12.0.122-0xamarin1+raspbian10b1 all Microsoft C# compiler ii mono-runtime 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono runtime - default version ii mono-runtime-common 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono runtime - common files ii mono-runtime-sgen 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono runtime - SGen ii mono-utils 6.12.0.122-0xamarin1+raspbian10b1 armhf Mono utilities ii mono-xbuild 6.12.0.122-0xamarin1+raspbian10b1 all MSBuild-compatible build system for Mono ii mono-xsp4 4.7.1-0xamarin3+raspbian10b1 all simple web server to run ASP.NET 4.0 applications ii mono-xsp4-base 4.7.1-0xamarin3+raspbian10b1 all base libraries for XSP 4.0 ii monodoc-base 6.12.0.122-0xamarin1+raspbian10b1 all shared MonoDoc binaries ii monodoc-http 4.2-3xamarin5+raspbian10b1 all MonoDoc http based viewer ii monodoc-manual 6.12.0.122-0xamarin1+raspbian10b1 all compiled XML documentation from the Mono project root@DietPi-HTPC:~# dpkg -S /usr/lib/mono/4.5/mscorlib.dll libmono-corlib4.5-cil: /usr/lib/mono/4.5/mscorlib.dll ```
MichaIng commented 3 years ago

Hmm, while the package name and path looks like 4.5, the package version is 6.X. Does reinstalling it help?

apt install --reinstall libmono-corlib4.5-cil
systemctl restart sonarr
sleep 1
journalctl -u sonarr
ZiggyPi commented 3 years ago

@MichaIng

log from reinstall ``` root@DietPi-HTPC:~# apt install --reinstall libmono-corlib4.5-cil Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 1,258 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 https://download.mono-project.com/repo/debian raspbianbuster/main armhf libmono-corlib4.5-cil all 6.12.0.122-0xamarin1+raspbian10b1 [1,258 kB] Fetched 1,258 kB in 0s (2,745 kB/s) (Reading database ... 84120 files and directories currently installed.) Preparing to unpack .../libmono-corlib4.5-cil_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking libmono-corlib4.5-cil (6.12.0.122-0xamarin1+raspbian10b1) over (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libmono-corlib4.5-cil (6.12.0.122-0xamarin1+raspbian10b1) ... Mono precompiling /usr/lib/mono/4.5/mscorlib.dll for arm (LLVM disabled due to missing SSE4.1)... ```
sonarr log ``` root@DietPi-HTPC:~# systemctl restart sonarr root@DietPi-HTPC:~# sleep 1 root@DietPi-HTPC:~# journalctl -u sonarr -- Logs begin at Thu 2021-04-08 23:31:45 CEST, end at Fri 2021-04-09 22:15:09 CEST. -- Apr 08 23:32:32 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 08 23:32:32 DietPi-HTPC mono[1512]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 08 23:32:32 DietPi-HTPC mono[1512]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 08 23:32:32 DietPi-HTPC mono[1512]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 08 23:32:32 DietPi-HTPC systemd[1]: sonarr.serv ice: Failed with result 'exit-code'. Apr 09 07:50:49 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 09 07:50:49 DietPi-HTPC mono[23800]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 07:50:49 DietPi-HTPC mono[23800]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 07:50:49 DietPi-HTPC mono[23800]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 07:50:49 DietPi-HTPC systemd[1]: sonarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 07:50:49 DietPi-HTPC systemd[1]: sonarr.serv ice: Failed with result 'exit-code'. Apr 09 22:15:09 DietPi-HTPC systemd[1]: Started Sonarr (NzbDrone) Daemon (DietPi). Apr 09 22:15:09 DietPi-HTPC mono[7900]: Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Apr 09 22:15:09 DietPi-HTPC mono[7900]: Loaded from: /usr/lib/mono/4.5/mscorlib.dll Apr 09 22:15:09 DietPi-HTPC mono[7900]: Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Apr 09 22:15:09 DietPi-HTPC systemd[1]: sonarr.serv ice: Main process exited, code=exited, status=1/FAILURE Apr 09 22:15:09 DietPi-HTPC systemd[1]: sonarr.serv ice: Failed with result 'exit-code'. ```
Joulinar commented 3 years ago

@MichaIng Not sure if this is something that could help https://github.com/mono/mono/issues/12578

MichaIng commented 3 years ago

Hmm, the error seems very application specific and in some cases I found a simple clean reinstall of Mono. Let's see if that helps:

dietpi-software uninstall 150
apt-mark auto $(dpkg --get-selections 'libmono-*' 'mono-*' | mawk '{print $1}')
apt autopurge
dietpi-software install 150

@ZiggyPi If you like, I can do some remote desktop support, which should speed things up, and I'm interested in this case as Sonarr, Radarr and Lidarr migration/verification is part of next DietPi release and compatibility with current Mono should hence be assured. Does XRDP work again, or do you have a VNC server installed as well, so that you would be able to follow what I'm doing?

systemctl status xrdp vncserver
ZiggyPi commented 3 years ago

@MichaIng

log uninstall ``` root@DietPi-HTPC:~# dietpi-software uninstall 150 [ OK ] DietPi-Software | Initialised database [ OK ] DietPi-Software | Reading database DietPi-Software ───────────────────────────────────────────────────── Mode: Automated uninstall [ OK ] DietPi-Software | Uninstalling Mono: runtime libraries and repo DietPi-Software ───────────────────────────────────────────────────── Mode: Uninstalling Mono: runtime libraries and repo mono-complete set to automatically installed. mono-devel was already set to automatically installed. mono-runtime set to automatically installed. libmono-cil-dev was already set to automatically installed. DietPi-Software ───────────────────────────────────────────────────── Mode: Finalise uninstall [ INFO ] DietPi-Software | APT autopurge, please wait... (Reading database ... 84120 files and directories currently installed.) Removing mono-complete (6.12.0.122-0xamarin1+raspbian10b1) ... Removing libmono-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Removing libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-utils (6.12.0.122-0xamarin1+raspbian10b1) ... Removing libmonoboehm-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-4.0-service (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-csharp-shell (6.12.0.122-0xamarin1+raspbian10b1) ... Removing referenceassemblies-pcl (2014.04.14-1xamarin7+raspbian10b1) ... Removing msbuild (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Removing monodoc-http (4.2-3xamarin5+raspbian10b1) ... [ ok ] Restarting mono-xsp4 (via systemctl): mono-xsp4.service. Removing mono-xsp4 (4.7.1-0xamarin3+raspbian10b1) ... Removing mono-xsp4-base (4.7.1-0xamarin3+raspbian10b1) ... Removing libjs-xmlextras (20060529-1) ... Removing monodoc-base (6.12.0.122-0xamarin1+raspbian10b1) ... Removing monodoc-manual (6.12.0.122-0xamarin1+raspbian10b1) ... Removing msbuild-libhostfxr (3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1) ... Removing msbuild-sdkresolver (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Removing mono-devel (6.12.0.122-0xamarin1+raspbian10b1) ... Removing ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Removing pkg-config (0.29-6) ... Removing libdpkg-perl (1.19.7) ... Removing libmono-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Removing libmonosgen-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Removing libmonosgen-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-mcs (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-roslyn (6.12.0.122-0xamarin1+raspbian10b1) ... Removing mono-xbuild (6.12.0.122-0xamarin1+raspbian10b1) ... Processing triggers for mime-support (3.62) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for ca-certificates (20200601~deb10u2) ... Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Certinomis_-_Root_CA.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Certplus_Class_2_Primary_CA.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Deutsche_Telekom_Root_CA_2.crt not found, but listed in /etc/ca-certificates.conf. 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Updating Mono key store /etc/ca-certificates/update.d/mono-keystore: 10: /etc/ca-certificates/update.d/mono-keystore: /usr/bin/cert-sync: not found Done done. Processing triggers for desktop-file-utils (0.23-4) ... (Reading database ... 79094 files and directories currently installed.) Purging configuration files for ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Purging configuration files for mono-xsp4 (4.7.1-0xamarin3+raspbian10b1) ... dpkg: warning: while removing mono-xsp4, directory '/usr/lib/mono/gac/xsp4' not empty so not removed Purging configuration files for mono-devel (6.12.0.122-0xamarin1+raspbian10b1) ... Purging configuration files for monodoc-http (4.2-3xamarin5+raspbian10b1) ... Purging configuration files for libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Purging configuration files for pkg-config (0.29-6) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... [ OK ] DietPi-Software | APT autopurge ```
log apt mark auto ``` root@DietPi-HTPC:~# apt-mark auto $(dpkg --get-selections 'libmono-*' 'mono-*' | mawk '{print $1}') libmono-accessibility4.0-cil was already set to automatically installed. libmono-cairo4.0-cil was already set to automatically installed. libmono-cecil-private-cil was already set to automatically installed. libmono-cil-dev was already set to automatically installed. libmono-codecontracts4.0-cil was already set to automatically installed. libmono-compilerservices-symbolwriter4.0-cil was already set to automatically installed. libmono-corlib4.5-cil was already set to automatically installed. libmono-cscompmgd0.0-cil was already set to automatically installed. libmono-csharp4.0c-cil was already set to automatically installed. libmono-custommarshalers4.0-cil was already set to automatically installed.libmono-data-tds4.0-cil was already set to automatically installed. libmono-db2-1.0-cil was already set to automatically installed. libmono-debugger-soft4.0a-cil was already set to automatically installed. libmono-http4.0-cil was already set to automatically installed. libmono-i18n-cjk4.0-cil was already set to automatically installed. libmono-i18n-mideast4.0-cil was already set to automatically installed. libmono-i18n-other4.0-cil was already set to automatically installed. libmono-i18n-rare4.0-cil was already set to automatically installed. libmono-i18n-west4.0-cil was already set to automatically installed. libmono-i18n4.0-all was already set to automatically installed. libmono-i18n4.0-cil was already set to automatically installed. libmono-ldap4.0-cil was already set to automatically installed. libmono-management4.0-cil was already set to automatically installed. libmono-messaging-rabbitmq4.0-cil was already set to automatically installed. libmono-messaging4.0-cil was already set to automatically installed. libmono-microsoft-build-engine4.0-cil was already set to automatically installed. libmono-microsoft-build-framework4.0-cil was already set to automatically installed. libmono-microsoft-build-tasks-v4.0-4.0-cil was already set to automatically installed. libmono-microsoft-build-utilities-v4.0-4.0-cil was already set to automatically installed. libmono-microsoft-build4.0-cil was already set to automatically installed. libmono-microsoft-csharp4.0-cil was already set to automatically installed.libmono-microsoft-visualc10.0-cil was already set to automatically installed. libmono-microsoft-web-infrastructure1.0-cil was already set to automatically installed. libmono-oracle4.0-cil was already set to automatically installed. libmono-parallel4.0-cil was already set to automatically installed. libmono-peapi4.0a-cil was already set to automatically installed. libmono-posix4.0-cil was already set to automatically installed. libmono-rabbitmq4.0-cil was already set to automatically installed. libmono-relaxng4.0-cil was already set to automatically installed. libmono-security4.0-cil was already set to automatically installed. libmono-sharpzip4.84-cil was already set to automatically installed. libmono-simd4.0-cil was already set to automatically installed. libmono-smdiagnostics0.0-cil was already set to automatically installed. libmono-sqlite4.0-cil was already set to automatically installed. libmono-system-componentmodel-composition4.0-cil was already set to automatically installed. libmono-system-componentmodel-dataannotations4.0-cil was already set to automatically installed. libmono-system-configuration-install4.0-cil was already set to automatically installed. libmono-system-configuration4.0-cil was already set to automatically installed. libmono-system-core4.0-cil was already set to automatically installed. libmono-system-data-datasetextensions4.0-cil was already set to automatically installed. libmono-system-data-entity4.0-cil was already set to automatically installed. libmono-system-data-linq4.0-cil was already set to automatically installed.libmono-system-data-services-client4.0-cil was already set to automatically installed. libmono-system-data-services4.0-cil was already set to automatically installed. libmono-system-data4.0-cil was already set to automatically installed. libmono-system-deployment4.0-cil was already set to automatically installed. libmono-system-design4.0-cil was already set to automatically installed. libmono-system-drawing-design4.0-cil was already set to automatically installed. libmono-system-drawing4.0-cil was already set to automatically installed. libmono-system-dynamic4.0-cil was already set to automatically installed. libmono-system-enterpriseservices4.0-cil was already set to automatically installed. libmono-system-identitymodel-selectors4.0-cil was already set to automatically installed. libmono-system-identitymodel4.0-cil was already set to automatically installed. libmono-system-io-compression-filesystem4.0-cil was already set to automatically installed. libmono-system-io-compression4.0-cil was already set to automatically installed. libmono-system-json-microsoft4.0-cil was already set to automatically installed. libmono-system-json4.0-cil was already set to automatically installed. libmono-system-ldap-protocols4.0-cil was already set to automatically installed. libmono-system-ldap4.0-cil was already set to automatically installed. libmono-system-management4.0-cil was already set to automatically installed. libmono-system-messaging4.0-cil was already set to automatically installed.libmono-system-net-http-formatting4.0-cil was already set to automatically installed. libmono-system-net-http-webrequest4.0-cil was already set to automatically installed. libmono-system-net-http4.0-cil was already set to automatically installed. libmono-system-net4.0-cil was already set to automatically installed. libmono-system-numerics-vectors4.0-cil was already set to automatically installed. libmono-system-numerics4.0-cil was already set to automatically installed. libmono-system-reactive-core2.2-cil was already set to automatically installed. libmono-system-reactive-debugger2.2-cil was already set to automatically installed. libmono-system-reactive-experimental2.2-cil was already set to automatically installed. libmono-system-reactive-interfaces2.2-cil was already set to automatically installed. libmono-system-reactive-linq2.2-cil was already set to automatically installed. libmono-system-reactive-observable-aliases0.0-cil was already set to automatically installed. libmono-system-reactive-platformservices2.2-cil was already set to automatically installed. libmono-system-reactive-providers2.2-cil was already set to automatically installed. libmono-system-reactive-runtime-remoting2.2-cil was already set to automatically installed. libmono-system-reactive-windows-forms2.2-cil was already set to automatically installed. libmono-system-reactive-windows-threading2.2-cil was already set to automatically installed. libmono-system-reflection-context4.0-cil was already set to automatically installed. libmono-system-runtime-caching4.0-cil was already set to automatically installed. libmono-system-runtime-durableinstancing4.0-cil was already set to automatically installed. libmono-system-runtime-serialization-formatters-soap4.0-cil was already set to automatically installed. libmono-system-runtime-serialization4.0-cil was already set to automatically installed. libmono-system-runtime4.0-cil was already set to automatically installed. libmono-system-security4.0-cil was already set to automatically installed. libmono-system-servicemodel-activation4.0-cil was already set to automatically installed. libmono-system-servicemodel-discovery4.0-cil was already set to automatically installed. libmono-system-servicemodel-internals0.0-cil was already set to automatically installed. libmono-system-servicemodel-routing4.0-cil was already set to automatically installed. libmono-system-servicemodel-web4.0-cil was already set to automatically installed. libmono-system-servicemodel4.0a-cil was already set to automatically installed. libmono-system-serviceprocess4.0-cil was already set to automatically installed. libmono-system-threading-tasks-dataflow4.0-cil was already set to automatically installed. libmono-system-transactions4.0-cil was already set to automatically installed. libmono-system-web-abstractions4.0-cil was already set to automatically installed. libmono-system-web-applicationservices4.0-cil was already set to automatically installed. libmono-system-web-dynamicdata4.0-cil was already set to automatically installed. libmono-system-web-extensions-design4.0-cil was already set to automatically installed. libmono-system-web-extensions4.0-cil was already set to automatically installed. libmono-system-web-http-selfhost4.0-cil was already set to automatically installed. libmono-system-web-http-webhost4.0-cil was already set to automatically installed. libmono-system-web-http4.0-cil was already set to automatically installed. libmono-system-web-mobile4.0-cil was already set to automatically installed. libmono-system-web-mvc3.0-cil was already set to automatically installed. libmono-system-web-razor2.0-cil was already set to automatically installed.libmono-system-web-regularexpressions4.0-cil was already set to automatically installed. libmono-system-web-routing4.0-cil was already set to automatically installed. libmono-system-web-services4.0-cil was already set to automatically installed. libmono-system-web-webpages-deployment2.0-cil was already set to automatically installed. libmono-system-web-webpages-razor2.0-cil was already set to automatically installed. libmono-system-web-webpages2.0-cil was already set to automatically installed. libmono-system-web4.0-cil was already set to automatically installed. libmono-system-windows-forms-datavisualization4.0a-cil was already set to automatically installed. libmono-system-windows-forms4.0-cil was already set to automatically installed. libmono-system-windows4.0-cil was already set to automatically installed. libmono-system-workflow-activities4.0-cil was already set to automatically installed. libmono-system-workflow-componentmodel4.0-cil was already set to automatically installed. libmono-system-workflow-runtime4.0-cil was already set to automatically installed. libmono-system-xaml4.0-cil was already set to automatically installed. libmono-system-xml-linq4.0-cil was already set to automatically installed. libmono-system-xml-serialization4.0-cil was already set to automatically installed. libmono-system-xml4.0-cil was already set to automatically installed. libmono-system4.0-cil was already set to automatically installed. libmono-tasklets4.0-cil was already set to automatically installed. libmono-webbrowser4.0-cil was already set to automatically installed. libmono-webmatrix-data4.0-cil was already set to automatically installed. libmono-windowsbase4.0-cil was already set to automatically installed. libmono-xbuild-tasks4.0-cil was already set to automatically installed. mono-4.0-gac was already set to automatically installed. mono-gac was already set to automatically installed. mono-runtime was already set to automatically installed. mono-runtime-common was already set to automatically installed. mono-runtime-sgen was already set to automatically installed. ```
log autopurge ``` root@DietPi-HTPC:~# apt autopurge Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. ```
log install with error ``` root@DietPi-HTPC:~# dietpi-software install 150 [ OK ] DietPi-Software | Initialised database [ OK ] DietPi-Software | Reading database DietPi-Software ───────────────────────────────────────────────────── Mode: Automated install [ OK ] DietPi-Software | Installing Mono: runtime libraries and repo [ OK ] DietPi-Software | Free space check: path=/ | available=32391 MiB | required=500 MiB [ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata[ OK ] DietPi-Software | Checking network connectivity [ OK ] DietPi-Software | Checking DNS resolver [ OK ] Network time sync | Completed [ SUB1 ] DietPi-Services > unmask [ OK ] DietPi-Services | unmask : nmbd [ OK ] DietPi-Services | unmask : smbd [ OK ] DietPi-Services | unmask : nfs-kernel-server [ OK ] DietPi-Services | unmask : redis-server [ OK ] DietPi-Services | unmask : mariadb [ OK ] DietPi-Services | unmask : php7.3-fpm [ OK ] DietPi-Services | unmask : nginx [ OK ] DietPi-Services | unmask : lighttpd [ OK ] DietPi-Services | unmask : coturn [ OK ] DietPi-Services | unmask : deluged [ OK ] DietPi-Services | unmask : plexmediaserver [ OK ] DietPi-Services | unmask : ubooquity [ OK ] DietPi-Services | unmask : jackett [ OK ] DietPi-Services | unmask : sonarr [ OK ] DietPi-Services | unmask : radarr [ OK ] DietPi-Services | unmask : lidarr [ OK ] DietPi-Services | unmask : deluge-web [ OK ] DietPi-Services | unmask : rpimonitor [ OK ] DietPi-Services | unmask : htpc-manager [ OK ] DietPi-Services | unmask : docker [ OK ] DietPi-Services | unmask : cron [ SUB1 ] DietPi-Services > stop [ OK ] DietPi-Services | stop : cron [ OK ] DietPi-Services | stop : docker [ OK ] DietPi-Services | stop : htpc-manager [ OK ] DietPi-Services | stop : rpimonitor [ OK ] DietPi-Services | stop : deluge-web [ OK ] DietPi-Services | stop : lidarr [ OK ] DietPi-Services | stop : radarr [ OK ] DietPi-Services | stop : sonarr [ OK ] DietPi-Services | stop : jackett [ OK ] DietPi-Services | stop : ubooquity [ OK ] DietPi-Services | stop : plexmediaserver [ OK ] DietPi-Services | stop : deluged [ OK ] DietPi-Services | stop : coturn [ OK ] DietPi-Services | stop : lighttpd [ OK ] DietPi-Services | stop : nginx [ OK ] DietPi-Services | stop : php7.3-fpm [ OK ] DietPi-Services | stop : mariadb [ OK ] DietPi-Services | stop : redis-server [ OK ] DietPi-Services | stop : nfs-kernel-server [ OK ] DietPi-Services | stop : smbd [ OK ] DietPi-Services | stop : nmbd [ OK ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt [ OK ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads [ OK ] DietPi-Software | chmod 775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads [ INFO ] DietPi-Software | APT update, please wait... Hit:1 https://downloads.plex.tv/repo/deb public InRelease Hit:2 https://apt.sonarr.tv develop InRelease Hit:3 https://archive.raspberrypi.org/debian buster InRelease Hit:4 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease Get:5 https://download.docker.com/linux/raspbian buster InRelease [29.7 kB]Get:6 https://mirror.netcologne.de/raspbian/raspbian buster InRelease [15.0 kB] Get:7 https://mirror.netcologne.de/raspbian/raspbian buster/main armhf Packages [13.0 MB] Fetched 13.0 MB in 38s (347 kB/s) Reading package lists... [ OK ] DietPi-Software | APT update DietPi-Software ───────────────────────────────────────────────────── Mode: Checking for prerequisite software DietPi-Software ───────────────────────────────────────────────────── Mode: Installing Mono: runtime libraries and repo Executing: /tmp/apt-key-gpghome.e1s7mjNwVo/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF gpg: key A6A19B38D3D831EF: "Xamarin Public Jenkins (auto-signing) " not changed gpg: Total number processed: 1 gpg: unchanged: 1 [ INFO ] DietPi-Software | APT update, please wait... Hit:1 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease Hit:2 https://downloads.plex.tv/repo/deb public InRelease Get:3 https://download.docker.com/linux/raspbian buster InRelease [29.7 kB]Hit:4 https://apt.sonarr.tv develop InRelease Get:5 https://download.mono-project.com/repo/debian raspbianbuster InRelease [2238 B] Hit:6 https://mirror.netcologne.de/raspbian/raspbian buster InRelease Hit:7 https://archive.raspberrypi.org/debian buster InRelease Get:8 https://download.mono-project.com/repo/debian raspbianbuster/main armhf Packages [47.5 kB] Fetched 79.5 kB in 3s (25.6 kB/s) Reading package lists... [ OK ] DietPi-Software | APT update [ INFO ] DietPi-Software | APT install for: mono-runtime mono-complete, please wait... Selecting previously unselected package ca-certificates-mono. (Reading database ... 79080 files and directories currently installed.) Preparing to unpack .../00-ca-certificates-mono_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package cli-common. Preparing to unpack .../01-cli-common_0.10xamarin5+raspbian10b1_all.deb ...Unpacking cli-common (0.10xamarin5+raspbian10b1) ... Selecting previously unselected package libglade2-0:armhf. Preparing to unpack .../02-libglade2-0_1%3a2.6.4-2_armhf.deb ... Unpacking libglade2-0:armhf (1:2.6.4-2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../03-libdpkg-perl_1.19.7_all.deb ... Unpacking libdpkg-perl (1.19.7) ... Selecting previously unselected package libglib2.0-cil. Preparing to unpack .../04-libglib2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libglib2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libgtk2.0-cil. Preparing to unpack .../05-libgtk2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libgtk2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libglade2.0-cil. Preparing to unpack .../06-libglade2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libglade2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libjavascriptcoregtk-1.0-0:armhf. Preparing to unpack .../07-libjavascriptcoregtk-1.0-0_2.4.11-4+rpi1+b1_armhf.deb ... Unpacking libjavascriptcoregtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Selecting previously unselected package libmonosgen-2.0-1. Preparing to unpack .../08-libmonosgen-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonosgen-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-2.0-1. Preparing to unpack .../09-libmono-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmonosgen-2.0-dev. Preparing to unpack .../10-libmonosgen-2.0-dev_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonosgen-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-2.0-dev. Preparing to unpack .../11-libmono-2.0-dev_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-profiler. Preparing to unpack .../12-libmono-profiler_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmonoboehm-2.0-1. Preparing to unpack .../13-libmonoboehm-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonoboehm-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libwebkitgtk-1.0-0:armhf. Preparing to unpack .../14-libwebkitgtk-1.0-0_2.4.11-4+rpi1+b1_armhf.deb ... Unpacking libwebkitgtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Selecting previously unselected package libwebkit1.1-cil. Preparing to unpack .../15-libwebkit1.1-cil_0.3-7_all.deb ... Unpacking libwebkit1.1-cil (0.3-7) ... Selecting previously unselected package mono-4.0-service. Preparing to unpack .../16-mono-4.0-service_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-4.0-service (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-utils. Preparing to unpack .../17-mono-utils_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking mono-utils (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-mcs. Preparing to unpack .../18-mono-mcs_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-mcs (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-roslyn. Preparing to unpack .../19-mono-roslyn_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-roslyn (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-xbuild. Preparing to unpack .../20-mono-xbuild_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-xbuild (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../21-pkg-config_0.29-6_armhf.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package mono-devel. Preparing to unpack .../22-mono-devel_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-devel (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-csharp-shell. Preparing to unpack .../23-mono-csharp-shell_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-csharp-shell (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package monodoc-base. Preparing to unpack .../24-monodoc-base_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking monodoc-base (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package monodoc-browser. Preparing to unpack .../25-monodoc-browser_4.2-0xamarin1_all.deb ... Unpacking monodoc-browser (4.2-0xamarin1) ... Selecting previously unselected package monodoc-manual. Preparing to unpack .../26-monodoc-manual_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking monodoc-manual (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package referenceassemblies-pcl. Preparing to unpack .../27-referenceassemblies-pcl_2014.04.14-1xamarin7+raspbian10b1_all.deb ... Unpacking referenceassemblies-pcl (2014.04.14-1xamarin7+raspbian10b1) ... Selecting previously unselected package msbuild-sdkresolver. Preparing to unpack .../28-msbuild-sdkresolver_1%3a16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1_all.deb ... Unpacking msbuild-sdkresolver (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Selecting previously unselected package msbuild-libhostfxr. Preparing to unpack .../29-msbuild-libhostfxr_3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1_armhf.deb ... Unpacking msbuild-libhostfxr (3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1) ... Selecting previously unselected package msbuild. Preparing to unpack .../30-msbuild_1%3a16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1_all.deb ... Unpacking msbuild (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-complete. Preparing to unpack .../31-mono-complete_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking mono-complete (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up monodoc-base (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libglade2-0:armhf (1:2.6.4-2) ... Setting up ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libmonosgen-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-xbuild (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-4.0-service (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-csharp-shell (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libmonoboehm-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up cli-common (0.10xamarin5+raspbian10b1) ... Setting up libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-mcs (6.12.0.122-0xamarin1+raspbian10b1) ... Mono precompiling /usr/lib/mono/4.5/mcs.exe for arm (LLVM disabled due to missing SSE4.1)... Setting up libdpkg-perl (1.19.7) ... Setting up libjavascriptcoregtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Setting up libglib2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Loaded from: /usr/lib/mono/4.5/mscorlib.dll Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275. Use of uninitialized value $fullname in concatenation (.) or string at /usr/share/cli-common/runtimes.d/mono line 225. Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Loaded from: /usr/lib/mono/4.5/mscorlib.dll Download a newer corlib or a newer runtime at http://www.mono-project.com/download. E: installing Assembly /usr/share/cli-common/policies.d/libglib2.0-cil/policy.2.10.glib-sharp.dll failed E: Installation of policy.2.10.glib-sharp with /usr/share/cli-common/runtimes.d/mono failed dpkg: error processing package libglib2.0-cil (--configure): installed libglib2.0-cil package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of libglade2.0-cil: libglade2.0-cil depends on libglib2.0-cil (>= 2.12.45); however: Package libglib2.0-cil is not configured yet. dpkg: error processing package libglade2.0-cil (--configure): dependency problems - leaving unconfigured Setting up libmonosgen-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... dpkg: dependency problems prevent configuration of libgtk2.0-cil: libgtk2.0-cil depends on libglib2.0-cil (= 2.12.45-0xamarin19+raspbian10b1); however: Package libglib2.0-cil is not configured yet. dpkg: error processing package libgtk2.0-cil (--configure): dependency problems - leaving unconfigured Setting up libmono-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up referenceassemblies-pcl (2014.04.14-1xamarin7+raspbian10b1) ... Setting up mono-utils (6.12.0.122-0xamarin1+raspbian10b1) ... update-alternatives: using /usr/bin/monodis to provide /usr/bin/cli-ildasm (cil-disassembler) in auto mode Setting up libwebkitgtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Setting up pkg-config (0.29-6) ... Setting up libmono-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... dpkg: dependency problems prevent configuration of libwebkit1.1-cil: libwebkit1.1-cil depends on libglib2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglib2.0-cil is not configured yet. libwebkit1.1-cil depends on libgtk2.0-cil (>= 2.12.10-1ubuntu1); however: Package libgtk2.0-cil is not configured yet. dpkg: error processing package libwebkit1.1-cil (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of monodoc-browser: monodoc-browser depends on libglade2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglade2.0-cil is not configured yet. monodoc-browser depends on libglib2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglib2.0-cil is not configured yet. monodoc-browser depends on libgtk2.0-cil (>= 2.12.10-1ubuntu1); however: Package libgtk2.0-cil is not configured yet. monodoc-browser depends on libwebkit1.1-cil (>= 0.3); however: Package libwebkit1.1-cil is not configured yet. dpkg: error processing package monodoc-browser (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of monodoc-manual: monodoc-manual depends on monodoc-browser | monodoc-http | monodoc-viewer; however: Package monodoc-browser is not configured yet. Package monodoc-http is not installed. Package monodoc-viewer is not installed. Package monodoc-browser which provides monodoc-viewer is not configured yet. dpkg: error processing package monodoc-manual (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mono-complete: mono-complete depends on monodoc-manual (= 6.12.0.122-0xamarin1+raspbian10b1); however: Package monodoc-manual is not configured yet. dpkg: error processing package mono-complete (--configure): dependency problems - leaving unconfigured Setting up msbuild-libhostfxr (3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1) ... Setting up msbuild-sdkresolver (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Setting up mono-roslyn (6.12.0.122-0xamarin1+raspbian10b1) ... Mono precompiling /usr/lib/mono/4.5/csc.exe for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/vbc.exe for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/VBCSCompiler.exe for arm (LLVM disabledRPi 4 Model B (armv7l) | IP: 10.0.0.30 | Use up/down buttons to scroll textβ”‚ - Command: apt-get -qq --allow-change-held-packages install β”‚ mono-runtime mono-complete β”‚ - Exit code: 100 β”‚ - DietPi version: v7.0.2 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 β”‚ | DISTRO: 5 β”‚ - Image creator: DietPi Core Team β”‚ - Pre-image: Raspbian Lite β”‚ - Error log: β”‚ Selecting previously unselected package ca-certificates-mono.^M β”‚ (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 1β”‚ (Reading database ... 15%^M(Reading database ... 20%^M(Reading database .β”‚ 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading databβ”‚ ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading β”‚ database ... 55%^M(Reading database ... 60%^M(Reading database ... 65% β”‚ (Reading database ... 70%^M(Reading database ... 75%^M(Reading database .β”‚ 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading databβ”‚ ... 95%^M(Reading database ... 100%^M(Reading database ... 79080 files anβ”‚ directories currently installed.)^M β”‚ Preparing to unpack β”‚ .../00-ca-certificates-mono_6.12.0.122-0xamarin1+raspbian10b1_all.deb β”‚ ...^M β”‚ Unpacking ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ...^M β”‚ Selecting previously unselected package cli-common.^M β”‚ Preparing to unpack .../01-cli-common_0.10xamarin5+raspbian10b1_all.deb β”‚ ...^M β”‚ Unpacking cli-common (0.10xamarin5+raspbian10b1) ...^M β”‚ Selecting previously unselected package libglade2-0:armhf.^M β”‚ Preparing to unpack .../02-libglade2-0_1%3a2.6.4-2_armhf.deb ...^M β”‚ Unpacking libglade2-0:armhf (1:2.6.4-2) ...^M β”‚ Selecting previously unselected package libdpkg-perl.^M β”‚ Preparing to unpack .../03-libdpkg-perl_1.19.7_all.deb ...^M β”‚ Unpacking libdpkg-perl (1.19.7) ...^M β”‚ Selecting previously unselected package libglib2.0-cil.^M β”‚ Preparing to unpack RPi 4 Model B (armv7l) | IP: 10.0.0.30 | Use up/down buttons to scroll textβ”‚ - Command: apt-get -qq --allow-change-held-packages install β”‚ mono-runtime mono-complete β”‚ - Exit code: 100 β”‚ - DietPi version: v7.0.2 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 β”‚ | DISTRO: 5 β”‚ - Image creator: DietPi Core Team β”‚ - Pre-image: Raspbian Lite β”‚ - Error log: β”‚ Selecting previously unselected package ca-certificates-mono.^M β”‚ (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 1β”‚ (Reading database ... 15%^M(Reading database ... 20%^M(Reading database .β”‚ 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading databβ”‚ ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading β”‚ database ... 55%^M(Reading database ... 60%^M(Reading database ... 65% β”‚ (Reading database ... 70%^M(Reading database ... 75%^M(Reading database .β”‚ 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading databβ”‚ ... 95%^M(Reading database ... 100%^M(Reading database ... 79080 files anβ”‚ directories currently installed.)^M β”‚ Preparing to unpack β”‚ .../00-ca-certificates-mono_6.12.0.122-0xamarin1+raspbian10b1_all.deb β”‚ ...^M β”‚ Unpacking ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ...^M β”‚ Selecting previously unselected package cli-common.^M β”‚ Preparing to unpack .../01-cli-common_0.10xamarin5+raspbian10b1_all.deb β”‚ ...^M --------------------------------------------------------------------- - DietPi has encountered an error - - Please create a ticket: https://github.com/MichaIng/DietPi/issues - - Copy and paste only the BLUE lines below into the ticket - --------------------------------------------------------------------- #### Details: - Date | Sat Apr 10 21:10:59 CEST 2021 - DietPi version | v7.0.2 (MichaIng/master) - Image creator | DietPi Core Team - Pre-image | Raspbian Lite - Hardware | RPi 4 Model B (armv7l) (ID=4) - Kernel version | Linux DietPi-HTPC 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux - Distro | buster (ID=5,RASPBIAN=1) - Command | apt-get -qq --allow-change-held-packages install mono-runtime mono-complete - Exit code | 100 - Software title | DietPi-Software #### Steps to reproduce: 1. ... 2. ... #### Expected behaviour: - ... #### Actual behaviour: - ... #### Extra details: - ... #### Additional logs: ``` Selecting previously unselected package ca-certificates-mono. (Reading database ... 79080 files and directories currently installed.) Preparing to unpack .../00-ca-certificates-mono_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package cli-common. Preparing to unpack .../01-cli-common_0.10xamarin5+raspbian10b1_all.deb ...Unpacking cli-common (0.10xamarin5+raspbian10b1) ... Selecting previously unselected package libglade2-0:armhf. Preparing to unpack .../02-libglade2-0_1%3a2.6.4-2_armhf.deb ... Unpacking libglade2-0:armhf (1:2.6.4-2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../03-libdpkg-perl_1.19.7_all.deb ... Unpacking libdpkg-perl (1.19.7) ... Selecting previously unselected package libglib2.0-cil. Preparing to unpack .../04-libglib2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libglib2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libgtk2.0-cil. Preparing to unpack .../05-libgtk2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libgtk2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libglade2.0-cil. Preparing to unpack .../06-libglade2.0-cil_2.12.45-0xamarin19+raspbian10b1_armhf.deb ... Unpacking libglade2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Selecting previously unselected package libjavascriptcoregtk-1.0-0:armhf. Preparing to unpack .../07-libjavascriptcoregtk-1.0-0_2.4.11-4+rpi1+b1_armhf.deb ... Unpacking libjavascriptcoregtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Selecting previously unselected package libmonosgen-2.0-1. Preparing to unpack .../08-libmonosgen-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonosgen-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-2.0-1. Preparing to unpack .../09-libmono-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmonosgen-2.0-dev. Preparing to unpack .../10-libmonosgen-2.0-dev_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonosgen-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-2.0-dev. Preparing to unpack .../11-libmono-2.0-dev_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmono-profiler. Preparing to unpack .../12-libmono-profiler_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libmonoboehm-2.0-1. Preparing to unpack .../13-libmonoboehm-2.0-1_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking libmonoboehm-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package libwebkitgtk-1.0-0:armhf. Preparing to unpack .../14-libwebkitgtk-1.0-0_2.4.11-4+rpi1+b1_armhf.deb ... Unpacking libwebkitgtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Selecting previously unselected package libwebkit1.1-cil. Preparing to unpack .../15-libwebkit1.1-cil_0.3-7_all.deb ... Unpacking libwebkit1.1-cil (0.3-7) ... Selecting previously unselected package mono-4.0-service. Preparing to unpack .../16-mono-4.0-service_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-4.0-service (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-utils. Preparing to unpack .../17-mono-utils_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking mono-utils (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-mcs. Preparing to unpack .../18-mono-mcs_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-mcs (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-roslyn. Preparing to unpack .../19-mono-roslyn_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-roslyn (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-xbuild. Preparing to unpack .../20-mono-xbuild_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-xbuild (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../21-pkg-config_0.29-6_armhf.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package mono-devel. Preparing to unpack .../22-mono-devel_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-devel (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-csharp-shell. Preparing to unpack .../23-mono-csharp-shell_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking mono-csharp-shell (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package monodoc-base. Preparing to unpack .../24-monodoc-base_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking monodoc-base (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package monodoc-browser. Preparing to unpack .../25-monodoc-browser_4.2-0xamarin1_all.deb ... Unpacking monodoc-browser (4.2-0xamarin1) ... Selecting previously unselected package monodoc-manual. Preparing to unpack .../26-monodoc-manual_6.12.0.122-0xamarin1+raspbian10b1_all.deb ... Unpacking monodoc-manual (6.12.0.122-0xamarin1+raspbian10b1) ... Selecting previously unselected package referenceassemblies-pcl. Preparing to unpack .../27-referenceassemblies-pcl_2014.04.14-1xamarin7+raspbian10b1_all.deb ... Unpacking referenceassemblies-pcl (2014.04.14-1xamarin7+raspbian10b1) ... Selecting previously unselected package msbuild-sdkresolver. Preparing to unpack .../28-msbuild-sdkresolver_1%3a16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1_all.deb ... Unpacking msbuild-sdkresolver (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Selecting previously unselected package msbuild-libhostfxr. Preparing to unpack .../29-msbuild-libhostfxr_3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1_armhf.deb ... Unpacking msbuild-libhostfxr (3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1) ... Selecting previously unselected package msbuild. Preparing to unpack .../30-msbuild_1%3a16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1_all.deb ... Unpacking msbuild (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Selecting previously unselected package mono-complete. Preparing to unpack .../31-mono-complete_6.12.0.122-0xamarin1+raspbian10b1_armhf.deb ... Unpacking mono-complete (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up monodoc-base (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libglade2-0:armhf (1:2.6.4-2) ... Setting up ca-certificates-mono (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libmonosgen-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-xbuild (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-4.0-service (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-csharp-shell (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up libmonoboehm-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up cli-common (0.10xamarin5+raspbian10b1) ... Setting up libmono-profiler (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up mono-mcs (6.12.0.122-0xamarin1+raspbian10b1) ... Mono precompiling /usr/lib/mono/4.5/mcs.exe for arm (LLVM disabled due to missing SSE4.1)... Setting up libdpkg-perl (1.19.7) ... Setting up libjavascriptcoregtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Setting up libglib2.0-cil (2.12.45-0xamarin19+raspbian10b1) ... Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Loaded from: /usr/lib/mono/4.5/mscorlib.dll Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275. Use of uninitialized value $fullname in concatenation (.) or string at /usr/share/cli-common/runtimes.d/mono line 225. Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Loaded from: /usr/lib/mono/4.5/mscorlib.dll Download a newer corlib or a newer runtime at http://www.mono-project.com/download. E: installing Assembly /usr/share/cli-common/policies.d/libglib2.0-cil/policy.2.10.glib-sharp.dll failed E: Installation of policy.2.10.glib-sharp with /usr/share/cli-common/runtimes.d/mono failed dpkg: error processing package libglib2.0-cil (--configure): installed libglib2.0-cil package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of libglade2.0-cil: libglade2.0-cil depends on libglib2.0-cil (>= 2.12.45); however: Package libglib2.0-cil is not configured yet. dpkg: error processing package libglade2.0-cil (--configure): dependency problems - leaving unconfigured Setting up libmonosgen-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... dpkg: dependency problems prevent configuration of libgtk2.0-cil: libgtk2.0-cil depends on libglib2.0-cil (= 2.12.45-0xamarin19+raspbian10b1); however: Package libglib2.0-cil is not configured yet. dpkg: error processing package libgtk2.0-cil (--configure): dependency problems - leaving unconfigured Setting up libmono-2.0-1 (6.12.0.122-0xamarin1+raspbian10b1) ... Setting up referenceassemblies-pcl (2014.04.14-1xamarin7+raspbian10b1) ... Setting up mono-utils (6.12.0.122-0xamarin1+raspbian10b1) ... update-alternatives: using /usr/bin/monodis to provide /usr/bin/cli-ildasm (cil-disassembler) in auto mode Setting up libwebkitgtk-1.0-0:armhf (2.4.11-4+rpi1+b1) ... Setting up pkg-config (0.29-6) ... Setting up libmono-2.0-dev (6.12.0.122-0xamarin1+raspbian10b1) ... dpkg: dependency problems prevent configuration of libwebkit1.1-cil: libwebkit1.1-cil depends on libglib2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglib2.0-cil is not configured yet. libwebkit1.1-cil depends on libgtk2.0-cil (>= 2.12.10-1ubuntu1); however: Package libgtk2.0-cil is not configured yet. dpkg: error processing package libwebkit1.1-cil (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of monodoc-browser: monodoc-browser depends on libglade2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglade2.0-cil is not configured yet. monodoc-browser depends on libglib2.0-cil (>= 2.12.10-1ubuntu1); however: Package libglib2.0-cil is not configured yet. monodoc-browser depends on libgtk2.0-cil (>= 2.12.10-1ubuntu1); however: Package libgtk2.0-cil is not configured yet. monodoc-browser depends on libwebkit1.1-cil (>= 0.3); however: Package libwebkit1.1-cil is not configured yet. dpkg: error processing package monodoc-browser (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of monodoc-manual: monodoc-manual depends on monodoc-browser | monodoc-http | monodoc-viewer; however: Package monodoc-browser is not configured yet. Package monodoc-http is not installed. Package monodoc-viewer is not installed. Package monodoc-browser which provides monodoc-viewer is not configured yet. dpkg: error processing package monodoc-manual (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of mono-complete: mono-complete depends on monodoc-manual (= 6.12.0.122-0xamarin1+raspbian10b1); however: Package monodoc-manual is not configured yet. dpkg: error processing package mono-complete (--configure): dependency problems - leaving unconfigured Setting up msbuild-libhostfxr (3.0.0.2019.04.16.02.13-0xamarin4+raspbian10b1) ... Setting up msbuild-sdkresolver (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Setting up mono-roslyn (6.12.0.122-0xamarin1+raspbian10b1) ... Mono precompiling /usr/lib/mono/4.5/csc.exe for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/vbc.exe for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/VBCSCompiler.exe for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.VisualBasic.dll for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/System.Collections.Immutable.dll for arm (LLVM disabled due to missing SSE4.1)... Mono precompiling /usr/lib/mono/4.5/System.Reflection.Metadata.dll for arm (LLVM disabled due to missing SSE4.1)... Setting up msbuild (1:16.6+xamarinxplat.2021.01.15.16.11-0xamarin1+raspbian10b1) ... Processing triggers for ca-certificates (20200601~deb10u2) ... Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Certinomis_-_Root_CA.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Certplus_Class_2_Primary_CA.crt not found, but listed in /etc/ca-certificates.conf. W: /usr/share/ca-certificates/mozilla/Deutsche_Telekom_Root_CA_2.crt not found, but listed in /etc/ca-certificates.conf. 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Updating Mono key store Corlib not in sync with this runtime: The runtime did not find the mscorlib.dll it expected. Expected interface version A144A63D-652C-4CCF-A9EE-8E5A091547F1 but found 1A5E0066-58DC-428A-B21C-0AD6CDAE2789. Check that your runtime and class libraries are matching. Loaded from: /usr/lib/mono/4.5/mscorlib.dll Download a newer corlib or a newer runtime at http://www.mono-project.com/download. Done done. Processing triggers for desktop-file-utils (0.23-4) ... Processing triggers for mime-support (3.62) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Setting up mono-devel (6.12.0.122-0xamarin1+raspbian10b1) ... update-alternatives: using /usr/bin/mono-csc to provide /usr/bin/cli-csc (c-sharp-compiler) in auto mode update-alternatives: using /usr/bin/resgen to provide /usr/bin/cli-resgen (resource-file-generator) in auto mode update-alternatives: using /usr/bin/al to provide /usr/bin/cli-al (assembly-linker) in auto mode update-alternatives: using /usr/bin/sn to provide /usr/bin/cli-sn (strong-name-tool) in auto mode Errors were encountered while processing: libglib2.0-cil libglade2.0-cil libgtk2.0-cil libwebkit1.1-cil monodoc-browser monodoc-manual mono-complete E: Sub-process /usr/bin/dpkg returned an error code (1) ``` --------------------------------------------------------------------- [FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate. ```

Remote support is okay with me. I think i jave remote desktop but i never used it. May you can give me instructions to change the password. Because i saved the password to auto login and im afraid i dont remember the password. And instructions how to give you access. The only way i have been logging in is via juicyssh app on android and putty on windows.

vnc log ``` root@DietPi-HTPC:~# systemctl status xrdp vncserver ● xrdp.service - xrdp daemon Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) Active: failed (Result: timeout) since Thu 2021-04-08 23:46:2 1 CEST; 1 day 21h ago Docs: man:xrdp(8) man:xrdp.ini(5) Apr 10 21:05:17 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:18 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:19 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:20 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:20 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:21 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:22 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:23 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:23 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. Apr 10 21:05:24 DietPi-HTPC systemd[1]: /lib/system d/system/xrdp.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/xrdp/xrdp.pid β†’ /run/xrdp/xrdp.pid; please update the unit file accordingly. ● vncserver.service - Manage VNC Server (DietPi) Loaded: loaded (/etc/systemd/system/vncserver.service; enabled; vendor preset: enabled) Active: active (exited) since Thu 2021-04-08 23:32:18 CEST; 1 day 21h ago Main PID: 681 (code=exited, status=0/SUCCESS) Tasks: 9 (limit: 4915) Memory: 63.3M CGroup: /system.slice/vncserver.service └─725 /usr/bin/Xtigervnc :1 -desktop DietPi-HTPC:1 (root) -auth /root/.Xauthority -geometry 1280x720 -depth 16 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn -SecurityTypes VncAuth,TLSVnc Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. ```
MichaIng commented 3 years ago

I think Sonarr blocked the autoremoval of Mono and this library mismatch broke even complete APT install now...

I see a VNC server is running, which is fine. But it runs on an own virtual desktop, which cannot be easily shared by two users. Most transparent for you would be:

# Switch to shared desktop mode
G_CONFIG_INJECT 'SOFTWARE_VNCSERVER_SHARE_DESKTOP=' 'SOFTWARE_VNCSERVER_SHARE_DESKTOP=1' /boot/dietpi.txt
# Create a strong true random password
tr -dc '[:alnum:]' < /dev/random | head -c32; echo
# Apply that password for the VNC server
vncpasswd
# Restart the VNC server service to have the change take effect
systemctl restart vncserver
# Start a desktop session, once ready
startx

VNC runs on port 5901, so you'd need to forward this from your router. At best send me that password along with our public IP/domain via PM in our forum, that is safer than email πŸ˜„: https://dietpi.com/phpbb/ucp.php?i=pm&mode=compose&u=3157 Ah, and add a date/time when it would fit for you, so you can watch what I'm doing on your local screen.

ZiggyPi commented 3 years ago

@MichaIng

Sorry to say there was another hickup

startx log ``` root@DietPi-HTPC:~# systemctl restart vncserver root@DietPi-HTPC:~# startx X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 Build Operating System: Linux 5.4.0-54-generic armv8l Raspbian Current Operating System: Linux DietPi-HTPC 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:55:20:05 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=cb7b86f7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait Build Date: 15 January 2021 02:03:57PM xorg-server 2:1.20.4-1+rpt2+deb10u3 (https://www.debian.org/support) Current version of pixman: 0.36.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 12 18:33:36 2021 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error ```

And a date and time partly depends on the time differenxe. I'm from The Netherlands, you?

ravenclaw900 commented 3 years ago

I think that for a desktop to work, you have to have an HDMI cable plugged in to the device. Is there one?

Joulinar commented 3 years ago

Better to have a look to /var/log/Xorg.0.log

ZiggyPi commented 3 years ago

@ravenclaw900 no it's a headless setup

@Joulinar

root@DietPi-HTPC:~# /var/log/Xorg.0.log
-bash: /var/log/Xorg.0.log: Permission denied
Joulinar commented 3 years ago

It is not a file to execute. Try cat /var/log/Xorg.0.log πŸ˜‰

MichaIng commented 3 years ago

Ah okay, with a headless setup no X server can be started directly. Hmm, I actually never tested it two users can connect to the same virtual desktop session. Let's try that:

G_CONFIG_INJECT 'SOFTWARE_VNCSERVER_SHARE_DESKTOP=' 'SOFTWARE_VNCSERVER_SHARE_DESKTOP=0' /boot/dietpi.txt
systemctl restart vncserver
sleep 5
htop # should show an "Xtigervnc :1" process now, hit "q" to exit

Now you should be able to connect via any VNC viewer. Here the most simple standalone executable for Windows: https://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_x86_viewer.zip Type in the Pi's LAN IP + :1 (e.g. 192.168.1.2:1) and hit "Connect". Then enter the password you set previously. I hope then that I'm able to connect to the very same session via public <IP/hostname>:1.

Joulinar commented 3 years ago

You could you Team Viewer as well to look to same windows desktop

MichaIng commented 3 years ago

But TeamViewer also needs to be executed from a local desktop, doesn't it? As no screen is attached, we need a purely virtual X server session.

Joulinar commented 3 years ago

I mean to connect from Windows to Windows desktop and than use PuTTY. No need for X server and port forwarding

MichaIng commented 3 years ago

Ah yes that would be an option as well, actually the simpler and saver one πŸ‘. Here the link for TeamViewer: https://www.teamviewer.com/download/windows/ Run it on your Windows, share your ID and password with me (per mail or better forum PM) and start on SSH session. So I can remote control your Pi through your desktop PC. Theoretically Windows remote desktop would work the same way, but AFAIK TeamViewer has the safer protocol. No need to create a TeamViewer account btw.

ZiggyPi commented 3 years ago

@MichaIng

I just send you a PM on the DietPi forum

If you can tell me what time fits best for you, i will make sure i'm at my computer

MichaIng commented 3 years ago

We finally fixed the issues, which was not trivial:

@ZiggyPi Btw, to setup an HTPC Manager proxy with Lighttpd proxy, try the following:

lighty-enable-mod proxy
cat << 'EOF' > /etc/lighttpd/conf-available/99-htpc.conf
$HTTP["url"] =~ "^/htpc" {
    proxy.server = ( "" =>  ( ( "host" => "127.0.0.1", "port" => 6789 ) ) )
    proxy.header = ( "map-urlpath" => ( "/htpc" => "" ) )
}
EOF
lighty-enable-mod htpc
systemctl restart lighttpd
Joulinar commented 3 years ago

Well done @MichaIng πŸ‘

MichaIng commented 3 years ago

I mark this issue as closed. In case, for Lighttpd proxy, please open a new issue.