mmtaee / ocserv-users-management

ocserv installation and user web-panel management.
96 stars 44 forks source link

code bug #47

Closed microbull closed 8 months ago

microbull commented 8 months ago

BUG WEB 'Create Ocserv Group' AND 'Configuration' page All of the 'routes' write to config file is routes=192.168.0.0/24 is incorrect, route =192.168.0.0/24 is correct.need fix.

Question if i want reinstall ocserv how can i backup all data include WEB and ocserv ?

how can i restore admin password. How do I add more administrators?

mmtaee commented 8 months ago
if i want reinstall ocserv how can i backup all data include WEB and ocserv ?

-- in docker mode you need copy volume directory. after paste directory restart docker compose

-- in systemd mode: copy database in dir : /var/www/site/back-end/db/ copy /etc/ocserv/

after reinstall paste files and dirs then restart services:

  1. ocserv.service # for changes in /etc/ocserv/*
  2. backend.service # for changes in /var/www/site/back-end/db/*
  3. user_stats.service # for changes in /var/www/site/back-end/db/*
mmtaee commented 8 months ago

With the latest code update (commit: [19fff9c]) you can create additional admin with terminal or panel.

Good luck.