[GH-ISSUE #553] Install.sh fails on EMAIL_HOST_USER - Ubuntu Server 20.04 #329

Closed
opened 2026-02-27 15:58:16 +03:00 by kerem · 0 comments
Owner

Originally created by @tomlinchristopherj on GitHub (Nov 3, 2022).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/553

Following instructions listed here:
https://www.how2shout.com/linux/install-webvirtcloud-kvm-web-dashboard-on-ubuntu-20-04/

Run ./install.sh

Everything is fine until

  • Install App's Python requirements.
    Requirement already up-to-date: pip in ./venv/lib/python3.8/site-packages (22.3) <- This is on a re-run)

  • Django 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 "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
    utility.execute()
    File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/core/management/init.py", line 363, in execute
    settings.INSTALLED_APPS
    File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/init.py", line 82, in getattr
    self._setup(name)
    File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/init.py", line 69, in _setup
    self._wrapped = Settings(settings_module)
    File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/init.py", line 170, in init
    mod = importlib.import_module(self.SETTINGS_MODULE)
    File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "", line 1014, in _gcd_import
    File "", line 991, in _find_and_load
    File "", line 975, in _find_and_load_unlocked
    File "", line 671, in _load_unlocked
    File "", line 844, in exec_module
    File "", line 981, in get_code
    File "", line 911, in source_to_code
    File "", line 219, in _call_with_frames_removed
    File "/srv/webvirtcloud/webvirtcloud/settings.py", line 281
    EMAIL_HOST_USER = #sender's email-id
    ^ (The carrot moves when I submit this. It's right under the #)
    SyntaxError: invalid syntax

  • Configuring Nginx.

    • Copying Nginx configuration
  • Configuring Supervisor.

    • Copying supervisor configuration
  • Setting Supervisor to start on boot and restart.

  • Setting Nginx to start on boot and starting Nginx.

    Open http://plexhost to login to webvirtcloud.

    I tried blanking out that section of the indicated file and rerunning the installer, but I'm assuming it re-pulls the file from the repository and undoes my changes

Help! Thanks!

Originally created by @tomlinchristopherj on GitHub (Nov 3, 2022). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/553 Following instructions listed here: https://www.how2shout.com/linux/install-webvirtcloud-kvm-web-dashboard-on-ubuntu-20-04/ Run ./install.sh Everything is fine until * Install App's Python requirements. Requirement already up-to-date: pip in ./venv/lib/python3.8/site-packages (22.3) <- This is on a re-run) * Django 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 "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line utility.execute() File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 363, in execute settings.INSTALLED_APPS File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__ self._setup(name) File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/srv/webvirtcloud/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 170, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 844, in exec_module File "<frozen importlib._bootstrap_external>", line 981, in get_code File "<frozen importlib._bootstrap_external>", line 911, in source_to_code File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/srv/webvirtcloud/webvirtcloud/settings.py", line 281 EMAIL_HOST_USER = #sender's email-id ^ (The carrot moves when I submit this. It's right under the #) SyntaxError: invalid syntax * Configuring Nginx. * Copying Nginx configuration * Configuring Supervisor. * Copying supervisor configuration * Setting Supervisor to start on boot and restart. * Setting Nginx to start on boot and starting Nginx. ***Open http://plexhost to login to webvirtcloud.*** I tried blanking out that section of the indicated file and rerunning the installer, but I'm assuming it re-pulls the file from the repository and undoes my changes Help! Thanks!
kerem closed this issue 2026-02-27 15:58:16 +03:00
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#329
No description provided.