Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

Web interface stopped working

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
hedgehog90
Posts: 25
Joined: Wed Sep 09, 2015 7:19 pm

Web interface stopped working
  • Quote

Post by 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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Web interface stopped working
  • Quote

Post by 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 ?
Top

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

Re: Web interface stopped working
  • Quote

Post by 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.
Top

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

Re: Web interface stopped working
  • Quote

Post by 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
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password