plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Can't Login, WSL, fresh install. Error 404

Open gt2416 opened this issue 2 years ago • 27 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

When I try to login using default credentials I get this login invalid error when using default credentials. image

I am using a fresh WSL ubuntu install. I have run setup localhost, then set env variables as stated in the docs. Using latest master branch, updated with git pull 10 mins before posting the issue. After pulling I deleted all docker volumes and tried again, same error.

Steps to reproduce

  1. Go to localhost/
  2. Try to login
  3. Open dev tools and find 404 error

Browser

Google Chrome

Version

Self-hosted

gt2416 avatar May 29 '23 04:05 gt2416

Hi @gt2416, could you kindly clarify whether you utilized the images from the hub or if you built the images on your local system?

pablohashescobar avatar May 29 '23 04:05 pablohashescobar

Built it on the local system. Not from docker images.

gt2416 avatar May 29 '23 04:05 gt2416

Got it @gt2416, will check this with the team.

pablohashescobar avatar May 29 '23 04:05 pablohashescobar

I am facing the same issue on CentOS Stream 9 (Linux 5.14.0-316.el9.aarch64). Running exactly as described by the documentation.

  • git clone https://github.com/makeplane/plane && cd plane
  • ./setup.sh localhost
  • set -a
  • source .env
  • set +a
  • docker compose up

arjuntherajeev avatar May 29 '23 07:05 arjuntherajeev

Hi @arjuntherajeev, can you run ./setup.sh http://localhost and then check once again.

pablohashescobar avatar May 29 '23 07:05 pablohashescobar

I just tried with http://localhost, same error. I deleted all my docker volumes first then tried. Also it was working like a week ago, something changed which broke it. I lost all my data but that doesn't matter since Im just testing it anyways.

gt2416 avatar May 29 '23 08:05 gt2416

Hi @pablohashescobar I am still facing the same issue. POST /localhost/api/sign-in and GET /localhost/api/users/me are responding with 404.

arjuntherajeev avatar May 29 '23 08:05 arjuntherajeev

Can you please share logs of both frontend and backend containers. Also can you please re build all the containers once again and check.

pablohashescobar avatar May 29 '23 08:05 pablohashescobar

Getting all sorts of build errors

plane-db | syncing data to disk ... initdb: warning: enabling "trust" authentication for local connections plane-db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance plane-db | ok plane-db | plane-db | plane-db | Success. You can now start the database server using: plane-db | plane-db | pg_ctl -D /var/lib/postgresql/data -l logfile start plane-db | planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup plane-db | waiting for server to start....2023-05-29 08:11:38.739 UTC [36] LOG: starting PostgreSQL 15.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 64-bit planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module plane-db | 2023-05-29 08:11:38.743 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) plane-db | 2023-05-29 08:11:38.750 UTC [39] LOG: database system was shut down at 2023-05-29 08:11:38 UTC planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ plane-db | 2023-05-29 08:11:38.758 UTC [36] LOG: database system is ready to accept connections plane-db | done plane-db | server started planebackend | ValueError: invalid literal for int() with base 10: '' plane-db | CREATE DATABASE plane-db | plane-db | plane-db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* plane-db | plane-db | waiting for server to shut down....2023-05-29 08:11:38.856 UTC [36] LOG: received fast shutdown request plane-db | 2023-05-29 08:11:38.858 UTC [36] LOG: aborting any active transactions plane-db | 2023-05-29 08:11:38.860 UTC [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1 plane-db | 2023-05-29 08:11:38.860 UTC [37] LOG: shutting down plane-db | 2023-05-29 08:11:38.863 UTC [37] LOG: checkpoint starting: shutdown immediate plane-db | 2023-05-29 08:11:38.947 UTC [37] LOG: checkpoint complete: wrote 918 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.014 s, sync=0.063 s, total=0.087 s; sync files=250, longest=0.008 s, average=0.001 s; distance=4222 kB, estimate=4222 kB plane-db | 2023-05-29 08:11:38.955 UTC [36] LOG: database system is shut down plane-db | done plane-db | server stopped plane-db | plane-db | PostgreSQL init process complete; ready for start up. plane-db | plane-db | 2023-05-29 08:11:38.990 UTC [1] LOG: starting PostgreSQL 15.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 64-bit plane-db | 2023-05-29 08:11:38.990 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 plane-db | 2023-05-29 08:11:38.990 UTC [1] LOG: listening on IPv6 address "::", port 5432 plane-db | 2023-05-29 08:11:38.995 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" plane-db | 2023-05-29 08:11:39.000 UTC [52] LOG: database system was shut down at 2023-05-29 08:11:38 UTC plane-db | 2023-05-29 08:11:39.005 UTC [1] LOG: database system is ready to accept connections planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planefrontend | Starting Plane Frontend.. planefrontend | + echo 'Starting Plane Frontend..' planefrontend | + node apps/app/server.js planefrontend | Listening on port 3000 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in planebackend | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | ValueError: invalid literal for int() with base 10: '' planebackend exited with code 1 planebgworker | Traceback (most recent call last): planebgworker | File "/code/manage.py", line 17, in planebgworker | execute_from_command_line(sys.argv) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebgworker | utility.execute() planebgworker | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebgworker | settings.INSTALLED_APPS planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1128, in _find_and_load_unlocked planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "", line 1206, in _gcd_import planebgworker | File "", line 1178, in _find_and_load planebgworker | File "", line 1149, in _find_and_load_unlocked planebgworker | File "", line 690, in _load_unlocked planebgworker | File "", line 940, in exec_module planebgworker | File "", line 241, in _call_with_frames_removed planebgworker | File "/code/plane/__init__.py", line 1, in planebgworker | from .celery import app as celery_app planebgworker | File "/code/plane/celery.py", line 8, in planebgworker | ri = redis_instance() planebgworker | ^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/redis.py", line 10, in redis_instance planebgworker | settings.DOCKERIZED planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebgworker | self._setup(name) planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebgworker | self._wrapped = Settings(settings_module) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebgworker | mod = importlib.import_module(self.SETTINGS_MODULE) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebgworker | return _bootstrap._gcd_import(name[level:], package, level) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | File "/code/plane/settings/production.py", line 39, in planebgworker | FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880)) planebgworker | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebgworker | ValueError: invalid literal for int() with base 10: '' planebgworker exited with code 1 planebackend | Traceback (most recent call last): planebackend | File "/code/manage.py", line 17, in planebackend | execute_from_command_line(sys.argv) planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line planebackend | utility.execute() planebackend | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 363, in execute planebackend | settings.INSTALLED_APPS planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1128, in _find_and_load_unlocked planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "", line 1206, in _gcd_import planebackend | File "", line 1178, in _find_and_load planebackend | File "", line 1149, in _find_and_load_unlocked planebackend | File "", line 690, in _load_unlocked planebackend | File "", line 940, in exec_module planebackend | File "", line 241, in _call_with_frames_removed planebackend | File "/code/plane/__init__.py", line 1, in planebackend | from .celery import app as celery_app planebackend | File "/code/plane/celery.py", line 8, in planebackend | ri = redis_instance() planebackend | ^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/redis.py", line 10, in redis_instance planebackend | settings.DOCKERIZED planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 82, in __getattr__ planebackend | self._setup(name) planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 69, in _setup planebackend | self._wrapped = Settings(settings_module) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/site-packages/django/conf/__init__.py", line 170, in __init__ planebackend | mod = importlib.import_module(self.SETTINGS_MODULE) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module planebackend | return _bootstrap._gcd_import(name[level:], package, level) planebackend | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ planebackend | File "/code/plane/settings/production.py", line 39, in

gt2416 avatar May 29 '23 08:05 gt2416

Hi @gt2416, could you please verify if the environment variables are exported correctly? Also we have updated some settings so you may need to re-pull the changes and rebuild the containers. Sorry for the inconvenience caused.

pablohashescobar avatar May 29 '23 08:05 pablohashescobar

No problem at all, we all just trying to figure it out together. So I ran a git pull, deleted all the docker volumes, ran the setup + env vars and build it. No errors this time, however im still not able to login. Could you please help me get the logs ? Is it just the logs from docker logs ?

frontend docker logs f29012d5558a + /usr/local/bin/replace-env-vars.sh http://localhost:8000 localhost Replacing all statically built instances of http://localhost:8000 with this string localhost . Starting Plane Frontend.. + echo 'Starting Plane Frontend..' + node apps/app/server.js Listening on port 3000 + /usr/local/bin/replace-env-vars.sh http://localhost:8000 localhost Replacing all statically built instances of http://localhost:8000 with this string localhost . Starting Plane Frontend.. + echo 'Starting Plane Frontend..' + node apps/app/server.js Listening on port 3000
frontend [2023-05-29 14:50:49 +0530] [13] [INFO] Waiting for application startup. [2023-05-29 14:50:49 +0530] [13] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 14:50:49 +0530] [13] [INFO] Application startup complete. [2023-05-29 14:50:49 +0530] [15] [INFO] Started server process [15] [2023-05-29 14:50:49 +0530] [15] [INFO] Waiting for application startup. [2023-05-29 14:50:49 +0530] [15] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 14:50:49 +0530] [15] [INFO] Application startup complete. [2023-05-29 14:50:49 +0530] [16] [INFO] Started server process [16] [2023-05-29 14:50:49 +0530] [16] [INFO] Waiting for application startup. [2023-05-29 14:50:49 +0530] [16] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 14:50:49 +0530] [16] [INFO] Application startup complete. [2023-05-29 14:50:49 +0530] [17] [INFO] Started server process [17] [2023-05-29 14:50:49 +0530] [17] [INFO] Waiting for application startup. [2023-05-29 14:50:49 +0530] [17] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 14:50:49 +0530] [17] [INFO] Application startup complete.

gt2416 avatar May 29 '23 09:05 gt2416

Oh awesome, great to know that errors are gone so can you run the ./setup.sh http://localhost and then re export the variables using set -a; source .env; set +a; and please try running the containers again currently it is taking NEXT_PUBLIC_API_BASE_URL as just localhost not http://localhost

pablohashescobar avatar May 29 '23 09:05 pablohashescobar

docker-compose down                                                                                       ❮  
WARNING: The AWS_S3_ENDPOINT_URL variable is not set. Defaulting to a blank string.
Stopping planebgworker ... done
Stopping nginx         ... done
Stopping planebackend  ... done
Stopping planefrontend ... done
Stopping plane-minio   ... done
Stopping plane-db      ... done
Stopping redis         ... done
Removing planebgworker         ... done
Removing nginx                 ... done
Removing planebackend          ... done
Removing planefrontend         ... done
Removing plane_createbuckets_1 ... done
Removing plane-minio           ... done
Removing plane-db              ... done
Removing redis                 ... done
Removing network plane_default
▓  on   rootAj-Zen     ~/plane   develop ≡                                                  13:34:28  ▓
 ~#@❯  docker volume rm $(docker volume ls -q)
ab4a4cf2baa1a36d36bf4fce9e9083cb155e04466c3663142996433213d3cb05
plane_pgdata
plane_redisdata
plane_uploads
▓  on   rootAj-Zen     ~/plane   develop ≡                                                  13:34:43  ▓
 ~#@❯  ./setup.sh http://localhost                                                                               ❮  
▓  on   rootAj-Zen     ~/plane   develop ≡                                                  13:34:47  ▓
 ~#@❯  set -a; source .env; set +a;                                                                              ❮  
▓  on   rootAj-Zen     ~/plane   develop ≡                                                  13:34:51  ▓
 ~#@❯  docker compose up -d                                                                                      ❮  
WARN[0000] The "AWS_S3_ENDPOINT_URL" variable is not set. Defaulting to a blank string.
WARN[0000] The "AWS_S3_ENDPOINT_URL" variable is not set. Defaulting to a blank string.
[+] Building 0.0s (0/0)
[+] Running 12/12
 ✔ Network plane_default            Created                                                                        0.1s
 ✔ Volume "plane_redisdata"         Created                                                                        0.0s
 ✔ Volume "plane_uploads"           Created                                                                        0.0s
 ✔ Volume "plane_pgdata"            Created                                                                        0.0s
 ✔ Container planefrontend          Started                                                                        0.9s
 ✔ Container plane-db               Started                                                                        1.0s
 ✔ Container redis                  Started                                                                        0.9s
 ✔ Container plane-minio            Started                                                                        0.5s
 ✔ Container plane-createbuckets-1  Started                                                                        1.1s
 ✔ Container planebackend           Started                                                                        1.3s
 ✔ Container planebgworker          Started                                                                        2.1s
 ✔ Container nginx                  Started                                                                        2.1s
▓  on   rootAj-Zen     ~/plane   develop ≡

image

Nope :( no luck.

frontend docker logs dcf7175cb1df ❮  + /usr/local/bin/replace-env-vars.sh http://localhost:8000 http://localhost Replacing all statically built instances of http://localhost:8000 with this string http://localhost . Starting Plane Frontend.. + echo 'Starting Plane Frontend..' + node apps/app/server.js Listening on port 3000
backend docker logs ac62a57f99b4 Waiting for database... Database available! Operations to perform: Apply all migrations: auth, authtoken, contenttypes, db, sessions, taggit, token_blacklist Running migrations: Applying contenttypes.0001_initial... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0001_initial... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying auth.0010_alter_group_name_max_length... OK Applying auth.0011_update_proxy_permissions... OK Applying auth.0012_alter_user_first_name_max_length... OK Applying db.0001_initial... OK Applying authtoken.0001_initial... OK Applying authtoken.0002_auto_20160226_1747... OK Applying authtoken.0003_tokenproxy... OK Applying db.0002_auto_20221104_2239... OK Applying db.0003_auto_20221109_2320... OK Applying db.0004_alter_state_sequence... OK Applying db.0005_auto_20221114_2127... OK Applying db.0006_alter_cycle_status... OK Applying db.0007_label_parent... OK Applying db.0008_label_colour... OK Applying db.0009_auto_20221208_0310... OK Applying db.0010_auto_20221213_0037... OK Applying db.0011_auto_20221222_2357... OK Applying db.0012_auto_20230104_0117... OK Applying db.0013_auto_20230107_0041... OK Applying db.0014_alter_workspacememberinvite_unique_together... OK Applying db.0015_auto_20230107_1636... OK Applying db.0016_auto_20230107_1735... OK Applying db.0017_alter_workspace_unique_together... OK Applying db.0018_auto_20230130_0119... OK Applying db.0019_auto_20230131_0049... OK Applying db.0020_auto_20230214_0118... OK Applying db.0021_auto_20230223_0104... OK Applying db.0022_auto_20230307_0304... OK Applying db.0023_auto_20230316_0040... OK Applying db.0024_auto_20230322_0138... OK Applying db.0025_auto_20230331_0203... OK Applying db.0026_alter_projectmember_view_props... OK Applying db.0027_auto_20230409_0312... OK Applying db.0028_auto_20230414_1703... OK Applying db.0029_auto_20230502_0126... OK Applying db.0030_alter_estimatepoint_unique_together... OK Applying db.0031_analyticview... OK Applying db.0032_auto_20230520_2015... OK Applying sessions.0001_initial... OK Applying taggit.0001_initial... OK Applying taggit.0002_auto_20150616_2121... OK Applying taggit.0003_taggeditem_add_unique_index... OK Applying taggit.0004_alter_taggeditem_content_type_alter_taggeditem_tag... OK Applying taggit.0005_auto_20220424_2025... OK Applying token_blacklist.0001_initial... OK Applying token_blacklist.0002_outstandingtoken_jti_hex... OK Applying token_blacklist.0003_auto_20171017_2007... OK Applying token_blacklist.0004_auto_20171017_2013... OK Applying token_blacklist.0005_remove_outstandingtoken_jti... OK Applying token_blacklist.0006_auto_20171017_2113... OK Applying token_blacklist.0007_auto_20171017_2214... OK Applying token_blacklist.0008_migrate_to_bigautofield... OK Applying token_blacklist.0010_fix_migrate_to_bigautofield... OK Applying token_blacklist.0011_linearizes_history... OK Applying token_blacklist.0012_alter_outstandingtoken_user... OK User created Success [2023-05-29 09:35:18 +0000] [1] [INFO] Starting gunicorn 20.1.0 [2023-05-29 09:35:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) [2023-05-29 09:35:18 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker [2023-05-29 09:35:18 +0000] [10] [INFO] Booting worker with pid: 10 [2023-05-29 09:35:18 +0000] [10] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [11] [INFO] Booting worker with pid: 11 [2023-05-29 09:35:18 +0000] [11] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [12] [INFO] Booting worker with pid: 12 [2023-05-29 09:35:18 +0000] [12] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [13] [INFO] Booting worker with pid: 13 [2023-05-29 09:35:18 +0000] [13] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [14] [INFO] Booting worker with pid: 14 [2023-05-29 09:35:18 +0000] [14] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [15] [INFO] Booting worker with pid: 15 [2023-05-29 09:35:18 +0000] [15] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [16] [INFO] Booting worker with pid: 16 [2023-05-29 09:35:18 +0000] [16] [INFO] Made Psycopg2 Green [2023-05-29 09:35:18 +0000] [17] [INFO] Booting worker with pid: 17 [2023-05-29 09:35:18 +0000] [17] [INFO] Made Psycopg2 Green [2023-05-29 15:05:18 +0530] [10] [INFO] Started server process [10] [2023-05-29 15:05:18 +0530] [10] [INFO] Waiting for application startup. [2023-05-29 15:05:18 +0530] [10] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:18 +0530] [10] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [11] [INFO] Started server process [11] [2023-05-29 15:05:19 +0530] [11] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [11] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [11] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [12] [INFO] Started server process [12] [2023-05-29 15:05:19 +0530] [12] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [12] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [12] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [13] [INFO] Started server process [13] [2023-05-29 15:05:19 +0530] [13] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [13] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [13] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [14] [INFO] Started server process [14] [2023-05-29 15:05:19 +0530] [14] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [14] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [14] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [15] [INFO] Started server process [15] [2023-05-29 15:05:19 +0530] [15] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [15] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [15] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [17] [INFO] Started server process [17] [2023-05-29 15:05:19 +0530] [17] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [17] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [17] [INFO] Application startup complete. [2023-05-29 15:05:19 +0530] [16] [INFO] Started server process [16] [2023-05-29 15:05:19 +0530] [16] [INFO] Waiting for application startup. [2023-05-29 15:05:19 +0530] [16] [INFO] ASGI 'lifespan' protocol appears unsupported. [2023-05-29 15:05:19 +0530] [16] [INFO] Application startup complete.

gt2416 avatar May 29 '23 09:05 gt2416

Hi @pablohashescobar I got it working. To clarify, I am running Plane on a CentOS Stream 9 VM which has an IP address of 192.168.128.3. When I tried, ./setup.sh http://localhost, I noticed that the sign in API requests were being made to localhost even though I was accessing the application using the IP address. I solved it by configuring ./setup.sh http://192.168.128.3 and verifying with env | grep NEXT_PUBLIC_API_BASE_URL.

arjuntherajeev avatar May 29 '23 10:05 arjuntherajeev

When running the app I noticed something weird, (btw im running with http://localhost as env)

nginx            | 172.24.0.1 - - [29/May/2023:11:58:24 +0000] "GET /localhost/api/users/me HTTP/1.1" 404 2041 "http://localhost/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [29/May/2023:11:58:24 +0000] "GET /signin HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [29/May/2023:11:58:24 +0000] "GET /localhost/api/users/me HTTP/1.1" 404 2041 "http://localhost/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [29/May/2023:11:58:24 +0000] "GET /site.webmanifest.json HTTP/1.1" 304 0 "http://localhost/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"

Some things its querying /site.webmanifest.json, or /signin, of / which returns 304 but for the sign in it query's /localhost/api/users/me Thats an extra /localhost If I go to http://localhost/localhost/api/users/me, I get the 404 page, but if I manually type http://localhost/api/users/me, I get {"detail":"Authentication credentials were not provided."}

gt2416 avatar May 29 '23 12:05 gt2416

Hey, @gt2416, just wanted to point out that the first URL actually contains two instances of localhost. The second one is actually the expected behaviour.

pablohashescobar avatar May 29 '23 12:05 pablohashescobar

I also see this with the docker-compose-hub.yml – seeing the hostname two times (using a custom domain).

NoLooseEnds avatar May 29 '23 18:05 NoLooseEnds

Ok so I just tried the dev-auth-fixes branch.
After entering the credentials I get the red banner that says invalid username / password. BUT no 404 errors. Then it goes to a page that never seems to load. image

.1" 200 267702 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [30/May/2023:05:44:12 +0000] "GET /_next/static/chunks/7499-2daa87a7b50a3bea.js HTTP/1.1" 200 127126 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [30/May/2023:05:44:12 +0000] "GET /favicon.ico HTTP/1.1" 200 1683 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:33766 - "GET /api/users/me/ HTTP/1.0" 401
nginx            | 172.24.0.1 - - [30/May/2023:05:44:17 +0000] "GET /api/users/me/ HTTP/1.1" 401 58 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:33772 - "POST /api/sign-in/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:44:19 +0000] "POST /api/sign-in/ HTTP/1.1" 200 1069 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:59832 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:44:26 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:59840 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:44:29 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:47038 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:45:05 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:50902 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:45:49 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:40230 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:45:58 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
planebackend     | 172.24.0.4:40006 - "GET /api/users/me/ HTTP/1.0" 200
nginx            | 172.24.0.1 - - [30/May/2023:05:46:06 +0000] "GET /api/users/me/ HTTP/1.1" 200 708 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"

gt2416 avatar May 30 '23 05:05 gt2416

Hello @gt2416, we are actively working on resolving the issue.

pablohashescobar avatar May 30 '23 05:05 pablohashescobar

@pablohashescobar @gt2416 I managed to get around this issue. Here's what I did:

  • run ./setup.sh without any parameters
  • set -a; source .env; set +a
  • do docker-compose -f docker-compose.yml up note the command uses docker-compose.yml and not docker-compose-hub.yml

This made the binding work correctly and I was able to login with the default credentials and set up a project.

Hope this helps!

Journeytojah avatar May 30 '23 06:05 Journeytojah

@Journeytojah Are you running this on localhost?

It sounds like you are not setting any variables in .env (by not providing setup.sh any hostname/ip) – and then building it, instead of using prebuilt images from docker hub.

What does your .env file say below the line # Auto generated and Required that will be generated from setup.sh (at the bottom of the file)?

NoLooseEnds avatar May 30 '23 07:05 NoLooseEnds

@NoLooseEnds yes, sorry, I forgot to mention. This is for running it on localhost. I am not sure if the docker-compose to build actually made the difference but I was able to get it working like this.

This is the bottom of the .env file:

NEXT_PUBLIC_API_BASE_URL=
SECRET_KEY="7jzayc5cpsefe9cef5rxlk3wtkvjr0t4zprsvth8c31reujfjl"
WEB_URL=

Journeytojah avatar May 30 '23 07:05 Journeytojah

(Btw. @Journeytojah you should not share your secret_key, so change that before you use it in production. )

I appreciate the concern but this is not a production environment and it’s running inside a local network.

Journeytojah avatar May 30 '23 09:05 Journeytojah

@Journeytojah Thanks! That did make it work !

gt2416 avatar May 30 '23 09:05 gt2416

Spoke to soon, it wont let me create a new workspace. I get the same error where its adding an extra localhost to the URL in its request to create a new workspace.

nginx            | 172.24.0.1 - - [30/May/2023:09:34:31 +0000] "GET /api/users/me/ HTTP/1.1" 200 706 "http://localhost/onboarding" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [30/May/2023:09:34:35 +0000] "GET /localhost/api/workspace-slug-check/?slug=test HTTP/1.1" 308 56 "http://localhost/onboarding" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [30/May/2023:09:34:35 +0000] "GET /localhost/api/workspace-slug-check?slug=test HTTP/1.1" 404 2099 "http://localhost/onboarding" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
nginx            | 172.24.0.1 - - [30/May/2023:09:34:41 +0000] "GET /localhost/api/users/me/invitations/workspaces HTTP/1.1" 404 2099 "http://localhost/onboarding" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"

gt2416 avatar May 30 '23 09:05 gt2416

I can confirm that not setting WEB_URL and NEXT_PUBLIC_API_BASE_URL works (does not matter if you build yourself, or use docker hub).

I do get other 404 errors:

GET https://<URL>/favicon/favicon.ico 404
GET https://<URL>/favicon/favicon-32x32.png 404
GET https://<URL>/favicon/favicon-16x16.png 404

Also I noticed that the opengraph meta tags are hardcoded to localhost (or at least it's been localhost:3000 regardless of I have WEB_URL set to a custom domain or not).

NoLooseEnds avatar May 30 '23 11:05 NoLooseEnds

I'm running the docker compose thought portainer, and I'm getting 404 for requests to /api/sign-in.

It works going to /api

The site changes to say, No such workspace exist. Create one?

KairuDeibisu avatar Jun 09 '23 19:06 KairuDeibisu

git clone --depth 1 -b master https://github.com/makeplane/plane.git && cd plane

./setup.sh localhost

docker compose -f docker-compose-hub.yml up -d
image

indapublic avatar Aug 18 '23 05:08 indapublic

We have upgraded our self-hosting setup, and this issue should now be fixed. For additional information, documentation at https://docs.plane.so/self-hosting/.

vihar avatar Dec 14 '23 18:12 vihar