Web interface not accessible after upgrade

Status
Not open for further replies.

Serge

New Member
Oct 13, 2017
25
1
3
33
Hi all,

I just run an upgrade from the web interface and now browsers return Error 500 when I try to access the server again.
Any ideas what it can be?
 

bryanredeagle

New Member
Apr 17, 2019
29
4
3
39
La Porte, IN
haway.io
Not off hand, but there should be logs that say why. If you SSH in and go to /var/log/nginx, there should be an error log that will say what caused the 500. If you post the last 40 or so lines here, we could probably tell you why.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
499
177
43
49
I added this to a post here on the forum to help people out.
https://www.pbxforums.com/threads/updating-source-git-issue.4026/
For convenience here it is again.

If you run Advanced -> Upgrade -> Source or when using git pull.

May receive message like
  • Your branch is ahead of 'origin/master' by 15493 commits.
  • CONFLICT (content): Merge conflict
The following will fix this issue.

cp -R /var/www/fusionpbx /var/www/fusionpbx-20200327
cd /var/www/fusionpbx
git fetch origin
git reset --hard origin/master
git pull
chown -R www-data:www-data /var/www/fusionpbx

WARNING: This will work for most people. Un-tracked files should be safe. However if you manage your own customization's for files tracked by Git you will likely need to do more to fix this issue.
 

Serge

New Member
Oct 13, 2017
25
1
3
33
I added this to a post here on the forum to help people out.
https://www.pbxforums.com/threads/updating-source-git-issue.4026/
For convenience here it is again.

If you run Advanced -> Upgrade -> Source or when using git pull.

May receive message like
  • Your branch is ahead of 'origin/master' by 15493 commits.
  • CONFLICT (content): Merge conflict
The following will fix this issue.

cp -R /var/www/fusionpbx /var/www/fusionpbx-20200327
cd /var/www/fusionpbx
git fetch origin
git reset --hard origin/master
git pull
chown -R www-data:www-data /var/www/fusionpbx

WARNING: This will work for most people. Un-tracked files should be safe. However if you manage your own customization's for files tracked by Git you will likely need to do more to fix this issue.


Thanks. That worked.
There was a PHP syntax error.
 

DaveDog

New Member
Feb 9, 2018
9
0
1
60
Thanks. That worked.
There was a PHP syntax error.

Worked here also.

But additional problem, when adding or changing a destination the actions no longer list the extensions or voicemails, just the "Other" category of selections.

Any ideas?
 

markjcrane

Active Member
Staff member
Jul 22, 2018
499
177
43
49
Worked here also.

But additional problem, when adding or changing a destination the actions no longer list the extensions or voicemails, just the "Other" category of selections.

Any ideas?

This means you missed updating the permissions. When things disappear in FusionPBX its usually missing a permission. Make sure to run App -> Defaults then update permission then logout and back in.
 
Status
Not open for further replies.