truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 617 forks source link

Inventree container typeerror #3684

Closed CPBPILOT closed 2 years ago

CPBPILOT commented 2 years ago

App Name

inventree

SCALE Version

22.02.3

App Version

0.8.2_4.0.8

Application Events

2022-09-03 21:20:12
Applied LoadBalancer DaemonSet ix-inventree/svclb-inventree
2022-09-03 21:23:53
Started container worker
2022-09-03 21:23:53
Created container worker
2022-09-03 21:23:50
Container image "tccr.io/truecharts/inventree:0.8.2@sha256:6e25164df98d08f0539941599a35fb3c6d043181a7b8847f47c1eba981877d74" already present on machine
2022-09-03 21:23:50
Started container nginx
2022-09-03 21:23:49
Created container nginx
2022-09-03 21:23:45
Container image "tccr.io/truecharts/nginx:v1.23.1@sha256:1620254cd011e2b81361f1f4682fd6cceadf13b07f8e37f322b60407d6d5a766" already present on machine
2022-09-03 21:23:45
Started container inventree
2022-09-03 21:23:45
Created container inventree
2022-09-03 21:23:39
Container image "tccr.io/truecharts/inventree:0.8.2@sha256:6e25164df98d08f0539941599a35fb3c6d043181a7b8847f47c1eba981877d74" already present on machine
2022-09-03 21:21:08
Started container init
2022-09-03 21:21:07
Created container init
2022-09-03 21:21:04
Container image "tccr.io/truecharts/inventree:0.8.2@sha256:6e25164df98d08f0539941599a35fb3c6d043181a7b8847f47c1eba981877d74" already present on machine
2022-09-03 21:20:49
Started container inventree-redis
2022-09-03 21:20:49
Started container inventree-postgresql
2022-09-03 21:20:49
Created container inventree-redis
2022-09-03 21:20:48
Created container inventree-postgresql
2022-09-03 21:20:42
Container image "tccr.io/truecharts/redis:v7.0.4@sha256:c3727ebf152d35f6cd7d0242264f51de40060973c0bb9fd5d1263a6b566cc706" already present on machine
2022-09-03 21:20:41
Container image "tccr.io/truecharts/postgresql:14.5.0@sha256:cb08d8828c852a23a2665bceac109b9d4ef8c388d4e859ec32aca0a3a8431bae" already present on machine
2022-09-03 21:20:41
Started container prepare
2022-09-03 21:20:41
Started container prepare
2022-09-03 21:20:40
Created container prepare
2022-09-03 21:20:40
Created container prepare
2022-09-03 21:20:36
Started container prepare
2022-09-03 21:20:35
LoadBalancer Ingress IP addresses updated: 10.11.10.11
2022-09-03 21:20:35
Created container prepare
2022-09-03 21:20:34
Started container lb-tcp-10231
2022-09-03 21:20:33
Created container lb-tcp-10231
2022-09-03 21:20:31
Container image "tccr.io/truecharts/multi-init:v0.0.1@sha256:4c2caebee117b055f379377fd0fd306f2ee0e6697fd47d9364073e0e9e6f2e02" already present on machine
2022-09-03 21:20:31
Add eth0 [172.16.23.173/16] from ix-net
2022-09-03 21:20:30
Container image "tccr.io/truecharts/multi-init:v0.0.1@sha256:4c2caebee117b055f379377fd0fd306f2ee0e6697fd47d9364073e0e9e6f2e02" already present on machine
2022-09-03 21:20:30
Add eth0 [172.16.23.172/16] from ix-net
2022-09-03 21:20:25
Container image "tccr.io/truecharts/multi-init:v0.0.1@sha256:4c2caebee117b055f379377fd0fd306f2ee0e6697fd47d9364073e0e9e6f2e02" already present on machine
2022-09-03 21:20:25
Add eth0 [172.16.23.171/16] from ix-net
2022-09-03 21:20:22
Container image "rancher/klipper-lb:v0.3.4" already present on machine
2022-09-03 21:20:22
Add eth0 [172.16.23.170/16] from ix-net
Successfully assigned ix-inventree/inventree-redis-0 to ix-truenas
Successfully assigned ix-inventree/inventree-postgresql-0 to ix-truenas
2022-09-03 21:20:15
Successfully provisioned volume pvc-676f784b-259a-4868-8cc3-81b154e632f5
2022-09-03 21:20:14
Successfully provisioned volume pvc-4c2611df-34a4-47d2-a3c5-feff1e625ddf
Successfully assigned ix-inventree/inventree-5c9f8f967f-vtrrt to ix-truenas
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
2022-09-03 21:20:13
Successfully provisioned volume pvc-4b59d1cf-9414-45c9-bbd9-a42c946d8fb0
2022-09-03 21:20:12
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2022-09-03 21:20:12
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
Successfully assigned ix-inventree/svclb-inventree-z2rzh to ix-truenas
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
2022-09-03 21:20:12
create Pod inventree-redis-0 in StatefulSet inventree-redis successful
2022-09-03 21:20:12
create Pod inventree-postgresql-0 in StatefulSet inventree-postgresql successful
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
2022-09-03 21:20:12
External provisioner is provisioning volume for claim "ix-inventree/data-inventree-redis-0"
2022-09-03 21:20:12
Created pod: svclb-inventree-z2rzh
2022-09-03 21:20:12
External provisioner is provisioning volume for claim "ix-inventree/db-inventree-postgresql-0"
2022-09-03 21:20:12
create Claim data-inventree-redis-0 Pod inventree-redis-0 in StatefulSet inventree-redis success
2022-09-03 21:20:12
create Claim db-inventree-postgresql-0 Pod inventree-postgresql-0 in StatefulSet inventree-postgresql success
2022-09-03 21:20:12
Created pod: inventree-5c9f8f967f-vtrrt
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
2022-09-03 21:20:12
Scaled up replica set inventree-5c9f8f967f to 1
2022-09-03 21:20:12
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2022-09-03 21:20:12
External provisioner is provisioning volume for claim "ix-inventree/inventree-data"

Application Logs

*****PostgreSQL container*****
2022-09-04T02:20:49.395339247Z postgresql 02:20:49.39 
2022-09-04T02:20:49.396694408Z postgresql 02:20:49.39 Welcome to the Bitnami postgresql container
2022-09-04T02:20:49.398112182Z postgresql 02:20:49.39 Subscribe to project updates by watching https://github.com/bitnami/containers
2022-09-04T02:20:49.399472729Z postgresql 02:20:49.39 Submit issues and feature requests at https://github.com/bitnami/containers/issues
2022-09-04T02:20:49.400803468Z postgresql 02:20:49.40 
2022-09-04T02:20:49.416304112Z postgresql 02:20:49.41 INFO  ==> ** Starting PostgreSQL setup **
2022-09-04T02:20:49.435330463Z postgresql 02:20:49.43 INFO  ==> Validating settings in POSTGRESQL_* env vars..
2022-09-04T02:20:49.441161848Z postgresql 02:20:49.44 INFO  ==> Loading custom pre-init scripts...
2022-09-04T02:20:49.446766239Z postgresql 02:20:49.44 INFO  ==> Initializing PostgreSQL database...
2022-09-04T02:20:49.463407978Z postgresql 02:20:49.46 INFO  ==> pg_hba.conf file not detected. Generating it...
2022-09-04T02:20:49.465088615Z postgresql 02:20:49.46 INFO  ==> Generating local authentication configuration
2022-09-04T02:20:50.613208193Z postgresql 02:20:50.61 INFO  ==> Starting PostgreSQL in background...
2022-09-04T02:20:54.654316827Z postgresql 02:20:54.65 INFO  ==> Changing password of postgres
2022-09-04T02:20:54.694015648Z postgresql 02:20:54.69 INFO  ==> Creating user inventree
2022-09-04T02:20:54.724146095Z postgresql 02:20:54.72 INFO  ==> Granting access to "inventree" to the database "inventree"
2022-09-04T02:20:54.769982142Z postgresql 02:20:54.76 INFO  ==> Setting ownership for the 'public' schema database "inventree" to "inventree"
2022-09-04T02:20:54.811254082Z postgresql 02:20:54.81 INFO  ==> Configuring replication parameters
2022-09-04T02:20:54.838857998Z postgresql 02:20:54.83 INFO  ==> Configuring synchronous_replication
2022-09-04T02:20:54.840864670Z postgresql 02:20:54.84 INFO  ==> Configuring fsync
2022-09-04T02:20:54.863119162Z postgresql 02:20:54.86 INFO  ==> Loading custom scripts...
2022-09-04T02:20:54.867394401Z postgresql 02:20:54.86 INFO  ==> Enabling remote connections
2022-09-04T02:20:54.875190494Z postgresql 02:20:54.87 INFO  ==> Stopping PostgreSQL...
2022-09-04T02:20:55.079016539Z waiting for server to shut down.... done
2022-09-04T02:20:55.079045944Z server stopped
2022-09-04T02:20:55.083965071Z 
2022-09-04T02:20:55.084002505Z postgresql 02:20:55.08 INFO  ==> ** PostgreSQL setup finished! **
2022-09-04T02:20:55.104103115Z postgresql 02:20:55.10 INFO  ==> ** Starting PostgreSQL **
2022-09-04T02:20:55.126384586Z 2022-09-04 02:20:55.126 GMT [1] LOG:  pgaudit extension initialized
2022-09-04T02:20:55.141600691Z 2022-09-04 02:20:55.141 GMT [1] LOG:  starting PostgreSQL 14.5 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-09-04T02:20:55.142037857Z 2022-09-04 02:20:55.141 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2022-09-04T02:20:55.142061684Z 2022-09-04 02:20:55.141 GMT [1] LOG:  listening on IPv6 address "::", port 5432
2022-09-04T02:20:55.165611717Z 2022-09-04 02:20:55.165 GMT [1] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
2022-09-04T02:20:55.190042634Z 2022-09-04 02:20:55.189 GMT [147] LOG:  database system was shut down at 2022-09-04 02:20:55 GMT
2022-09-04T02:20:55.224877485Z 2022-09-04 02:20:55.224 GMT [1] LOG:  database system is ready to accept connections
2022-09-04T02:21:22.537694633Z 2022-09-04 02:21:22.537 GMT [203] ERROR:  relation "common_inventreesetting" does not exist at character 112
2022-09-04T02:21:22.537773680Z 2022-09-04 02:21:22.537 GMT [203] STATEMENT:  SELECT "common_inventreesetting"."id", "common_inventreesetting"."value", "common_inventreesetting"."key" FROM "common_inventreesetting" WHERE UPPER("common_inventreesetting"."key"::text) = UPPER('SERVER_RESTART_REQUIRED') ORDER BY "common_inventreesetting"."id" ASC LIMIT 1
2022-09-04T02:21:25.851336209Z 2022-09-04 02:21:25.851 GMT [205] ERROR:  relation "common_inventreesetting" does not exist at character 112
2022-09-04T02:21:25.851407942Z 2022-09-04 02:21:25.851 GMT [205] STATEMENT:  SELECT "common_inventreesetting"."id", "common_inventreesetting"."value", "common_inventreesetting"."key" FROM "common_inventreesetting" WHERE UPPER("common_inventreesetting"."key"::text) = UPPER('SERVER_RESTART_REQUIRED') ORDER BY "common_inventreesetting"."id" ASC LIMIT 1

*****redis container*****
2022-09-04T02:20:49.387106082Z redis 02:20:49.38 
2022-09-04T02:20:49.388424737Z redis 02:20:49.38 Welcome to the Bitnami redis container
2022-09-04T02:20:49.389577772Z redis 02:20:49.38 Subscribe to project updates by watching https://github.com/bitnami/containers
2022-09-04T02:20:49.390721663Z redis 02:20:49.39 Submit issues and feature requests at https://github.com/bitnami/containers/issues
2022-09-04T02:20:49.391828188Z redis 02:20:49.39 
2022-09-04T02:20:49.393259893Z redis 02:20:49.39 INFO  ==> ** Starting Redis setup **
2022-09-04T02:20:49.406080074Z redis 02:20:49.40 WARN  ==> You set the environment variable ALLOW_EMPTY_PASSWORD=yes. For safety reasons, do not use this flag in a production environment.
2022-09-04T02:20:49.410545850Z redis 02:20:49.41 INFO  ==> Initializing Redis
2022-09-04T02:20:49.437485228Z redis 02:20:49.43 INFO  ==> Setting Redis config file
2022-09-04T02:20:49.463864640Z redis 02:20:49.46 INFO  ==> Configuring replication mode
2022-09-04T02:20:49.488041876Z redis 02:20:49.48 INFO  ==> ** Redis setup finished! **
2022-09-04T02:20:49.488066607Z 
2022-09-04T02:20:49.500381084Z redis 02:20:49.49 INFO  ==> ** Starting Redis **
2022-09-04T02:20:49.516133687Z 1:C 04 Sep 2022 02:20:49.515 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2022-09-04T02:20:49.516164965Z 1:C 04 Sep 2022 02:20:49.516 # Redis version=7.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
2022-09-04T02:20:49.516185435Z 1:C 04 Sep 2022 02:20:49.516 # Configuration loaded
2022-09-04T02:20:49.516528023Z 1:M 04 Sep 2022 02:20:49.516 * monotonic clock: POSIX clock_gettime
2022-09-04T02:20:49.517394027Z 1:M 04 Sep 2022 02:20:49.517 * Running mode=standalone, port=6379.
2022-09-04T02:20:49.517427700Z 1:M 04 Sep 2022 02:20:49.517 # Server initialized
2022-09-04T02:20:49.830050374Z 1:M 04 Sep 2022 02:20:49.829 * Creating AOF base file appendonly.aof.1.base.rdb on server start
2022-09-04T02:20:49.860049255Z 1:M 04 Sep 2022 02:20:49.859 * Creating AOF incr file appendonly.aof.1.incr.aof on server start
2022-09-04T02:20:49.860076094Z 1:M 04 Sep 2022 02:20:49.859 * Ready to accept connections
2022-09-04T02:25:50.020905809Z 1:M 04 Sep 2022 02:25:50.020 * 100 changes in 300 seconds. Saving...
2022-09-04T02:25:50.022003135Z 1:M 04 Sep 2022 02:25:50.021 * Background saving started by pid 599
2022-09-04T02:25:50.175465619Z 599:C 04 Sep 2022 02:25:50.175 * DB saved on disk
2022-09-04T02:25:50.175906032Z 599:C 04 Sep 2022 02:25:50.175 * Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
2022-09-04T02:25:50.224003753Z 1:M 04 Sep 2022 02:25:50.223 * Background saving terminated with success

*****vtrrt container*****
2022-09-04T02:23:45.409036014Z /home/inventree/data/config.yaml exists - skipping
2022-09-04T02:23:45.781663251Z InvenTree translation coverage: 19%
2022-09-04T02:23:46.135800007Z [2022-09-03 21:23:46 -0500] [12] [INFO] Starting gunicorn 20.1.0
2022-09-04T02:23:46.136202760Z [2022-09-03 21:23:46 -0500] [12] [INFO] Listening at: http://0.0.0.0:8000 (12)
2022-09-04T02:23:46.136248830Z [2022-09-03 21:23:46 -0500] [12] [INFO] Using worker: sync
2022-09-04T02:23:46.139284873Z [2022-09-03 21:23:46 -0500] [13] [INFO] Booting worker with pid: 13
2022-09-04T02:23:46.147900255Z [2022-09-03 21:23:46 -0500] [14] [INFO] Booting worker with pid: 14
2022-09-04T02:23:46.229498310Z [2022-09-03 21:23:46 -0500] [15] [INFO] Booting worker with pid: 15
2022-09-04T02:23:46.303245177Z [2022-09-03 21:23:46 -0500] [16] [INFO] Booting worker with pid: 16
2022-09-04T02:23:46.511241121Z 2022-09-03 21:23:46,510 INFO SECRET_KEY loaded by INVENTREE_SECRET_KEY
2022-09-04T02:23:46.511291186Z 2022-09-03 21:23:46,511 INFO SECRET_KEY loaded by INVENTREE_SECRET_KEY
2022-09-04T02:23:46.511307495Z 2022-09-03 21:23:46,511 INFO SECRET_KEY loaded by INVENTREE_SECRET_KEY
2022-09-04T02:23:46.538717773Z 2022-09-03 21:23:46,538 INFO SECRET_KEY loaded by INVENTREE_SECRET_KEY
2022-09-04T02:23:46.561531734Z 2022-09-03 21:23:46,561 DEBUG Configuring database backend:
2022-09-04T02:23:46.561554452Z 2022-09-03 21:23:46,561 INFO DB_ENGINE: django.db.backends.postgresql
2022-09-04T02:23:46.561634646Z 2022-09-03 21:23:46,561 INFO DB_NAME: inventree
2022-09-04T02:23:46.561666126Z 2022-09-03 21:23:46,561 INFO DB_HOST: inventree-postgresql
2022-09-04T02:23:46.561678506Z 2022-09-03 21:23:46,561 DEBUG Configuring database backend:
2022-09-04T02:23:46.561749194Z 2022-09-03 21:23:46,561 INFO DB_ENGINE: django.db.backends.postgresql
2022-09-04T02:23:46.561783005Z 2022-09-03 21:23:46,561 DEBUG Configuring database backend:
2022-09-04T02:23:46.561813200Z 2022-09-03 21:23:46,561 INFO DB_NAME: inventree
2022-09-04T02:23:46.561861082Z 2022-09-03 21:23:46,561 INFO DB_HOST: inventree-postgresql
2022-09-04T02:23:46.561874958Z 2022-09-03 21:23:46,561 INFO DB_ENGINE: django.db.backends.postgresql
2022-09-04T02:23:46.561915198Z 2022-09-03 21:23:46,561 INFO DB_NAME: inventree
2022-09-04T02:23:46.561961811Z 2022-09-03 21:23:46,561 INFO DB_HOST: inventree-postgresql
2022-09-04T02:23:46.589064320Z 2022-09-03 21:23:46,588 DEBUG Configuring database backend:
2022-09-04T02:23:46.589102716Z 2022-09-03 21:23:46,588 INFO DB_ENGINE: django.db.backends.postgresql
2022-09-04T02:23:46.589113937Z 2022-09-03 21:23:46,589 INFO DB_NAME: inventree
2022-09-04T02:23:46.589136311Z 2022-09-03 21:23:46,589 INFO DB_HOST: inventree-postgresql
2022-09-04T02:23:46.841261059Z 2022-09-03 21:23:46,841 DEBUG MEDIA_ROOT: '/home/inventree/data/media'
2022-09-04T02:23:46.841330728Z 2022-09-03 21:23:46,841 DEBUG STATIC_ROOT: '/home/inventree/data/static'
2022-09-04T02:23:46.844763694Z 2022-09-03 21:23:46,844 DEBUG MEDIA_ROOT: '/home/inventree/data/media'
2022-09-04T02:23:46.844808841Z 2022-09-03 21:23:46,844 DEBUG STATIC_ROOT: '/home/inventree/data/static'
2022-09-04T02:23:46.848799493Z 2022-09-03 21:23:46,848 DEBUG MEDIA_ROOT: '/home/inventree/data/media'
2022-09-04T02:23:46.848825096Z 2022-09-03 21:23:46,848 DEBUG STATIC_ROOT: '/home/inventree/data/static'
2022-09-04T02:23:46.856801647Z 2022-09-03 21:23:46,856 DEBUG MEDIA_ROOT: '/home/inventree/data/media'
2022-09-04T02:23:46.856826448Z 2022-09-03 21:23:46,856 DEBUG STATIC_ROOT: '/home/inventree/data/static'
2022-09-04T02:23:48.382484392Z Plugins not enabled - skipping loading sequence
2022-09-04T02:23:48.384251748Z Starting background tasks...
2022-09-04T02:23:48.385000156Z Scheduled task 'InvenTree.tasks.delete_successful_tasks' already exists - updating!
2022-09-04T02:23:48.385057566Z Plugins not enabled - skipping loading sequence
2022-09-04T02:23:48.386846516Z Starting background tasks...
2022-09-04T02:23:48.387503811Z Scheduled task 'InvenTree.tasks.delete_successful_tasks' already exists - updating!
2022-09-04T02:23:48.393221597Z Plugins not enabled - skipping loading sequence
2022-09-04T02:23:48.395741452Z Starting background tasks...
2022-09-04T02:23:48.396493939Z Scheduled task 'InvenTree.tasks.delete_successful_tasks' already exists - updating!
2022-09-04T02:23:48.403236358Z Plugins not enabled - skipping loading sequence
2022-09-04T02:23:48.405000375Z Starting background tasks...
2022-09-04T02:23:48.405709149Z Scheduled task 'InvenTree.tasks.delete_successful_tasks' already exists - updating!
2022-09-04T02:23:48.448345841Z Scheduled task 'InvenTree.tasks.check_for_updates' already exists - updating!
2022-09-04T02:23:48.481783196Z Scheduled task 'InvenTree.tasks.check_for_updates' already exists - updating!
2022-09-04T02:23:48.509772820Z Scheduled task 'InvenTree.tasks.heartbeat' already exists - updating!
2022-09-04T02:23:48.670533308Z Scheduled task 'InvenTree.tasks.check_for_updates' already exists - updating!
2022-09-04T02:23:48.817965194Z Scheduled task 'InvenTree.tasks.update_exchange_rates' already exists - updating!
2022-09-04T02:23:48.818025767Z Scheduled task 'InvenTree.tasks.heartbeat' already exists - updating!
2022-09-04T02:23:48.982288068Z Scheduled task 'InvenTree.tasks.check_for_updates' already exists - updating!
2022-09-04T02:23:49.121077205Z Scheduled task 'InvenTree.tasks.update_exchange_rates' already exists - updating!
2022-09-04T02:23:49.121350105Z Scheduled task 'InvenTree.tasks.delete_old_error_logs' already exists - updating!
2022-09-04T02:23:49.125677720Z Scheduled task 'InvenTree.tasks.heartbeat' already exists - updating!
2022-09-04T02:23:49.153317228Z Scheduled task 'InvenTree.tasks.heartbeat' already exists - updating!
2022-09-04T02:23:49.172647450Z Scheduled task 'InvenTree.tasks.delete_old_error_logs' already exists - updating!
2022-09-04T02:23:49.172832151Z Scheduled task 'common.tasks.delete_old_notifications' already exists - updating!
2022-09-04T02:23:49.173936874Z Scheduled task 'InvenTree.tasks.update_exchange_rates' already exists - updating!
2022-09-04T02:23:49.254424300Z Scheduled task 'InvenTree.tasks.update_exchange_rates' already exists - updating!
2022-09-04T02:23:49.353243524Z Scheduled task 'order.tasks.check_overdue_purchase_orders' already exists - updating!
2022-09-04T02:23:49.353548133Z Scheduled task 'common.tasks.delete_old_notifications' already exists - updating!
2022-09-04T02:23:49.353859148Z Scheduled task 'InvenTree.tasks.delete_old_error_logs' already exists - updating!
2022-09-04T02:23:49.475150677Z Scheduled task 'InvenTree.tasks.delete_old_error_logs' already exists - updating!
2022-09-04T02:23:49.532566424Z Scheduled task 'order.tasks.check_overdue_sales_orders' already exists - updating!
2022-09-04T02:23:49.532594488Z Scheduled task 'common.tasks.delete_old_notifications' already exists - updating!
2022-09-04T02:23:49.532605979Z Scheduled task 'order.tasks.check_overdue_purchase_orders' already exists - updating!
2022-09-04T02:23:49.573970923Z Scheduled task 'common.tasks.delete_old_notifications' already exists - updating!
2022-09-04T02:23:49.594091816Z Scheduled task 'order.tasks.check_overdue_purchase_orders' already exists - updating!
2022-09-04T02:23:49.594146363Z Scheduled task 'build.tasks.check_overdue_build_orders' already exists - updating!
2022-09-04T02:23:49.594218859Z Scheduled task 'order.tasks.check_overdue_sales_orders' already exists - updating!
2022-09-04T02:23:49.614219175Z Scheduled task 'order.tasks.check_overdue_purchase_orders' already exists - updating!
2022-09-04T02:23:49.626325969Z Scheduled task 'order.tasks.check_overdue_sales_orders' already exists - updating!
2022-09-04T02:23:49.626382102Z Scheduled task 'build.tasks.check_overdue_build_orders' already exists - updating!
2022-09-04T02:23:49.629793707Z collecting notification methods
2022-09-04T02:23:49.629832135Z found 1 notification methods
2022-09-04T02:23:49.632637574Z User cpbpilot already exists - skipping creation
2022-09-04T02:23:49.654577904Z Scheduled task 'order.tasks.check_overdue_sales_orders' already exists - updating!
2022-09-04T02:23:49.689346026Z Scheduled task 'build.tasks.check_overdue_build_orders' already exists - updating!
2022-09-04T02:23:49.693594717Z collecting notification methods
2022-09-04T02:23:49.693729316Z found 1 notification methods
2022-09-04T02:23:49.696747822Z User cpbpilot already exists - skipping creation
2022-09-04T02:23:49.720018026Z Scheduled task 'build.tasks.check_overdue_build_orders' already exists - updating!
2022-09-04T02:23:49.748689241Z collecting notification methods
2022-09-04T02:23:49.748735569Z found 1 notification methods
2022-09-04T02:23:49.750121250Z User cpbpilot already exists - skipping creation
2022-09-04T02:23:49.761200567Z collecting notification methods
2022-09-04T02:23:49.761256055Z found 1 notification methods
2022-09-04T02:23:49.763046788Z User cpbpilot already exists - skipping creation
2022-09-04T02:24:17.269104412Z EMAIL_HOST is not configured
2022-09-04T02:24:17.269160472Z EMAIL_HOST_USER is not configured
2022-09-04T02:24:17.269170441Z EMAIL_HOST_PASSWORD is not configured
2022-09-04T02:24:17.309307096Z Saving setting 'InvenTreeSetting:INVENTREE_INSTANCE_TITLE' to cache
2022-09-04T02:24:17.333912650Z Saving setting 'InvenTreeSetting:INVENTREE_INSTANCE_TITLE' to cache
2022-09-04T02:24:17.352823812Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_REG' to cache
2022-09-04T02:24:17.480470319Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_REG' to cache
2022-09-04T02:24:17.488073956Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_PWD_FORGOT' to cache
2022-09-04T02:24:17.504905691Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_PWD_FORGOT' to cache
2022-09-04T02:24:17.513654193Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_SSO' to cache
2022-09-04T02:24:17.525111837Z Saving setting 'InvenTreeSetting:LOGIN_ENABLE_SSO' to cache
2022-09-04T02:24:26.352591354Z Saving setting 'InvenTreeSetting:INVENTREE_BASE_URL' to cache
2022-09-04T02:24:26.406985344Z Saving setting 'InvenTreeSetting:INVENTREE_BASE_URL' to cache
2022-09-04T02:24:26.408779421Z /root/.local/lib/python3.9/site-packages/django/db/models/fields/__init__.py:1358: RuntimeWarning: DateTimeField NotificationEntry.updated received a naive datetime (2022-09-02 00:00:00) while time zone support is active.
2022-09-04T02:24:26.408870968Z   warnings.warn("DateTimeField %s.%s received a naive datetime "
2022-09-04T02:24:26.410215271Z Gathering users for notification 'inventree.error_log'
2022-09-04T02:24:26.411345418Z Sending notification 'inventree.error_log' for 'Error object (1)'
2022-09-04T02:24:26.411424902Z Triggering notification method 'ui_message'
2022-09-04T02:24:26.411458085Z Notify users via 'ui_message' for notification 'inventree.error_log' for 'Error object (1)'
2022-09-04T02:24:26.430397493Z Notified 1 users via 'ui_message' for notification 'inventree.error_log' for 'Error object (1)' successfully
2022-09-04T02:24:26.530960457Z Saving setting 'InvenTreeSetting:BARCODE_ENABLE' to cache
2022-09-04T02:24:26.544596005Z Saving setting 'InvenTreeSetting:BARCODE_ENABLE' to cache
2022-09-04T02:24:26.547740717Z Saving setting 'InvenTreeSetting:REPORT_ENABLE_TEST_REPORT' to cache
2022-09-04T02:24:26.560652414Z Saving setting 'InvenTreeSetting:REPORT_ENABLE_TEST_REPORT' to cache
2022-09-04T02:24:26.563785504Z Saving setting 'InvenTreeSetting:REPORT_ENABLE' to cache
2022-09-04T02:24:26.574976829Z Saving setting 'InvenTreeSetting:REPORT_ENABLE' to cache
2022-09-04T02:24:26.578183805Z Saving setting 'InvenTreeSetting:SERVER_RESTART_REQUIRED' to cache
2022-09-04T02:24:26.591128905Z Saving setting 'InvenTreeSetting:SERVER_RESTART_REQUIRED' to cache
2022-09-04T02:24:26.594304960Z Saving setting 'InvenTreeSetting:LABEL_ENABLE' to cache
2022-09-04T02:24:26.605481276Z Saving setting 'InvenTreeSetting:LABEL_ENABLE' to cache
2022-09-04T02:24:26.608687731Z Saving setting 'InvenTreeSetting:INVENTREE_RESTRICT_ABOUT' to cache
2022-09-04T02:24:26.621904285Z Saving setting 'InvenTreeSetting:INVENTREE_RESTRICT_ABOUT' to cache
2022-09-04T02:24:26.649366443Z Saving setting 'InvenTreeUserSetting:STICKY_HEADER_user:None' to cache
2022-09-04T02:24:26.664170738Z Saving setting 'InvenTreeUserSetting:STICKY_HEADER_user:None' to cache
2022-09-04T02:24:26.668202314Z Saving setting 'InvenTreeSetting:ENABLE_PLUGINS_NAVIGATION' to cache
2022-09-04T02:24:26.672807346Z Saving setting 'InvenTreeSetting:SERVER_RESTART_REQUIRED' to cache
2022-09-04T02:24:26.686496967Z Saving setting 'InvenTreeSetting:ENABLE_PLUGINS_NAVIGATION' to cache
2022-09-04T02:24:26.740660943Z Internal Server Error: /accounts/login/
2022-09-04T02:24:26.740693144Z Traceback (most recent call last):
2022-09-04T02:24:26.740703281Z   File "/root/.local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
2022-09-04T02:24:26.740727917Z     response = get_response(request)
2022-09-04T02:24:26.740736647Z   File "/root/.local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
2022-09-04T02:24:26.740745417Z     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2022-09-04T02:24:26.740759760Z   File "/root/.local/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
2022-09-04T02:24:26.740769096Z     return self.dispatch(request, *args, **kwargs)
2022-09-04T02:24:26.740776893Z   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 43, in _wrapper
2022-09-04T02:24:26.740784896Z     return bound_method(*args, **kwargs)
2022-09-04T02:24:26.740798512Z   File "/root/.local/lib/python3.9/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper
2022-09-04T02:24:26.740807864Z     return view(request, *args, **kwargs)
2022-09-04T02:24:26.740815685Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/views.py", line 149, in dispatch
2022-09-04T02:24:26.740828644Z     return super(LoginView, self).dispatch(request, *args, **kwargs)
2022-09-04T02:24:26.740837057Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/views.py", line 77, in dispatch
2022-09-04T02:24:26.740845461Z     response = super(RedirectAuthenticatedUserMixin, self).dispatch(
2022-09-04T02:24:26.740853439Z   File "/root/.local/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch
2022-09-04T02:24:26.740866535Z     return handler(request, *args, **kwargs)
2022-09-04T02:24:26.740875175Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/views.py", line 104, in post
2022-09-04T02:24:26.740883059Z     if form.is_valid():
2022-09-04T02:24:26.740900695Z   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 175, in is_valid
2022-09-04T02:24:26.740909407Z     return self.is_bound and not self.errors
2022-09-04T02:24:26.740917296Z   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 170, in errors
2022-09-04T02:24:26.740925200Z     self.full_clean()
2022-09-04T02:24:26.740940856Z   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 373, in full_clean
2022-09-04T02:24:26.740949423Z     self._clean_form()
2022-09-04T02:24:26.740957289Z   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 400, in _clean_form
2022-09-04T02:24:26.740965111Z     cleaned_data = self.clean()
2022-09-04T02:24:26.740979589Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/forms.py", line 178, in clean
2022-09-04T02:24:26.740989057Z     user = get_adapter(self.request).authenticate(self.request, **credentials)
2022-09-04T02:24:26.740997059Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/adapter.py", line 585, in authenticate
2022-09-04T02:24:26.741010524Z     self.pre_authenticate(request, **credentials)
2022-09-04T02:24:26.741019051Z   File "/root/.local/lib/python3.9/site-packages/allauth/account/adapter.py", line 570, in pre_authenticate
2022-09-04T02:24:26.741026991Z     if not ratelimit.consume(
2022-09-04T02:24:26.741034625Z   File "/root/.local/lib/python3.9/site-packages/allauth/ratelimit.py", line 66, in consume
2022-09-04T02:24:26.741047820Z     allowed = len(history) < amount
2022-09-04T02:24:26.741056409Z TypeError: '<' not supported between instances of 'int' and 'str'
2022-09-04T02:24:26.873787270Z Unauthorized: /js/dynamic/calendar.js
2022-09-04T02:24:26.877413674Z Unauthorized: /js/dynamic/settings.js
2022-09-04T02:24:27.203884424Z Unauthorized: /js/dynamic/nav.js

Application Configuration

NA

Describe the bug

When tring to log into the site a error is given that a

"Internal Server Error The server raised an internal error Refer to the error log in the admin interface for further details" application does not log in.

apon chekcing the container logs, the VTRRT container shows a allowed = len(history) < amount TypeError: '<' not supported between instances of 'int' and 'str'.

this only shows up after trying to login. checking the log files before trying to log in does not have this line logged.

To Reproduce

install app, launch and try to login using the credentials that where entered in when installing the app.

Expected Behavior

app allows user to log in

Screenshots

Snap1

Additional Context

NA

I've read and agree with the following

stavros-k commented 2 years ago

I've been trying to find where this comes from. But I can't relate it to our code at all. It's a python error within the app. I'd suggest reaching out to Inventree developers for that.

CPBPILOT commented 2 years ago

@stavros-k I raised this issue over on the Inventree site and they are asking if the install is setting up rate limiting. Below is the link to the issue over at inventree. Maybe you could chime in if you have any supporting info? https://github.com/inventree/InvenTree/issues/3655

PrivatePuffin commented 2 years ago

It shouldn't throw exceptions either way.

CPBPILOT commented 2 years ago

@Ornias1993 I thought your project was to have working apps, I must have been mistaken.

PrivatePuffin commented 2 years ago

@Ornias1993 I thought your project was to have working apps, I must have been mistaken.

Skip that attitude, we already got two people on this.

What im saying is that we di mot have the manpower to also work on upstream issues. That means: issues that are not directly related to our code.

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists