Restoring web server

Topics about the Software of Revolution Pi
Post Reply
Pierre
Posts: 1
Joined: 10 Nov 2017, 20:02

Restoring web server

Post by Pierre »

Hi everybody,

I accidentally removed the folder containing the web pages by installing a new Apache web server.
I can't reach the configuration web pages any more.
So is there a way to reinstall the initial web server ?

Thank you very much.
Pierre
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41

Re: Restoring web server

Post by volker »

Bets way would be restoring the image in order to really restore everything as it should be. You could also try a sudo apt-upgrade but I will aks our Linux team on Monday if they can provide a package just for the serverpages or give any other advice.
Unser RevPi Motto: Don't just claim it - make it!
User avatar
lukas
Expert
Posts: 186
Joined: 13 Feb 2017, 10:29

Re: Restoring web server

Post by lukas »

Hi Pierre,

the RevPi Core's web interface is contained in the Debian packages "revpi-webstatus" and "pictory".

First of all try "dpkg -l revpi-webstatus pictory". Are both packages listed as installed? ("ii" in the first column) If yes then you've got an inconsistency in that the packages are considered as installed but the files they contain have presumably been removed from the filesystem. If no then the packages have been orderly deinstalled for some reason.

In both cases "apt-get update && apt-get intall --reinstall revpi-webstatus pictory" will reinstall them.

HTH,

Lukas
Post Reply