hassio-addons: š [qbittorrent] Unable to get qbitmanage to run
Description
Hi there, thanks for incorporating qbitmange into the addon. Iām struggling to get it to run however (Iām aware of the apprise connection failing but thatās a non-issue). Itās giving me āexpected str, bytes or os.PathLike object, not NoneTypeā at the end of itās logs before ending the scheduled run (doesnt even attempt to do what Iāve asked of it).
Reproduction steps
Configure qbitmanage and attempt to run it.
Addon Logs
|====================================================================================================|
| _ _ _ |
| | | (_) | |
| __ _| |__ _| |_ _ __ ___ __ _ _ __ __ _ __ _ ___ |
| / _` | '_ \| | __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ |
| | (_| | |_) | | |_ | | | | | | (_| | | | | (_| | (_| | __/ |
| \__, |_.__/|_|\__| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___| |
| | | ______ __/ | |
| |_| |______| |___/ |
| Version: 4.0.6 (Docker) |
[08:32:57] INFO: Starting NGinx...
| Platform: Linux-6.1.63-haos-x86_64-with |
| Scheduled Mode: Running every 24 Hours. |
| Startup Delay: Initial Run will start after 30 seconds |
|====================================================================================================|
| Starting Run |
|====================================================================================================|
| Locating config... |
| Using /config/qbit_manage/qbit_manage.yml as config |
| Commands found in /config/qbit_manage/qbit_manage.yml, ignoring env variables and using config commands instead. |
| Connecting to Apprise... |
| Config Error: apprise sub-attribute notify_url not found |
| apprise sub-attribute notify_url added to config |
| Apprise Connection Failed |
| Connecting to Notifiarr... |
| Notifiarr Connection Successful |
| Connecting to BHD API... |
| BHD Connection Successful |
| |====================================================================================================|
| _ _ _ |
| | | (_) | |
| __ _| |__ _| |_ _ __ ___ __ _ _ __ __ _ __ _ ___ |
| / _` | '_ \| | __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ |
| | (_| | |_) | | |_ | | | | | | (_| | | | | (_| | (_| | __/ |
| \__, |_.__/|_|\__| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___| |
| | | ______ __/ | |
| |_| |______| |___/ |
| Version: 4.0.6 (Docker) |
[08:32:57] INFO: Starting NGinx...
| Platform: Linux-6.1.63-haos-x86_64-with |
| Scheduled Mode: Running every 24 Hours. |
| Startup Delay: Initial Run will start after 30 seconds |
|====================================================================================================|
| Starting Run |
|====================================================================================================|
| Locating config... |
| Using /config/qbit_manage/qbit_manage.yml as config |
| Commands found in /config/qbit_manage/qbit_manage.yml, ignoring env variables and using config commands instead. |
| Connecting to Apprise... |
| Config Error: apprise sub-attribute notify_url not found |
| apprise sub-attribute notify_url added to config |
| Apprise Connection Failed |
| Connecting to Notifiarr... |
| Notifiarr Connection Successful |
| Connecting to BHD API... |
| BHD Connection Successful |
| expected str, bytes or os.PathLike object, not NoneType |
| Exiting scheduled Run. |
|====================================================================================================|
| Finished Run |
| Run Time: 0:00:03 |
| Current Time: 08:33 | 24 Hours until the next run at 08:33 |
|====================================================================================================| |
| Exiting scheduled Run. |
|====================================================================================================|
| Finished Run |
| Run Time: 0:00:03 |
| Current Time: 08:33 | 24 Hours until the next run at 08:33 |
|====================================================================================================|
Architecture
No response
OS
HAos
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 20 (9 by maintainers)
Commits related to this issue
- Update 92-qbit_manage.sh https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 7 months ago
- Update config.json https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 7 months ago
- Update CHANGELOG.md https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 7 months ago
- Update config.json https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 6 months ago
- Update Dockerfile https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 6 months ago
- Update Dockerfile https://github.com/alexbelgium/hassio-addons/issues/1131 — committed to alexbelgium/hassio-addons by alexbelgium 6 months ago
Hi, there is a big list of environment variables : https://github.com/StuffAnThings/qbit_manage/wiki/Docker-Installation
You can add them (QBT_SCHEDULE for your need) in the /addon_configs/xxx-qbittorrent/config.yaml file. It should be read and passed at boot to qbit_manage according to https://github.com/alexbelgium/hassio-addons/wiki/Addāons-feature-:-add-env-variables
Works perfectly now, thank you
Should be good in test2
reopening because it seems like the latest update removed the scheduled run feature? Now has āRun Mode: Script will exit after completion.ā instead of what used to be running every 24 hours
Algood, thereās no rush. Was just making sure the bot didnāt make as stale is all
On Fri, 22 Dec 2023, 07:03 Alexandre, @.***> wrote:
Well from a quick Google search it looks like a misconfigured python element which should be on the addonā¦ But first iāll have to revert the addon to itās previous state before reimplementing this features (bit it should be fast)
Thatās algood, I can upload my add-on settings and the config for qbitmanage is still the same as Iāve already uploaded so itāll be easier to replicate. I assume itās more something to do with my machine than the addon to be fair.
On Sat, 16 Dec 2023, 10:16 Alexandre, @.***> wrote: