thxtex
Dabbler
- Joined
- Dec 8, 2017
- Messages
- 27
Hi
I have been spending hours trying to get this work without success. It looks like sonarr is running but I can not access the WebUI. I use the following to create the jail.
The tail of sonarrs logfile is the following.
I have been spending hours trying to get this work without success. It looks like sonarr is running but I can not access the WebUI. I use the following to create the jail.
Code:
#!/bin/sh echo '{"pkgs":["icu","libunwind","krb5","libnotify","libinotify","sqlite3","curl","ca_root_nss"]}' > /tmp/pkg.json iocage create -n sonarr -p /tmp/pkg.json -r 13.2-RELEASE ip4_addr="vnet0|192.168.1.74/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" allow_mlock="1" boot="on" rm /tmp/pkg.json iocage exec sonarr "curl -J -L 'https://services.sonarr.tv/v1/download/develop/latest?version=4&os=freebsd&arch=x64' -o /usr/local/share/sonarr.tar.gz" iocage exec sonarr "tar -xzvf /usr/local/share/sonarr.tar.gz -C /usr/local/share" iocage exec sonarr "rm /usr/local/share/sonarr.tar.gz" iocage exec sonarr mkdir -p /config /mnt/datapool /usr/local/etc/rc.d /var/run/sonarr #iocage fstab -a sonarr /mnt/Volume1/appdata/sonarr /config nullfs rw 0 0 iocage fstab -a sonarr /mnt/Volume2/Tank/ /mnt/datapool nullfs rw 0 0 iocage exec sonarr "pw user add sonarr -c sonarr -u 351 -d /nonexistent -s /usr/bin/nologin" #Startscript as shown on https://wiki.servarr.com/sonarr/installation/freebsd cp sonarr /mnt/Volume1/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr iocage exec sonarr chown -R sonarr:sonarr /usr/local/share/Sonarr /config /var/run/sonarr /usr/local/etc/rc.d/sonarr iocage exec sonarr chmod u+x /usr/local/etc/rc.d/sonarr iocage exec sonarr sysrc sonarr_enable=YES sonarr_user=sonarr sonarr_group=sonarr sonarr_data_dir=/config iocage exec sonarr service sonarr start
The tail of sonarrs logfile is the following.
Code:
2024-02-11 14:03:12.7|Info|email_encryption|Starting migration of Log DB to 201 2024-02-11 14:03:12.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|INSERT INTO "VersionInfo" ("Version", "AppliedOn", "Description") VALUES (201, '2024-02-11T13:03:12', 'email_encryption') 2024-02-11 14:03:12.7|Info|NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSQLiteProcessor|Committing Transaction 2024-02-11 14:03:12.7|Info|FluentMigrator.Runner.MigrationRunner|201: email_encryption migrated 2024-02-11 14:03:12.7|Info|FluentMigrator.Runner.MigrationRunner|=> 0.0024825s 2024-02-11 14:03:13.0|Info|Microsoft.Hosting.Lifetime|Now listening on: http://[::]:8989 2024-02-11 14:03:13.3|Info|QualityProfileService|Setting up default quality profiles 2024-02-11 14:03:13.4|Info|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down. 2024-02-11 14:03:13.4|Info|Microsoft.Hosting.Lifetime|Hosting environment: Production 2024-02-11 14:03:13.4|Info|Microsoft.Hosting.Lifetime|Content root path: /