docker-ntop icon indicating copy to clipboard operation
docker-ntop copied to clipboard

Getting permission denied after upgrade

Open Raptime opened this issue 10 months ago • 0 comments

Did somehting change with the permissions, all I did was a compose pull and compose up and now the docker image won't start, I see this in the logs:

[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/-1/top_talkers/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/-1/alerts/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/2/top_talkers/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/2/alerts/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/scripts_data) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/flow) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/syslog) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/interface) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/snmp_device) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/check_definitions) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/alert_definitions) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/http_lint) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/menu_items) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/templates) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/ts_schemas) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/modules) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/active_monitoring) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/system/system) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/network) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/scripts) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/callbacks/interface/host) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/httpdocs) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/locales) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/scripts/alert_endpoints) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/3/top_talkers/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/3/alerts/) failed [13/Permission denied]
[Utils.cpp:761] WARNING: mkdir(/var/lib/ntopng/tmp/influxdb/) failed [13/Permission denied]

Raptime avatar Apr 11 '24 13:04 Raptime