Jump to content
Froxlor Forum
  • 0
DavidCK

Database version doesn't match after updating

Question

Hi Everyone!

I upgraded my froxlor installation to the last version, but I got error 500 after auto updating on admin page.

I went to the terminal and found this:

Possible reason: Froxlor update
Information: Current version in database: 0.9.40.1 (DB: 201809280) - version of Froxlor files: 0.10.                            8 (201911220))
Solution: Please visit your Froxlor admin interface for further information.
 

I can't visit froxlor admin interface because it's down (error 500)

Any idea?

Thanks in advance.

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Solved.

Make a backup of your server, run:

service apache2 stop (if you're usinge apache)

service apache2 start

run the froxlor cronjob, if the error 500 continues, restart your server:

sudo reboot

login to your panel as admin, follow the instructions. run froxlor's cronjob.

 

 

Share this post


Link to post
Share on other sites
  • 0

Are you using php-7.0+ as required? Did you check the error log what causes the 500 internal server error?

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, d00p said:

Are you using php-7.0+ as required? Did you check the error log what causes the 500 internal server error?

Yes, php - 7.0.33 

 

Error log:

 AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected '\\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in /var/www/froxlor/lib/init.php(521) : eval()'d code on line 6\n'
 

Share this post


Link to post
Share on other sites
  • 0

Are you using a custom template? Or any old files not belonging to the current froxlor installation?

Share this post


Link to post
Share on other sites
  • 0
29 minutes ago, d00p said:

Are you using a custom template? Or any old files not belonging to the current froxlor installation?

No, I don't. I have a clean froxlor installation.

Share this post


Link to post
Share on other sites
  • 0
50 minutes ago, DavidCK said:

in /var/www/froxlor/lib/init.php(521) : eval()'d code on line 6\n'

Well, no idea what files you have there, but the init.php file does not even have 521 lines, see https://github.com/Froxlor/Froxlor/blob/master/lib/init.php  - and I've installed and updated may systems, I definetly would've noticed

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...