Closed m4tz3 closed 9 months ago
please enable DEBUG and share the logs from tandoor
Like this?
`Gunicorn Media: False Sqlite: True Debug: True
SERVER_PROTOCOL:HTTP/1.0 REMOTE_ADDR:192.168.32.4 SERVER_PORT:8080
HTTP_HOST:mydomain.lan:2000 HTTP_CONNECTION:close HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0 HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 HTTP_ACCEPT_LANGUAGE:de,en-US;q=0.7,en;q=0.3 HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_REFERER:http://mydomain.lan:2000/search/ HTTP_COOKIE:stay_login=1; _CrPoSt=cHJvdG9jb2w9aHR0cHM6OyBwb3J0PTsgcGF0aG5hbWU9Lzs%3D; ViewType=timeline; ViewLibrary=shared_space; csrftoken=LFfI7APNeTFWZ8uytvhqrRQ8qzd4QiKD; mealplan_settings=%7B%22displayPeriodUom%22%3A%22week%22%2C%22displayPeriodCount%22%3A2%2C%22startingDayOfWeek%22%3A1%2C%22displayWeekNumbers%22%3Atrue%2C%22addshopping%22%3Atrue%2C%22reviewshopping%22%3Afalse%7D; ui_search_settings=%7B%22show_meal_plan%22%3Atrue%2C%22meal_plan_days%22%3A0%2C%22recently_viewed%22%3A5%2C%22sort_by_new%22%3Atrue%2C%22page_size%22%3A%22100%22%2C%22expert_mode%22%3Afalse%2C%22remember_search%22%3Atrue%2C%22remember_hours%22%3A4%2C%22sql_debug%22%3Afalse%2C%22tree_select%22%3Afalse%2C%22show_keywords%22%3Atrue%2C%22show_foods%22%3Atrue%2C%22show_books%22%3Atrue%2C%22show_rating%22%3Atrue%2C%22show_units%22%3Afalse%2C%22show_filters%22%3Atrue%2C%22show_sortby%22%3Afalse%2C%22show_timescooked%22%3Afalse%2C%22show_makenow%22%3Afalse%2C%22show_cookedon%22%3Afalse%2C%22show_viewedon%22%3Afalse%2C%22show_createdon%22%3Afalse%2C%22show_updatedon%22%3Afalse%2C%22include_children%22%3Atrue%7D; id=k9vsrMskHjZgZ8igMClW0TWfpPEQjK8-W8zL2rfIsDAx5AeGyxd3GnTJ1ttaekZr8_ydQ51tyUWSgUPS1qu4Pg; remember_token=3|9de83ebc4ee62948dd6af1a271ad8eaa9d2ee60b6a217cb01bea9cb76aa624d8ab4619ac7b527e1baf92d3db1ff93ee26807d267e0375d2b57294240369a1c92; io=2QkwN-TPWhBgkEnwAAAu; sessionid=jwuhp26maee3mkqlqcp79mtm36zkrkkj; CSRF-Token-HSCCMKA=b3bvkKtj7Cmir2NcWz6rQaVaC5dyzsQb HTTP_UPGRADE_INSECURE_REQUESTS:1
wsgi.errors:<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7effc95428f0> wsgi.version:(1, 0) wsgi.multithread:True wsgi.multiprocess:True wsgi.run_once:False wsgi.file_wrapper: wsgi.input_terminated:True wsgi.input:<gunicorn.http.body.Body object at 0x7effc923f610> wsgi.url_scheme:http `
Medien ausliefern Ok Alles in Ordnung! Geheimer Schlüssel Ok Alles in Ordnung! Debug-Modus Warnung Diese Anwendung läuft noch im Debug-Modus. Dieser wird höchstwahrscheinlich nicht benötigt. Schalte den Debug-Modus aus, indem du DEBUG=0 in der Konfigurationsdatei .env einstellst. Datenbank Info Diese Anwendung läuft nicht mit einer PostgreSQL Datenbank. Dies ist in Ordnung, wird aber nicht empfohlen, da einige Funktionen nur mit einer PostgreSQL-Datenbanken funktionieren.
When i try to open a recipe now, the error message is a bit longer:
<tr>\n <td>USE_I18N</td>\n <td class=\"code\"><pre>True</pre></td>\n </tr>\n \n <tr>\n <td>USE_L10N</td>\n <td class=\"code\"><pre>True</pre></td>\n </tr>\n \n <tr>\n <td>USE_THOUSAND_SEPARATOR</td>\n <td class=\"code\"><pre>False</pre></td>\n </tr>\n \n <tr>\n <td>USE_TZ</td>\n <td class=\"code\"><pre>True</pre></td>\n </tr>\n \n <tr>\n <td>USE_X_FORWARDED_HOST</td>\n <td class=\"code\"><pre>False</pre></td>\n </tr>\n \n <tr>\n <td>USE_X_FORWARDED_PORT</td>\n <td class=\"code\"><pre>False</pre></td>\n </tr>\n \n <tr>\n <td>VUE_DIR</td>\n <td class=\"code\"><pre>'/opt/recipes/vue'</pre></td>\n </tr>\n \n <tr>\n <td>WEBPACK_LOADER</td>\n <td class=\"code\"><pre>{'DEFAULT': {'BUNDLE_DIR_NAME': 'vue/',\n 'CACHE': False,\n 'IGNORE': ['.+\\\\.hot-update.js', '.+\\\\.map'],\n 'POLL_INTERVAL': 0.1,\n 'STATS_FILE': '/opt/recipes/vue/webpack-stats.json',\n 'TIMEOUT': None}}</pre></td>\n </tr>\n \n <tr>\n <td>WRITE_SCOPE</td>\n <td class=\"code\"><pre>'write'</pre></td>\n </tr>\n \n <tr>\n <td>WSGI_APPLICATION</td>\n <td class=\"code\"><pre>'recipes.wsgi.application'</pre></td>\n </tr>\n \n <tr>\n <td>X_FRAME_OPTIONS</td>\n <td class=\"code\"><pre>'DENY'</pre></td>\n </tr>\n \n <tr>\n <td>YEAR_MONTH_FORMAT</td>\n <td class=\"code\"><pre>'F Y'</pre></td>\n </tr>\n \n </tbody>\n </table>\n\n</div>\n\n <div id=\"explanation\">\n <p>\n You’re seeing this error because you have <code>DEBUG = True</code> in your\n Django settings file. Change that to <code>False</code>, and Django will\n display a standard page generated by the handler for this status code.\n </p>\n </div>\n\n</body>\n</html>\n"
docker logs web_recipes
thanks, and sorry for asking stupid questions :)
`Checking configuration... Waiting for database to be ready... Database is ready Migrating database Operations to perform: Apply all migrations: account, admin, auth, authtoken, contenttypes, cookbook, oauth2_provider, sessions, sites, socialaccount Running migrations: Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 87, in _execute return self.cursor.execute(sql) psycopg2.errors.UniqueViolation: could not create unique index "mt_unique_name_per_space" DETAIL: Key (space_id, name, created_by_id)=(1, Mittagessen, 2) is duplicated.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/recipes/manage.py", line 15, in
Applying cookbook.0203_alter_unique_contstraints...Generating static files js-reverse file written to /opt/recipes/cookbook/static/django_js_reverse
1 static file copied to '/opt/recipes/staticfiles', 640 unmodified, 1379 post-processed. Done [2023-12-14 14:21:17 +0100] [1] [INFO] Starting gunicorn 20.1.0 [2023-12-14 14:21:17 +0100] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) [2023-12-14 14:21:17 +0100] [1] [INFO] Using worker: gthread [2023-12-14 14:21:17 +0100] [12] [INFO] Booting worker with pid: 12 [2023-12-14 14:21:17 +0100] [13] [INFO] Booting worker with pid: 13 [2023-12-14 14:21:17 +0100] [14] [INFO] Booting worker with pid: 14 192.168.32.4 - - [14/Dec/2023:14:21:22 +0100] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:22 +0100] "GET /search/ HTTP/1.0" 200 21863 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/css/app.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/js/select2.min.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/css/select2.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/js/popper.min.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/django_js_reverse/reverse.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/js/chunk-vendors.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/js/api-chunk.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/css/chunk-vendors.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/css/recipe_search_view.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/js/locales-chunk.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/vue/js/recipe_search_view.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:23 +0100] "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /static/assets/favicon.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /static/assets/apple-touch-icon.png HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/custom-filter/ HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/recipe-book/ HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/user-preference/1/ HTTP/1.0" 200 606 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /static/assets/recipe_no_image.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/meal-plan/?from_date=2023-12-14&to_date=2023-12-14 HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/meal-plan/?from_date=2023-12-14&to_date=2023-12-14 HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/keyword/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 10825 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/food/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 2896 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:24 +0100] "GET /api/space/1/ HTTP/1.0" 200 296 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:25 +0100] "GET /api/recipe/?query=&internal=false&random=false&new=true&page=1&page_size=100&include_children=true&num_recent=5 HTTP/1.0" 200 47891 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:25 +0100] "GET /api/recipe/?query=&internal=false&random=false&new=true&page=1&page_size=100&include_children=true&num_recent=5 HTTP/1.0" 200 47891 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:26 +0100] "GET /api/user-preference/1/ HTTP/1.0" 200 606 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:28 +0100] "GET /static/webfonts/fa-regular-400.woff2 HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:28 +0100] "GET /static/webfonts/fa-brands-400.woff2 HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /system/ HTTP/1.0" 200 25958 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/css/app.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:21:34 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /admin/ HTTP/1.0" 200 29593 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/css/base.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/css/nav_sidebar.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/css/dashboard.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/css/dark_mode.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/css/responsive.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/js/theme.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/js/nav_sidebar.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/img/icon-addlink.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/img/icon-changelink.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:22:58 +0100] "GET /static/admin/img/icon-deletelink.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:06 +0100] "GET /admin/ HTTP/1.0" 200 29593 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:09 +0100] "GET /admin/ HTTP/1.0" 200 29593 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /admin/sites/site/ HTTP/1.0" 200 25422 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/css/base.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/css/dark_mode.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/theme.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/css/nav_sidebar.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/nav_sidebar.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/css/changelists.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/vendor/jquery/jquery.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/jquery.init.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/core.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/admin/RelatedObjectLookups.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/actions.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/urlify.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/css/responsive.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/prepopulate.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/vendor/xregexp/xregexp.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /admin/jsi18n/ HTTP/1.0" 200 7869 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/js/filters.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/img/search.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/img/icon-addlink.svg HTTP/1.0" 304 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/img/tooltag-add.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:27 +0100] "GET /static/admin/img/sorting-icons.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/admin/css/base.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:32 +0100] "GET / HTTP/1.0" 302 0 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /search/ HTTP/1.0" 200 21863 "http://mydomain.lan:2000/admin/sites/site/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/css/app.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/django_js_reverse/reverse.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/js/locales-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/js/api-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/css/recipe_search_view.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/css/chunk-vendors.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/js/recipe_search_view.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:33 +0100] "GET /static/vue/js/chunk-vendors.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/keyword/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 10825 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/meal-plan/?from_date=2023-12-14&to_date=2023-12-14 HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/custom-filter/ HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /static/assets/recipe_no_image.svg HTTP/1.0" 304 0 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/recipe-book/ HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/food/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 2896 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/user-preference/1/ HTTP/1.0" 200 606 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/meal-plan/?from_date=2023-12-14&to_date=2023-12-14 HTTP/1.0" 200 2 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /api/space/1/ HTTP/1.0" 200 296 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:34 +0100] "GET /admin/sites/site/ HTTP/1.0" 200 25422 "http://mydomain.lan:2000/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:23:39 +0100] "GET /admin/ HTTP/1.0" 200 29593 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:38 +0100] "GET /view/recipe/11 HTTP/1.0" 200 23495 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/css/app.min.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/css/recipe_view.css HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/js/recipe_view.js HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/django_js_reverse/reverse.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/js/api-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/css/chunk-vendors.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/js/locales-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/vue/js/chunk-vendors.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/webfonts/fa-regular-400.woff2 HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/assets/apple-touch-icon.png HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:39 +0100] "GET /static/assets/favicon.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:40 +0100] "GET /static/assets/spinner.svg HTTP/1.0" 200 0 "http://mydomain.lan:2000/static/css/app.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" Internal Server Error: /api/recipe/11/ Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedColumn: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view return view_func(*args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/mixins.py", line 54, in retrieve instance = self.get_object() File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 96, in get_object obj = get_object_or_404(queryset, filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 19, in get_object_or_404 return _get_object_or_404(queryset, filter_args, *filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/shortcuts.py", line 85, in get_object_or_404 return queryset.get(args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 633, in get num = len(clone) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 380, in len self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1883, in _fetch_all self._prefetch_related_objects() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1273, in _prefetch_related_objects prefetch_related_objects(self._result_cache, self._prefetch_related_lookups) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2321, in prefetch_related_objects obj_list, additional_lookups = prefetch_one_level( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2480, in prefetch_one_level all_related_objects = list(rel_qs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 398, in iter self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1881, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 91, in iter results = compiler.execute_sql( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql cursor.execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 102, in execute return super().execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers 192.168.32.4 - - [14/Dec/2023:14:36:40 +0100] "GET /api/recipe/11/ HTTP/1.0" 500 196045 "http://mydomain.lan:2000/view/recipe/11" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" return executor(sql, params, many, context) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in exit raise dj_exc_value.with_traceback(traceback) from exc_value File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
Internal Server Error: /api/recipe/11/ Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedColumn: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view return view_func(*args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/mixins.py", line 54, in retrieve instance = self.get_object() File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 96, in get_object obj = get_object_or_404(queryset, filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 19, in get_object_or_404 return _get_object_or_404(queryset, filter_args, *filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/shortcuts.py", line 85, in get_object_or_404 return queryset.get(args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 633, in get num = len(clone) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 380, in len self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1883, in _fetch_all self._prefetch_related_objects() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1273, in _prefetch_related_objects prefetch_related_objects(self._result_cache, self._prefetch_related_lookups) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2321, in prefetch_related_objects obj_list, additional_lookups = prefetch_one_level( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2480, in prefetch_one_level all_related_objects = list(rel_qs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 398, in iter self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1881, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 91, in iter results = compiler.execute_sql( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql cursor.execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 102, in execute return super().execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in exit raise dj_exc_value.with_traceback(traceback) from exc_value File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
192.168.32.4 - - [14/Dec/2023:14:36:40 +0100] "GET /system/ HTTP/1.0" 200 26052 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/css/app.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:36:41 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/system/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" Not Found: /favicon.ico Not Found: /favicon.ico 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /view/recipe/78 HTTP/1.0" 200 23493 "http://mydomain.lan:2000/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/themes/darkly.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/css/app.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/js/locales-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/css/chunk-vendors.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/js/chunk-vendors.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/css/recipe_view.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/js/recipe_view.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/django_js_reverse/reverse.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:01 +0100] "GET /static/vue/js/api-chunk.js HTTP/1.0" 304 0 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" 192.168.32.4 - - [14/Dec/2023:14:37:02 +0100] "GET /static/assets/spinner.svg HTTP/1.0" 304 0 "http://mydomain.lan:2000/static/css/app.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" Internal Server Error: /api/recipe/78/ Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedColumn: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view return view_func(*args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/mixins.py", line 54, in retrieve instance = self.get_object() File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 96, in get_object obj = get_object_or_404(queryset, filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 19, in get_object_or_404 return _get_object_or_404(queryset, filter_args, *filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/shortcuts.py", line 85, in get_object_or_404 return queryset.get(args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 633, in get num = len(clone) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 380, in len self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1883, in _fetch_all self._prefetch_related_objects() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1273, in _prefetch_related_objects prefetch_related_objects(self._result_cache, self._prefetch_related_lookups) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2321, in prefetch_related_objects obj_list, additional_lookups = prefetch_one_level( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2480, in prefetch_one_level all_related_objects = list(rel_qs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 398, in iter self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1881, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 91, in iter results = compiler.execute_sql( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql cursor.execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 102, in execute return super().execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in exit raise dj_exc_value.with_traceback(traceback) from exc_value File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
Internal Server Error: /api/recipe/78/ Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedColumn: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/opt/recipes/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view return view_func(*args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/viewsets.py", line 125, in view return self.dispatch(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, args, kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/mixins.py", line 54, in retrieve instance = self.get_object() File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 96, in get_object obj = get_object_or_404(queryset, filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/rest_framework/generics.py", line 19, in get_object_or_404 return _get_object_or_404(queryset, filter_args, *filter_kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/shortcuts.py", line 85, in get_object_or_404 return queryset.get(args, *kwargs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 633, in get num = len(clone) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 380, in len self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1883, in _fetch_all self._prefetch_related_objects() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1273, in _prefetch_related_objects prefetch_related_objects(self._result_cache, self._prefetch_related_lookups) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2321, in prefetch_related_objects obj_list, additional_lookups = prefetch_one_level( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 2480, in prefetch_one_level all_related_objects = list(rel_qs) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 398, in iter self._fetch_all() File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1881, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/query.py", line 91, in iter results = compiler.execute_sql( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql cursor.execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 102, in execute return super().execute(sql, params) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute return self._execute_with_wrappers( File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers return executor(sql, params, many, context) File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute with self.db.wrap_database_errors: File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in exit raise dj_exc_value.with_traceback(traceback) from exc_value File "/opt/recipes/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute return self.cursor.execute(sql, params) django.db.utils.ProgrammingError: column cookbook_propertytype.fdc_id does not exist LINE 1: ...egory", "cookbook_propertytype"."open_dataslug", "cookbook... ^
192.168.32.4 - - [14/Dec/2023:14:37:02 +0100] "GET /api/recipe/78/ HTTP/1.0" 500 195991 "http://mydomain.lan:2000/view/recipe/78" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0" `
on your docker host run the below two command and share the results.
docker exec -it db_recipes psql -U <username> -d Tandoor
SELECT *
FROM information_schema.constraint_column_usage
WHERE constraint_name = 'mt_unique_name_per_space';
`docker exec -it tandoor_db_recipes psql -U Cookbook -d Tandoor
psql (15.4) `
SELECT * from cookbook_mealtype WHERE name='Mittagessen';
Tandoor=# SELECT * from cookbook_mealtype WHERE name='Mittagessen'; id | name | order | created_by_id | space_id | color | default ----+------+-------+---------------+----------+-------+--------- (0 rows)
psycopg2.errors.UniqueViolation: could not create unique index "mt_unique_name_per_space" DETAIL: Key (space_id, name, created_by_id)=(1, Mittagessen, 2) is duplicated.
something about what you've reported isn't correct. tandoor says that name is duplicated but the query says there are zero mealplan types.
psycopg2.errors.UniqueViolation: could not create unique index "mt_unique_name_per_space"
DETAIL: Key (space_id, name, created_by_id)=(1, Mittagessen, 2) is duplicated.
Can you go to a prior version and manually investigate and delete all duplicate meal plan types?
Now things get even stranger. I tried to go to prior version, logged in into the side and deleted the mealtypes. Then all the things seem to run. I logged of an tried to log in again, but nothing was working any more.
then I went back to a prior version again, changed the Timezone env to TZ, restarted and now it's all running like a charm, but I don't know why.
@smilerz Anyway, thank you very much.
Issue
Hi, i don't know what happend, but i can't open any recipe without getting this error message.
Internal Server Error There was an error loading a resource! "\n<!doctype html>\n<html lang=\"en\">\n<head>\n <title>Server Error (500)</title>\n</head>\n<body>\n <h1>Server Error (500)</h1><p></p>\n</body>\n</html>\n"
The recipes overview works as usual. I'm not sure what the problem is, does anyone have a tip for me where I should start debugging?
Tandoor Version
1.5.10
OS Version
DSM 7.2.1-69057 Update 3
Setup
Synology
Reverse Proxy
No reverse proxy
Other
Using Synology Container Manager
Environment file
Docker-Compose file
Relevant logs
No response