Odinn Helgason - 2023-12-22

Hi all,
I have a Raspberry pi 3b running RasPBX. The other day I was trying to make a backup but ran out of space. After that the frontend came up with errors and it seemed to have lost connection to the database. I checked and mariadb/mysql wasn't running and refused to start. I tried to update and upgrade but it didn't find the repo. I managed to update at least something but ended up losing asterisk or at least it didn't work. I got Mariadb up and running again and ended up reinstalling asterisk. I finally got the phonesystem to work but I can't get it to access recordings to play. This business is closed over Christmas and we had a greeting ready, and I can see it in RasPBX but asterisk (-rvvv) says there is no such file or folder, custom. I am pretty sure that this is some permission problem but I'm not sure where to begin or what to do. Any ideas?
I think it is running an old version of Debian, Jessie.