Web interface stopped working Topic is solved

Questions regarding the Web Interface
GUI
hedgehog90
Posts: 14
Joined: Wed Sep 09, 2015 7:19 pm

Web interface stopped working

Postby hedgehog90 » Thu Apr 06, 2017 11:18 am

Image

I have no idea what's happened. I was updating stuff to do with SSL and this happened.

I've tried service vesta restart, rebuilding all the users, and even tried upgrading vesta.
No luck.

Any ideas?

skurudo
VestaCP Team
Posts: 7783
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: Web interface stopped working

Postby skurudo » Thu Apr 06, 2017 11:25 am

Try this, hope this can help you
viewtopic.php?t=13928#p57417

If not, then can you show us you nginx error log from /var/log/vesta ?
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

hedgehog90
Posts: 14
Joined: Wed Sep 09, 2015 7:19 pm

Re: Web interface stopped working

Postby hedgehog90 » Thu Apr 06, 2017 11:56 am

Bugger. I've just noticed what I've done, but I still can't pinpoint exactly.
I ran a script earlier which I wrote some time ago which changes some of the internal vesta files, where I did some careless regex find and replacing.
I reckon that must be the culprit.

How can I restore /usr/local/vesta without losing vital data (like users, crons, etc), besides reinstalling completely?
I think it's just the template directories that need fixing. I really don't want to reinstall vesta. That brought so many problems last time I did.

EDIT:

OK, I think I know what's happened.
The script I wrote restores a previous version before running, and it appears to have restored a version from late 2015, untouched by any recent updates, and so when app.js asks for the GLOBAL variable, it won't find it because it didn't exist in the 2015 version of VestaCP.

hedgehog90
Posts: 14
Joined: Wed Sep 09, 2015 7:19 pm

Re: Web interface stopped working  Topic is solved

Postby hedgehog90 » Thu Apr 06, 2017 12:14 pm

I deleted /usr/local/vesta/web and then I ran:
sudo apt-get install --reinstall vesta

Hey presto, it works :D


Return to “Web Interface”



Who is online

Users browsing this forum: No registered users and 3 guests