[GH-ISSUE #507] 500 Internal server error #306

Open
opened 2026-02-27 15:58:11 +03:00 by kerem · 8 comments
Owner

Originally created by @lmsdscav on GitHub (Jun 26, 2022).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/507

it says 500 error if i opened user configuration.
and it will also be 500 if i connected ssh and opened "Instances" tab.

How can i fix it?:(
Uploading Screenshot_20220626-165515381.png…

Originally created by @lmsdscav on GitHub (Jun 26, 2022). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/507 it says 500 error if i opened user configuration. and it will also be 500 if i connected ssh and opened "Instances" tab. How can i fix it?:( ![Uploading Screenshot_20220626-165515381.png…]()
Author
Owner

@lmsdscav commented on GitHub (Jun 26, 2022):

Screenshot_20220626-165515381

<!-- gh-comment-id:1166459375 --> @lmsdscav commented on GitHub (Jun 26, 2022): ![Screenshot_20220626-165515381](https://user-images.githubusercontent.com/46647597/175806976-d1301ccc-929b-44ba-ad4a-f1207b68c295.png)
Author
Owner

@catborise commented on GitHub (Jun 27, 2022):

if you update it lately. you should run python manage.py makemigrations; python manage.py migrate commands

<!-- gh-comment-id:1166953076 --> @catborise commented on GitHub (Jun 27, 2022): if you update it lately. you should run `python manage.py makemigrations; python manage.py migrate` commands
Author
Owner

@pysiek634 commented on GitHub (Jul 11, 2022):

I have the same problem on clean ubuntu 20.04 installation.

<!-- gh-comment-id:1180368337 --> @pysiek634 commented on GitHub (Jul 11, 2022): I have the same problem on clean ubuntu 20.04 installation.
Author
Owner

@pysiek634 commented on GitHub (Jul 11, 2022):

Debug=true shows missing instances_instance.drbd column in sqlite database.
After fresh installation!
python3 manage.py migrate
was usefull for me.

<!-- gh-comment-id:1180583978 --> @pysiek634 commented on GitHub (Jul 11, 2022): Debug=true shows missing instances_instance.drbd column in sqlite database. After fresh installation! python3 manage.py migrate was usefull for me.
Author
Owner

@gilbertoferreira commented on GitHub (Jul 21, 2022):

srv1:/srv/webvirtcloud# python3 manage.py migrate
Traceback (most recent call last):
File "/srv/webvirtcloud/manage.py", line 21, in
main()
File "/srv/webvirtcloud/manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/usr/lib/python3/dist-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/lib/python3/dist-packages/django/core/management/init.py", line 357, in execute
django.setup()
File "/usr/lib/python3/dist-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/usr/lib/python3/dist-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_bootstrap5'

Debian 11

<!-- gh-comment-id:1191811158 --> @gilbertoferreira commented on GitHub (Jul 21, 2022): srv1:/srv/webvirtcloud# python3 manage.py migrate Traceback (most recent call last): File "/srv/webvirtcloud/manage.py", line 21, in <module> main() File "/srv/webvirtcloud/manage.py", line 17, in main execute_from_command_line(sys.argv) File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 357, in execute django.setup() File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 91, in populate app_config = AppConfig.create(entry) File "/usr/lib/python3/dist-packages/django/apps/config.py", line 90, in create module = import_module(entry) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'django_bootstrap5' Debian 11
Author
Owner

@gilbertoferreira commented on GitHub (Jul 21, 2022):

SOLVED
134 pip install django-bootstrap5
135 python3 manage.py migrate
136 pip install django-icons
137 python3 manage.py migrate

<!-- gh-comment-id:1191814045 --> @gilbertoferreira commented on GitHub (Jul 21, 2022): SOLVED 134 pip install django-bootstrap5 135 python3 manage.py migrate 136 pip install django-icons 137 python3 manage.py migrate
Author
Owner

@catborise commented on GitHub (Jul 22, 2022):

@gilbertoferreira you should install requirements with pip3 install -r conf/requirements.txt .

<!-- gh-comment-id:1192226019 --> @catborise commented on GitHub (Jul 22, 2022): @gilbertoferreira you should install requirements with `pip3 install -r conf/requirements.txt` .
Author
Owner

@gilbertoferreira commented on GitHub (Jul 22, 2022):

@gilbertoferreira you should install requirements with pip3 install -r conf/requirements.txt .

Yes! I do that following the installation instructions. But nevertheless after install it give the 500 error! Just solved after do the above

<!-- gh-comment-id:1192473196 --> @gilbertoferreira commented on GitHub (Jul 22, 2022): > @gilbertoferreira you should install requirements with `pip3 install -r conf/requirements.txt` . Yes! I do that following the installation instructions. But nevertheless after install it give the 500 error! Just solved after do the above
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#306
No description provided.