Comments (4)
This block is working fine for me on UDM firmware 1.8.3-beta2 and controller version 6.0.36. What UDM versions are you on?
from ntopng-udm.
I updated to official 1.8.3 with controller 6.0.41 last night, and this is still working on my UDM.
from ntopng-udm.
I found that if the redis podman volume mount is not present, when the container is stopped/deleted, the ntopng admin password and other ntopng preferences are reset to their respective defaults. If the volume mount is present, then that information persists. So I think the documentation should be updated to include -v /mnt/data/ntopng/redis:/var/lib/redis
from ntopng-udm.
One additional comment I should make....you need to create the redis dir with the proper ownership:
uid/gids inside container
root@router:/# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Jun23 ? 00:00:00 /bin/bash /entrypoint.sh
redis 16 1 0 Jun23 ? 00:21:54 /usr/bin/redis-server 127.0.0.1:6379
ntopng 22 1 93 Jun23 ? 6-16:32:42 ntopng /etc/ntopng/ntopng.conf
root@router:/# id redis
uid=101(redis) gid=102(redis) groups=102(redis)
root@router:/# id ntopng
uid=999(ntopng) gid=999(ntopng) groups=999(ntopng)
create dirs outside container
mkdir /mnt/data/ntopng/redis
chown 101:102 /mnt/data/ntopng/redis
Additionally, if the docs do not mention it, I also set the main ntopng lib dir as follows (ntopng uid/gid are both 999):
mkdir /mnt/data/ntopng/lib
chown 999:999 /mnt/data/ntopng/lib
from ntopng-udm.
Related Issues (20)
- just wanted to say thanks HOT 1
- Add support for TLS certificates HOT 3
- use /mnt/data_ext for more disk space when using a hard drive installed in UDM Pro HOT 3
- ntopng.conf -W vs -w HOT 1
- Update to new version HOT 8
- smtp endpoint
- No settings are saved HOT 1
- GeoIP configured but no flags HOT 1
- help please am getting the following errors etc
- Stable ntopng 5.0 HOT 1
- Unable to change password HOT 1
- HTTPS warning on connect
- Upgrade to 5.x? HOT 4
- no WAN interface
- No podman on my UDM HOT 1
- License Ntopng HOT 1
- UniFi OS 3 HOT 2
- Multi Stage Docker Build HOT 2
- Unable to run Ping/SpeedTest Active Monitoring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntopng-udm.