TomBursch / kitchenowl

KitchenOwl is a self-hosted grocery list and recipe manager. The backend is made with Flask and the frontend with Flutter. Easily add items to your shopping list before you go shopping. You can also create recipes and add items based on what you want to cook.
https://kitchenowl.org/
GNU Affero General Public License v3.0
1.12k stars 62 forks source link

Bug: WebUI not available on All in One Installation #456

Closed UnknownHiker closed 1 month ago

UnknownHiker commented 1 month ago

Is this urgent?

No

What parts are affected

Frontend

What is the server version

latest

What is the client version

latest

What platform are you using

Web

What's the problem 🤔

Im currently switching the Unraid template (https://codeberg.org/HanSolo97/unraid-template-kitchenowl) to the new All-in-One Docker solution.

But on my first tests the Web frontend cant be opened. Those are the new ports, path and env for the Template: Screenshot_20240601_211011

Am i missing something? Pulling image tombursch/kitchenowl.

Share your logs

Container Log after Startup:

/opt/venv/lib/python3.12/site-packages/extruct/rdfa.py:88: SyntaxWarning: invalid escape sequence '\s'
  match = re.search(prefix + ": [^\s]+", head_element.get("prefix"))
/opt/venv/lib/python3.12/site-packages/pyRdfa/extras/httpheader.py:344: SyntaxWarning: invalid escape sequence '\-'
  """Parses a quoted string.
/opt/venv/lib/python3.12/site-packages/pyRdfa/extras/httpheader.py:355: SyntaxWarning: invalid escape sequence '\-'
  """Parses a token or a quoted-string.
/opt/venv/lib/python3.12/site-packages/pyRdfa/extras/httpheader.py:518: SyntaxWarning: invalid escape sequence '\-'
  """Parses a ()-style comment from a header value.
/opt/venv/lib/python3.12/site-packages/pyRdfa/termorcurie.py:61: SyntaxWarning: invalid escape sequence '\+'
  xml_application_media_type = re.compile("application/[a-zA-Z0-9]+\+xml")
/opt/venv/lib/python3.12/site-packages/pyRdfa/utils.py:131: SyntaxWarning: invalid escape sequence '\?'
  _unquotedChars = ':/\?=#~'
/usr/src/kitchenowl/migrations/env.py:21: DeprecationWarning: 'get_engine' is deprecated and will be removed in Flask-SQLAlchemy 3.2. Use 'engine' or 'engines[key]' instead. If you're using Flask-Migrate or Alembic, you'll need to update your 'env.py' file.
  return current_app.extensions['migrate'].db.get_engine()
/usr/src/kitchenowl/migrations/env.py:21: DeprecationWarning: 'get_engine' is deprecated and will be removed in Flask-SQLAlchemy 3.2. Use 'engine' or 'engines[key]' instead. If you're using Flask-Migrate or Alembic, you'll need to update your 'env.py' file.
  return current_app.extensions['migrate'].db.get_engine()
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
Upgrading households: 0it [00:00, ?it/s]
[uWSGI] getting INI configuration from wsgi.ini
[uwsgi-static] added mapping for / => /var/www/web/kitchenowl
*** Starting uWSGI 2.0.25.1 (64bit) on [Sat Jun  1 21:04:14 2024] ***
compiled with version: 12.2.0 on 24 April 2024 13:24:45
os: Linux-6.1.79-Unraid #1 SMP PREEMPT_DYNAMIC Fri Mar 29 13:34:03 PDT 2024
nodename: a19713a82dd3
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /usr/src/kitchenowl
detected binary path: /opt/venv/bin/uwsgi
*** dumping internal routing table ***
[rule: 0] subject: path_info regexp: ^\/(?!api)[^\.]*$ action: static:/var/www/web/kitchenowl/index.html
*** end of the internal routing table ***
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
your processes number limit is 31008
your memory page size is 4096 bytes
detected max file descriptor number: 40960
!!! no /etc/mime.types file found !!!
- async cores set to 200 - fd table size: 40960
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on [::]:8080 fd 3
uwsgi socket 0 bound to TCP6 address [::]:5000 fd 6
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
Python version: 3.12.3 (main, Apr 10 2024, 03:39:08) [GCC 12.2.0]
Python main interpreter initialized at 0x14b84981d668
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 4307328 bytes (4206 KB) for 200 cores
*** Operational MODE: async ***
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 
spawned uWSGI master process (pid: 43)
spawned uWSGI worker 1 (pid: 44, cores: 200)
spawned uWSGI http 1 (pid: 45)
WSGI app 0 (mountpoint='') ready in 5 seconds on interpreter 0x14b84981d668 pid: 44 (default app)
*** running gevent loop engine [addr:0x55ac422deba0] ***

Share your configuration

No response

UnknownHiker commented 1 month ago

Nevermind, didnt see internal Port changed to 8080.....