Migration to Docker & Rcstack

For redis you can also do:

./rcstack cli redis
# in the redis CLI command run
FLUSHALL

It is still happening in the above places:

# 500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.

I can post the full TRACEBACK, if necessary.

Yes please can you how the whole traceback

As for the repositories, on the main page, I click on the “Installer Template” repository with the hg icon, and I see the server error 500 Internal Server Error with the following

TRACEBACK

TRACEBACK

At the same time, if you go from the main page through the repository menu (three dots) to commits, then it works. But when you go to Files or Summary tab, error 500 occurs again, the rest of the repository tabs open

At the same time, there is a file in the repository folder with a name not in utf-8 encoding, in the current product version 4.17.3 this file is displayed:
����������� �� �������� ������������.docx

As for the server error 500, when opening the Admin - Admin audit logs menu and going to the third page of logs, a server error occurs

TRACEBACK

TRACEBACK

This is wery weird, like users are missing from DB or Sessions.

  File "_base_base_mako", line 486, in render_gravatar_with_user
  File "/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/helpers.py", line 959, in email_or_none
    user = User.get_by_username(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/model/db.py", line 1097, in get_by_username
    hash_key = _hash_key(username)

It means username in gravatar is empty… any idea how that could happen ?

On this issue: the First name, Last name, Email fields were not filled in for the domain user: and in the old version 4.17.3 it worked, but in the dockerized version it causes the exception of the web server.
After entering the user’s data, the audit log does not cause a server error.

There is still an unresolved problem, voiced above…

Is there any suggestion how to fix this?

Currently we don’t support non utf8 file due to changes from python2 to python3

  • the workaround for that is to convert your repo file names to use utf8
  • we’re working on a backward compatible fix, but this will take few more weeks in our view and it’s scheduled for 5.4.0 release

rhodecode-support RhodeCode Team

  • the workaround for that is to convert your repo file names to use utf8

And how to convert them, because we are talking not only about the names of files in the repository, but also these names in the MYSQL database?

There is another problem: now the anthem of Ukraine is inserted on the main page of RhodeCode and blocks the operation of the page. Most likely, according to reviews on the web, Sweet Alert does this. Can you comment on this and what can be done about it?
Screenshot
Discussion

When trying to clone a project, error 500 is also returned, but this is another problem:

hg clone http://rhodecode.example.com/Curves/
http authorization required for http://rhodecode.example.com/Curves/
realm: RhodeCode authentication
user: user
password:
destination directory: Curves
requesting all changes
abort: HTTP Error 500: Internal Server Error

This is the case with all repositories.

TRACEBACK VCCServer

@ rhodecode-support Any suggestions on the last two questions? Any help…

@ rhodecode-support Help my, please…

Do you have big problems, lack of resources? What can I do for you?

Hi Vladimir,

Due to the Russian invasion of Ukraine, we do not provide services or support to users based in Russia.

Hi Vladimir,

Due to the Russian invasion of Ukraine, we do not provide services or support to users based in Russia.

dolobanko RhodeCode Team
Thank you for your honesty.

1 Like

Greetings to the community! After migrating to docker from version 4.* to 5.4.2, we now have a problem opening some repositories. We get an exception in the browser:

RhodeCode
500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.

Unfortunately, due to restrictions on the forum, I can’t upload files here yet, so I uploaded TRACEBACK to external storage.

i think * is not a valid symbol for filenames in mercurial repos, that looks like a reason