Project

General

Profile

Actions

Support #5639

open

500 Internal Server Error | The server has either erred ... after importing Database from backup

Added by Claude Chausse almost 4 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
22.11.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Hi

I am trying to recover my rhodecode installation after a Server Failure. I installed rhodecode and then imported my Database from my backup
but the server fails when I trying to connect I get the stand error

===============
500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
Possible Causes
Server is overloaded.
Server database connection is lost.

Server expected unhandled error

When I look at the log I see this
020-11-22 03:00:16.055 [45105] ERROR [rhodecode.config.middleware] error occurred handling this request for path: /_static/rhodecode/images/favicon.ico
Traceback (most recent call last):
File "/opt/rhodecode/store/98nqg9sak7d1if134kfldiz507dkfild-python2.7-pyramid-1.10.1/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
...
Then this

OperationalError: (_mysql_exceptions.OperationalError) (1054, "Unknown column 'users.last_activity' in 'field list'") [SQL: u'SELECT users.firstname AS users_firstname, users.email AS users_email, users.api_key AS users_api_key, users.user_data AS users_user_data, users.user_id AS users_user_id, users.username AS users_username, users.password AS users_password, users.active AS users_active, users.admin AS users_admin, users.lastname AS users_lastname, users.last_login AS users_last_login, users.last_activity AS users_last_activity, users.extern_type AS users_extern_type, users.extern_name AS users_extern_name, users.inherit_default_permissions AS users_inherit_default_permissions, users.created_on AS users_created_on \nFROM users \nWHERE users.username = %s'] [parameters: ('default',)]

I need help to revive my Rhodecode

No data to display

Actions

Also available in: Atom PDF