GithubHelp home page GithubHelp logo

Comments (4)

SamErde avatar SamErde commented on May 27, 2024

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.

SamErde avatar SamErde commented on May 27, 2024

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.

jsermer avatar jsermer commented on May 27, 2024

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.

jsermer avatar jsermer commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.