Error after update…

Raspberry Pi related support

Error after update…

Postby robertinjo » 11 Apr 2017, 08:23

Hi,

I tried to update runeaudio through ssh last night (dev branch) and now GUI won't start and this is what I get in my browser:

"Warning: include(/srv/http/app/config/config.php): failed to open stream: No such file or directory in /var/www/index.php on line 35 Warning: include(): Failed opening '/srv/http/app/config/config.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/index.php on line 35 Warning: include(/srv/http/app/libs/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/index.php on line 37 Warning: include(): Failed opening '/srv/http/app/libs/vendor/autoload.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/index.php on line 37 Fatal error: Class 'League\Plates\Engine' not found in /var/www/index.php on line 41"


after [root@runeaudio ~]# curl -s http://localhost/clear i get this:

"Warning: include(/srv/http/app/config/config.php): failed to open stream: No such file or directory in /var/www/command/cachectl.php on line 35

Warning: include(): Failed opening '/srv/http/app/config/config.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/command/cachectl.php on line 35

Fatal error: Call to undefined function runelog() in /var/www/command/cachectl.php on line 47"

Can anyone help me fix it?
This is dual boot solution (OSMC/RuneAudio)

Thanks
robertinjo
 
Posts: 27
Joined: 10 Jan 2015, 16:30
Location: Croatia, Zagreb

Re: Error after update…

Postby hondagx35 » 11 Apr 2017, 09:56

Hi,

what is the output from?
Code: Select all
ls /var/www


You have used this commands?

These are the required steps to switch from the main branch to another one (the following example refers to the dev branch):

delete the contents of /var/www (including hidden files)
DOUBLE CHECK the path before entering the command!

Code: Select all
rm -rf /var/www/{*,.*}


clone the 'dev' branch on your device (notice the -b dev)
Code: Select all
git clone -b dev https://github.com/RuneAudio/RuneUI.git/ /var/www


Important: do not forget "/var/www" at the end.

clear the PHP OPcache
Code: Select all
curl -s http://localhost/clear


reboot your device

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Error after update…

Postby robertinjo » 11 Apr 2017, 15:57

hondagx35 wrote:Hi,

what is the output from?
Code: Select all
ls /var/www


You have used this commands?

These are the required steps to switch from the main branch to another one (the following example refers to the dev branch):

delete the contents of /var/www (including hidden files)
DOUBLE CHECK the path before entering the command!

Code: Select all
rm -rf /var/www/{*,.*}


clone the 'dev' branch on your device (notice the -b dev)
Code: Select all
git clone -b dev https://github.com/RuneAudio/RuneUI.git/ /var/www


Important: do not forget "/var/www" at the end.

clear the PHP OPcache
Code: Select all
curl -s http://localhost/clear


reboot your device

Frank


Hi Frank,
I used those three commands.

now i get:

Code: Select all
[root@runeaudio ~]# ls /var/www
app   command  Gruntfile.js  LICENSE      package.json
assets   db    index.php     manifest.webapp   README.md

[root@runeaudio ~]# rm -rf /var/www/{*,.*}
rm: refusing to remove '.' or '..' directory: skipping '/var/www/.'
rm: refusing to remove '.' or '..' directory: skipping '/var/www/..'
robertinjo
 
Posts: 27
Joined: 10 Jan 2015, 16:30
Location: Croatia, Zagreb

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 8 guests
cron