File_put_contents(/usr/share/vitxi/backend/storage/framework/cache/data/dd/a0/dda056387843ff8e0d3420754881b75d3b1428ae): failed to open stream: permission denied
Getting the above error after migrating from a server with 3.2.4-2 to a server with 4.0.3-3 when I try to open VitXi it goes to the Database Setup page and I get that error after entering a database password/username.
You had to install the add-ons and complete the Wizard before restoring the backup.
I must have missed it though I thought I had it setup. How can I fix the error then?
Would removing the add-on and then adding it back fix the issue?
For the record No Issues Found
Please try running the following commands (in /usr/share/vitxi/backend/):
rm -rf bootstrap/cache*
rm -rf storage/logs/*
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan cache:clear
The error I get now is:
File_put_contents(/usr/share/vitxi/backend/bootstrap/cache/config.php): failed to open stream: permission denied
Thank you for your help!
It would be best to uninstall and delete any remaining data from the Vitxi folder. After that, you can try installing it from scratch.
On the other hand, please check the instructions on how to migrate from V3 to V4.
Migrating from VitalPBX 3 to VitalPBX 4 can seem like a daunting task, but with the help of the Backup and Restore module, the process can be simplified. Here are the steps you need to follow to make the transition to VitalPBX 4 as seamless as possible:
Install VitalPBX 4 on a new server.
Install the add-ons that you are using on VitalPBX 3.
Complete the wizard of add-ons like Switchboard, Recordings, Stats, Dialer, etc.
Update your VitalPBX 3 to the latest version.
Get a backup of your VitalP…
Okay just did a chown www-data.www-data for the cache directory and was able to get it logged in now. Thank you!