SuperPauly Posted May 16, 2022 Report Posted May 16, 2022 Hi, So I have been trying to work out a way to delete my admin and all other accounts to start from scratch as I was just testing 2600hz out before but now I wana set it up for real. I have checked here https://docs.2600hz.com/dev/applications/crossbar/doc/maintenance/ And can't see a way to delete all the accounts to start from scratch. At this point I assume I will have to delete it from the DB i setup which is CouchDB. What tables/documents would I need to delete in order to reset 2600hz users to 0 so I can create a new admin from 'sup' again? Thanks.
Administrators mc_ Posted May 16, 2022 Administrators Report Posted May 16, 2022 Your best bet for a system reset is, on each couch server, delete everything in /srv/db then restart kazoo-bigcouch. Then restart kazoo-applications to re-initialize system databases.
SuperPauly Posted May 19, 2022 Author Report Posted May 19, 2022 On 5/16/2022 at 5:35 PM, mc_ said: Your best bet for a system reset is, on each couch server, delete everything in /srv/db then restart kazoo-bigcouch. Then restart kazoo-applications to re-initialize system databases. My /srv/db don't exist there is no db dir. What is the name of the db I have to delete or path? So far I can find all these directorys with 'db' as the name: /etc/kazoo/kamailio/db /var/lib/freeswitch/db /var/lib/kazoo-freeswitch/db /var/db /tmp/db Which one would this be under? Thanks :)
Administrators mc_ Posted May 20, 2022 Administrators Report Posted May 20, 2022 Check /etc/kazoo/bigcouch/local.ini the database_dir config: https://github.com/2600hz/kazoo-configs-bigcouch/blob/master/bigcouch/local.ini#L16
SuperPauly Posted May 23, 2022 Author Report Posted May 23, 2022 On 5/20/2022 at 10:41 PM, mc_ said: Check /etc/kazoo/bigcouch/local.ini the database_dir config: https://github.com/2600hz/kazoo-configs-bigcouch/blob/master/bigcouch/local.ini#L16 This is really weird but that /srv is completly blank.. I think I will do a re-install
Recommended Posts