alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.57k stars 224 forks source link

πŸ› [Transmission] Error in HA logs after 2023.6 #861

Closed Meister1977 closed 1 year ago

Meister1977 commented 1 year ago

Transmission

Describe the bug

23-06-08 10:01:51 ERROR (SyncWorker_0) [supervisor.docker.addon] Add-on Transmission try to access to blocked device sda! 23-06-08 10:01:51 ERROR (SyncWorker_0) [supervisor.docker.addon] Add-on Transmission try to access to blocked device sda1!

[migrations] started
[migrations] no migrations found
-----------------------------------------------------------
 Add-on: Transmission
 Bittorrent client based on linuxserver image
-----------------------------------------------------------
───────────────────────────────────────
      β–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— 
      β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—
      β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
      β–ˆβ–ˆβ•‘     β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
      β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β• β•šβ•β•β•β•β•β• 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    0
User GID:    0
───────────────────────────────────────
 Add-on version: 4.0.3-r2-ls179
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.2  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.6.0
 Home Assistant Supervisor: 2023.06.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons 
-----------------------------------------------------------
 Defining permissions for main user : 
User UID: 0
User GID : 0
-----------------------------------------------------------
Updating folders
[10:02:01] INFO: UI selected : transmission-web-control
[10:02:01] WARNING: If UI was changed, you need to clear browser cache for it to show in Ingress
Creating config
Updating permissions
Incomplete dir set: /share/incomplete
[10:02:03] WARNING: User {MESSAGE} Pass not set, no authentification required
[10:02:05] INFO: Execute /config/addons_autoscripts/transmission-ls.sh if existing
[10:02:05] INFO: ... no script found
Checking settings.json format
[10:02:13] INFO: Your settings.json was checked and seems perfectly normal!
[10:02:14] INFO: Alternate UI enabled : transmission-web-control. If webui don't work, disable this option
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 1177k    0 1177k    0     0  1413k      0 --:--:-- --:--:-- --:--:-- 1413k
[10:02:16] INFO: DNS SERVERS set to 1.1.1.1 8.8.8.8 
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[10:02:18] INFO: Starting NGinx...

DNS_server: 8.8.8.8,1.1.1.1 PGID: 0 PUID: 0 download_dir: /share/downloads incomplete_dir: /share/incomplete customUI: transmission-web-control

Home Assistant 2023.6.0 Supervisor 2023.06.1 Operating System 10.2 KezelΕ‘felΓΌlet 20230607.0 - latest

alexbelgium commented 1 year ago

Hi, access to "/dev/sda1" is allowed in the config.json and apparmor.txt for people who use the mount capabilities. I suppose you are not mounting devices (as you are storing data in /share) however it still tries to see if it has the ability to do it to list potential shares. I think it is a safe message to ignore

https://github.com/alexbelgium/hassio-addons/blob/7006f89599780f588f836842d274164c9b55e08b/transmission/config.json#L36-L37

alexbelgium commented 1 year ago

I've done some test and it seems the error message appears as soon as the addon is started, even before it executes scripts... So it is likely due to the supervisor itself

alexbelgium commented 1 year ago

Same error here reported in supervisor, without solutions :

Meister1977 commented 1 year ago

Hi, thanks the investigation. In this case you can close this issue, I understand the problem out of scope of the actual integration. Thanks again!

alexbelgium commented 1 year ago

I'll close it then, thanks!