alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.55k stars 222 forks source link

šŸ› [Paperless] Version 2.0.0.1-7 tried to chmod folders - but runs after all #1092

Closed snipah closed 11 months ago

snipah commented 11 months ago

Description

Just upgraded to last version, but now the add-on tries to chmod lots of folders. This should not be induced by my setup, as this bug did not show before the update

Reproduction steps

(Re-)Start addon :)

Addon Logs

chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/arp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/arp_ignore': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/arp_notify': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/bc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/bootp_relay': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/disable_policy': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/disable_xfrm': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/drop_gratuitous_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/drop_unicast_in_l2_multicast': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/force_igmp_version': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/igmpv2_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/igmpv3_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/ignore_routes_with_linkdown': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/log_martians': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/mc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/medium_id': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/promote_secondaries': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/proxy_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/proxy_arp_pvlan': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/route_localnet': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/rp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/secure_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/send_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/shared_media': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/src_valid_mark': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/default/tag': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/accept_local': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/accept_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/accept_source_route': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_accept': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_announce': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_evict_nocarrier': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_ignore': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/arp_notify': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/bc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/bootp_relay': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/disable_policy': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/disable_xfrm': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/drop_gratuitous_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/drop_unicast_in_l2_multicast': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/force_igmp_version': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/igmpv2_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/igmpv3_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/ignore_routes_with_linkdown': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/log_martians': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/mc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/medium_id': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/promote_secondaries': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/proxy_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/proxy_arp_pvlan': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/route_localnet': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/rp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/secure_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/send_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/shared_media': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/src_valid_mark': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/eth0/tag': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/accept_local': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/accept_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/accept_source_route': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_accept': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_announce': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_evict_nocarrier': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_ignore': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/arp_notify': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/bc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/bootp_relay': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/disable_policy': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/disable_xfrm': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/drop_gratuitous_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/drop_unicast_in_l2_multicast': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/force_igmp_version': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/igmpv2_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/igmpv3_unsolicited_report_interval': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/ignore_routes_with_linkdown': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/log_martians': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/mc_forwarding': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/medium_id': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/promote_secondaries': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/proxy_arp': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/proxy_arp_pvlan': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/route_localnet': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/rp_filter': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/secure_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/send_redirects': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/shared_media': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/src_valid_mark': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/conf/lo/tag': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/fib_multipath_hash_fields': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/fib_multipath_hash_policy': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/fib_multipath_use_neigh': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/fib_notify_on_flag_change': Read-only file system
chmod: changing permissions of '/proc/sys/net/ipv4/fwmark_reflect': Read-only file system

Architecture

No response

OS

No response

alexbelgium commented 11 months ago

So strange ! Do you manage to see the last action prior to this ?

snipah commented 11 months ago

Difficult...

Starting...
/etc/cont-init.d/00-banner.sh: executing

-----------------------------------------------------------
 Add-on: Paperless NGX
 Scan, index and archive all your physical documents
-----------------------------------------------------------
 Add-on version: 2.0.0.1-7
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (amd64 / qemux86-64)
 Home Assistant Core: 2023.11.3
 Home Assistant Supervisor: 2023.11.3
-----------------------------------------------------------
 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
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config.yaml'
OCRLANG='DEU'
PAPERLESS_CONSUMPTION_DIR='/homeassistant/addons_config/consume'
PAPERLESS_DATA_DIR='/share/paperless/data'
PAPERLESS_MEDIA_ROOT='/share/paperless/media'
PAPERLESS_OCR_MODE='skip'
PAPERLESS_URL='https://paperless.hoevelmann.online'
PGID='0'
PUID='0'
certfile='fullchain.pem'
database='mariadb_addon'
keyfile='privkey.pem'
ssl='false'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing

is the last I see before the above shown log shows

alexbelgium commented 11 months ago

mmh crazy... thanks I'll try to investigate (I can't replicate)...

alexbelgium commented 11 months ago

ok I see the issue... I'm trying to cover too many things with my code as it is transversal to many addons and have issues identifying all the ramifications of the changes (plus doing it in parallel of other things which doesn't help).

I'll correct that ASAP

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.