Edit : actually I found the issue with qb-web, it is solved in v4 I’ve pushed
I don’t have 30-nginx.sh error on my system though
Edit : actually I found the issue with qb-web, it is solved in v4 I’ve pushed
I don’t have 30-nginx.sh error on my system though
qt-web is the only way to setup client properly - e.g. to remove a torrent after some time seeding, and other options which are not available on other UI modules.
Please do not remove it.
Here is the log
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-aaa_dockerfile_backup.sh: executing...
[cont-init.d] 00-aaa_dockerfile_backup.sh: exited 0.
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Qbittorrent
qBittorrent is a bittorrent client
-----------------------------------------------------------
Add-on version: release-4.4.1-ls173-3
You are running the latest version of this add-on.
System: Home Assistant OS 7.4 (amd64 / qemux86-64)
Home Assistant Core: 2022.2.9
Home Assistant Supervisor: 2022.01.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 01-migrations: executing...
[migrations] started
[migrations] no migrations found
[cont-init.d] 01-migrations: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 0
User gid: 0
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 30-nginx.sh: executing...
[cont-init.d] 30-nginx.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
My default WebUI port changed from 8080 to 8888.
PS I feel myself kinda stupid, but it works now, after few restarts (with default UI).
Thanks for the feedback, I’ve re-added it as I found the cause of the issue.
For the nginx issue, I can’t replicate, so I can’t help you. What I’ve done is pushed a new version n (v5) with custom messages that will show us when exactly the error occurs in the script.
To activate the debug mode, type “debug” (without the ') in the TZ addon option.
It will detect this and add custom debug messages for you in the 30-nginx.sh script
Thank you! Can’t replicate the error now, sorry. But anyway, more debug is better.
I will let you know if the updated version is working for me, once supervisor will see the update.
Do you mean the addon is starting correctly? The v5 is up with debug mode hidden in TZ variable as described above
Hi, there.
It seems, at least for me, release-4.4.1-ls173-5 is still not working.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-aaa_dockerfile_backup.sh: executing...
[cont-init.d] 00-aaa_dockerfile_backup.sh: exited 0.
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Qbittorrent
qBittorrent is a bittorrent client
-----------------------------------------------------------
Add-on version: release-4.4.1-ls173-5
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye) (amd64 / qemux86-64)
Home Assistant Core: 2022.2.8
Home Assistant Supervisor: 2022.01.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 01-migrations: executing...
[migrations] started
[migrations] no migrations found
[cont-init.d] 01-migrations: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 0
User gid: 0
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 30-nginx.sh: executing...
[cont-init.d] 30-nginx.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Any idea how I can help figure this out?
Thanks in advance!
Ah, great! You can replicate the issue mentioned could you please type “debug” without the " in the TZ addon option and restart? It will show which part of the 30-nginx script fails. Thanks!
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-aaa_dockerfile_backup.sh: executing...
[cont-init.d] 00-aaa_dockerfile_backup.sh: exited 0.
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Add-on: Qbittorrent
qBittorrent is a bittorrent client
-----------------------------------------------------------
Add-on version: release-4.4.1-ls173-5
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye) (amd64 / qemux86-64)
Home Assistant Core: 2022.2.8
Home Assistant Supervisor: 2022.01.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 01-migrations: executing...
[migrations] started
[migrations] no migrations found
[cont-init.d] 01-migrations: exited 0.
[cont-init.d] 02-tamper-check: executing...
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 0
User gid: 0
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 30-nginx.sh: executing...
Before declare
Before ssl
Before cp
Before sed
Before var
[cont-init.d] 30-nginx.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Like this?
Yup, great thanks! It seems curl fails to download the ingress ui. Mmh… Weird issue…
Is it possible to go back to the last known good version while we wait for a fix, without having to dig up last week’s backup?
Meanwhile, anything else you need tested?
Edit: Also, if curl is failing, can it be the target is offline? Because that will FOR SURE cause curl to fail
Edit 2: WELL THEN… Apparently, stuff started working again, out of the blue… It might have actually been the curl target temporarily not working… O_o
Mmh… Weird. Well that’s a good thing then. Perhaps github has some issues for the moment which caused those curl failures…
I’ll keep debug mode enabled for the time being, in case anything else goes awry.
If nothing happens in the meanwhile, I’ll disable the option sometime tomorrow.
Thanks for looking into the issue so quickly!
v5 works just fine for me, with old UI. Thank you!
nginx issue seems to be not a permanent one, but probably depend on some weird conditions. Now it just works fine.
I’ve fixed the openvpn issue by adding a few lines to my .ovpn config:
# don't route lan through vpn
route 192.168.1.0 255.255.255.0 net_gateway
# deactivate ipv6
pull-filter ignore "dhcp-option DNS6"
pull-filter ignore "tun-ipv6"
pull-filter ignore "ifconfig-ipv6"
Thanks for the feedback. So it’s not considered an issue anymore? I’ve added your code to the Readme for other people to be aware
If not then all issues on 4.4.1 seem to be closed
No, it’s not an issue anymore - thanks for your help and this awesome addon library!
Hi. I have:
SavePath: /mnt/TOSHIBA #TOSHIBA is the name/label of the partition
localdisks: sda1
but in the logs I get
[cont-init.d] 92-local_mounts.sh: executing...
Local Disks mounting...
mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
[19:19:44] FATAL: Unable to mount local drives! Please check the name.
[cont-init.d] 92-local_mounts.sh: exited 0.
From Hardware section:
DEVNAME: /dev/sda1
DEVPATH: >-
/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
DEVTYPE: partition
[...]
ID_FS_LABEL: TOSHIBA
ID_FS_LABEL_ENC: TOSHIBA
ID_FS_TYPE: exfat
I want to save the downloads to the mounted USB drive. What am I doing wrong?
Thank you! Looking forward to using this along with Sonarr and Plex. Step by step…
Edit to add:
I plugged a different, simple drive. With your PLEX NAS add-on, this works:
localdisks: sdb1
[cont-init.d] 92-local_mounts.sh: executing...
Local Disks mounting...
[20:10:20] INFO: Success! sdb1 mounted to /mnt/sdb1
[cont-init.d] 92-local_mounts.sh: exited 0.
And Plex finds the sample file I copied.
But if I go back to qBitTorrent, turns our I have to Stop the plugin, and funnily enough, the only way that it worked was with the label (not the partition) as localdisks:
SavePath: /SDA1/Plex/TV Shows
localdisks: SDA1
[cont-init.d] 92-local_mounts.sh: executing...
Local Disks mounting...
[20:20:41] INFO: Success! SDA1 mounted to /mnt/SDA1
[cont-init.d] 92-local_mounts.sh: exited 0.
Maybe because sdb1 is already mounted? If so, what’s the proper way to do it then?
In any case, I’m still doing something wrong with qbittorrent because I don’t know where the download goes, even if the Configuration, Settings and File Info say it’s in /SDA1/Plex/TV Shows (can’t find that folder/file) - plus the “remaining space” shows the HA OS internal drive remaining space.
2nd edit. Finally, for now:
Following your comment, I needed to use the right savepath based on the log:
SavePath: /mnt/SDA1 # not just /SDA1
although Plex later uses /mnt/sdb1, but that’s easy to see as you one can navigate the folders in Plex.
Hopefully my post helps another noob in the future.
Now, onto Sonarr. Thank you, I’m amazed by your plugins!
Hi, thanks for the feedback and the great self-troubleshooting! I’m trying to add in the readme some examples of issues and solutions I’ll add yours. Thanks again!
Although they were my (learning) process, I think my post might be a bit confusing, taking into account that:
Here’s my final setup with all your plugins:
Supervisor Hardware (info):
DEVNAME: /dev/sdb2
ID_FS_LABEL: CIEN
Sonarr:
localdisks: CIEN
Transmission NAS:
download_dir: /mnt/CIEN/downloads
localdisks: CIEN
Plex NAS:
localdisks: CIEN
Filebrowser:
localdisks: CIEN
Honestly, I have no idea why I needed different info (partition or labels) at different times/addons and using labels seems to work around the sda1/sdb1/sdb2 changes by Home Assistant if the drive is unmounted/unplugged.
Additional learnings (are they true?):
Some questions if I may!?:
Sorry for the basic questions, I’m not exactly an expert in linux drives management…
And thank you again for your add-ons!!
Off-topic but still related; For the Transmission addon, I keep getting this:
Mounting smb share(s)...
[09:19:46] FATAL: The structure of your "networkdisks" option : "//ADDRESS/SHARE" doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2.
If you don't use it, you can simply remove the text, this will avoid this error message in the future.
The fields for networkdisks
, cfisusername
, cfispassword
and localdisks
gets autogenerated if i leave them empty.