[root@freepbx-b ~]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
PDOException: SQLSTATE[HY000]: General error: 130 Incorrect file format ‘music’ in file /drbd/httpd/www/html/admin/modules/music/Music.class.php on line 379
Stack trace:
[root@freepbx-b ~]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
PDOException: SQLSTATE[HY000]: General error: 130 Incorrect file format ‘music’ in file /drbd/httpd/www/html/admin/modules/music/Music.class.php on line 379
Stack trace:
Sorry, if there was a way to avoid that, I don’t know what it is…
I am more used to playing with Oracle databases than MySQL/MariaDB…
(Ok, MySQL is now owned by Oracle but I mean their flagship product, not MySQL…)
Assuming you have the distro I believe all the music on hold categories you added are folders in /var/lib/asterisk/moh …
You won’t be able to recreate the default one though, the system reserves its name… If you absolutely need it I guess you could create one with a similar name and then update the database (if you want to do that, please let me know…) to call it default…
(The other solution would be to deinstall and reinstall the module since the “default” entry is added when you install but I don’t know if the music on hold files or anything else important are/is removed when you remove the module so I would not do that unless a FreePBX dev confirm it is safe…)