kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.89k stars 486 forks source link

Blank Widgets #1362

Closed Frosty-Burrito closed 5 months ago

Frosty-Burrito commented 5 months ago

STOP right now, and please first look to see if the issue you're about to submit is already an open or recently closed issue at https://github.com/kizniche/Mycodo/issues

Please DO NOT OPEN AN ISSUE:

If you are going to post a new issue, next read How to Write a Good Bug Report at https://forum.radicaldiy.com/t/how-to-write-a-good-bug-report/71

Please complete as many of the sections below, if applicable, to provide the most information that may help with investigating your issue. Replace the text in brackets with your own text describing the issue. The details requested potentially affect which options to pursue. The small amount of time you spend completing the template will also help those providing assistance by reducing the time required to help you.

Describe the problem/bug

The dashboard does not display any widgets properly. This occurred after updating to the latest version of mycodo. Creating new dashboards and adding new widgets does not make a difference. The widget size can be changed, they can be dragged around, the setting button does work, however using any of that functionality does not make the widgets display any information.

Versions:

Reproducibility

Please list specific setup details that are involved and the steps to reproduce the behavior:

  1. Open Dashboard
  2. See Error

Expected behavior

Dashboard widgets should display properly

Screenshots

My normal dashboard, blank: image

New test dashboard, also blank: image

Additional context

I have tried viewing the dashboard in firefox and chrome, I get the same results in both.

kizniche commented 5 months ago

Have you tried creating a new dashboard?

Frosty-Burrito commented 5 months ago

Yes, doesn't change anything

kizniche commented 5 months ago

What does inspecting the page (console) yield?

kizniche commented 5 months ago

Have you inspected the upgrade log for errors?

Frosty-Burrito commented 5 months ago

image That's what I see

Frosty-Burrito commented 5 months ago

last 200 lines of upgrade log:

[2024-01-16 12:26:03] python3-setuptools is already the newest version (66.1.1-1). [2024-01-16 12:26:03] python3-venv is already the newest version (3.11.2-1+b1). [2024-01-16 12:26:03] rng-tools-debian is already the newest version (2.3). [2024-01-16 12:26:03] sqlite3 is already the newest version (3.40.1-2). [2024-01-16 12:26:03] unzip is already the newest version (6.0-28). [2024-01-16 12:26:03] wget is already the newest version (1.21.3-1+b1). [2024-01-16 12:26:03] The following packages were automatically installed and are no longer required: [2024-01-16 12:26:03] gtk2-engines-clearlookspix libpisp0.0.1 linux-headers-6.1.0-rpi4-common-rpi [2024-01-16 12:26:03] linux-headers-6.1.0-rpi4-rpi-2712 linux-headers-6.1.0-rpi4-rpi-v8 [2024-01-16 12:26:03] linux-image-6.1.0-rpi4-rpi-2712 linux-image-6.1.0-rpi4-rpi-v8 tightvncpasswd [2024-01-16 12:26:03] Use 'apt autoremove' to remove them. [2024-01-16 12:26:03] 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded. [2024-01-16 12:26:03] [2024-01-16 12:26:03] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [2024-01-16 12:26:03] [2024-01-16 12:26:03] [2024-01-16 12:26:03] #### Installing and configuring nginx web server [2024-01-16 12:26:03] [2024-01-16 12:26:03] #### Disabling service for nginx web server [2024-01-16 12:26:03] Removed "/etc/systemd/system/mycodoflask.service". [2024-01-16 12:26:03] Removed "/etc/systemd/system/multi-user.target.wants/mycodoflask.service". [2024-01-16 12:26:05] [2024-01-16 12:26:05] #### Enabling service for nginx web server [2024-01-16 12:26:05] Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install. [2024-01-16 12:26:05] Executing: /lib/systemd/systemd-sysv-install enable nginx [2024-01-16 12:26:11] Created symlink /etc/systemd/system/mycodoflask.service → /home/frosty-burrito/Mycodo/install/mycodoflask.service. [2024-01-16 12:26:11] Created symlink /etc/systemd/system/multi-user.target.wants/mycodoflask.service → /home/frosty-burrito/Mycodo/install/mycodoflask.service. [2024-01-16 12:26:13] [2024-01-16 12:26:13] #### Installing logrotate scripts [2024-01-16 12:26:13] Mycodo logrotate script installed [2024-01-16 12:26:13] [2024-01-16 12:26:13] #### Checking Python 3 virtual environment [2024-01-16 12:26:13] [2024-01-16 12:26:13] #### Updating pip [2024-01-16 12:26:13] [2024-01-16 12:26:13] #### Checking Python 3 virtual environment [2024-01-16 12:26:14] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple [2024-01-16 12:26:14] Requirement already satisfied: pip in ./env/lib/python3.11/site-packages (23.3.1) [2024-01-16 12:26:16] Collecting pip [2024-01-16 12:26:16] Downloading https://www.piwheels.org/simple/pip/pip-23.3.2-py3-none-any.whl (2.1 MB) [2024-01-16 12:26:16] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 3.1 MB/s eta 0:00:00 [2024-01-16 12:26:18] Installing collected packages: pip [2024-01-16 12:26:18] Attempting uninstall: pip [2024-01-16 12:26:18] Found existing installation: pip 23.3.1 [2024-01-16 12:26:19] Uninstalling pip-23.3.1: [2024-01-16 12:26:19] Successfully uninstalled pip-23.3.1 [2024-01-16 12:26:22] Successfully installed pip-23.3.2 [2024-01-16 12:26:24] [2024-01-16 12:26:24] #### Installing pip requirements [2024-01-16 12:26:24] [2024-01-16 12:26:24] #### Checking Python 3 virtual environment [2024-01-16 12:26:25] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple [2024-01-16 12:26:25] Requirement already satisfied: alembic==1.11.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 2)) (1.11.2) [2024-01-16 12:26:26] Collecting argparse==1.4.0 (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 3)) [2024-01-16 12:26:26] Using cached https://www.piwheels.org/simple/argparse/argparse-1.4.0-py2.py3-none-any.whl (23 kB) [2024-01-16 12:26:26] Requirement already satisfied: bcrypt==3.2.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 4)) (3.2.2) [2024-01-16 12:26:26] Requirement already satisfied: distro==1.8.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 5)) (1.8.0) [2024-01-16 12:26:27] Requirement already satisfied: email_validator==1.3.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 6)) (1.3.1) [2024-01-16 12:26:27] Requirement already satisfied: filelock==3.12.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 7)) (3.12.2) [2024-01-16 12:26:27] Requirement already satisfied: Flask==2.3.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 8)) (2.3.2) [2024-01-16 12:26:27] Requirement already satisfied: Flask_Accept==0.0.6 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 9)) (0.0.6) [2024-01-16 12:26:27] Requirement already satisfied: Flask_Babel==3.1.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 10)) (3.1.0) [2024-01-16 12:26:28] Requirement already satisfied: Flask_Compress==1.13 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 11)) (1.13) [2024-01-16 12:26:28] Requirement already satisfied: Flask_Limiter==3.3.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (3.3.1) [2024-01-16 12:26:28] Requirement already satisfied: Flask_Login==0.6.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 13)) (0.6.2) [2024-01-16 12:26:29] Requirement already satisfied: Flask_Marshmallow==0.15.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 14)) (0.15.0) [2024-01-16 12:26:29] Requirement already satisfied: Flask_RESTX==1.1.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 16)) (1.1.0) [2024-01-16 12:26:29] Requirement already satisfied: Flask_Session==0.5.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 17)) (0.5.0) [2024-01-16 12:26:29] Requirement already satisfied: Flask_SQLAlchemy==3.0.5 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 18)) (3.0.5) [2024-01-16 12:26:29] Requirement already satisfied: Flask_Talisman==1.1.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 19)) (1.1.0) [2024-01-16 12:26:30] Requirement already satisfied: Flask_WTF==1.1.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 20)) (1.1.1) [2024-01-16 12:26:30] Requirement already satisfied: geocoder==1.38.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 21)) (1.38.1) [2024-01-16 12:26:30] Requirement already satisfied: gunicorn==21.2.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 22)) (21.2.0) [2024-01-16 12:26:30] Requirement already satisfied: importlib_metadata==6.8.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 23)) (6.8.0) [2024-01-16 12:26:31] Requirement already satisfied: influxdb==5.3.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 24)) (5.3.1) [2024-01-16 12:26:31] Requirement already satisfied: influxdb_client==1.37.0 in ./env/lib/python3.11/site-packages (from influxdb_client[ciso]==1.37.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 25)) (1.37.0) [2024-01-16 12:26:31] Requirement already satisfied: jsonschema==4.17.3 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 26)) (4.17.3) [2024-01-16 12:26:31] Requirement already satisfied: marshmallow_sqlalchemy==0.29.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 27)) (0.29.0) [2024-01-16 12:26:32] Requirement already satisfied: pyro5==5.14 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 28)) (5.14) [2024-01-16 12:26:32] Requirement already satisfied: pyserial==3.5 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 29)) (3.5) [2024-01-16 12:26:32] Requirement already satisfied: python-dateutil==2.8.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 30)) (2.8.2) [2024-01-16 12:26:32] Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 31)) (2.31.0) [2024-01-16 12:26:33] Requirement already satisfied: setuptools==68.0.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 32)) (68.0.0) [2024-01-16 12:26:34] Requirement already satisfied: SQLAlchemy==2.0.19 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 33)) (2.0.19) [2024-01-16 12:26:35] Requirement already satisfied: Werkzeug==2.3.6 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 34)) (2.3.6) [2024-01-16 12:26:36] Requirement already satisfied: WTForms==3.0.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements.txt (line 35)) (3.0.1) [2024-01-16 12:26:36] Requirement already satisfied: Mako in ./env/lib/python3.11/site-packages (from alembic==1.11.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 2)) (1.3.0) [2024-01-16 12:26:36] Requirement already satisfied: typing-extensions>=4 in ./env/lib/python3.11/site-packages (from alembic==1.11.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 2)) (4.8.0) [2024-01-16 12:26:36] Requirement already satisfied: cffi>=1.1 in ./env/lib/python3.11/site-packages (from bcrypt==3.2.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 4)) (1.16.0) [2024-01-16 12:26:36] Requirement already satisfied: dnspython>=1.15.0 in ./env/lib/python3.11/site-packages (from email_validator==1.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 6)) (2.4.2) [2024-01-16 12:26:36] Requirement already satisfied: idna>=2.0.0 in ./env/lib/python3.11/site-packages (from email_validator==1.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 6)) (3.6) [2024-01-16 12:26:36] Requirement already satisfied: Jinja2>=3.1.2 in ./env/lib/python3.11/site-packages (from Flask==2.3.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 8)) (3.1.2) [2024-01-16 12:26:36] Requirement already satisfied: itsdangerous>=2.1.2 in ./env/lib/python3.11/site-packages (from Flask==2.3.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 8)) (2.1.2) [2024-01-16 12:26:36] Requirement already satisfied: click>=8.1.3 in ./env/lib/python3.11/site-packages (from Flask==2.3.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 8)) (8.1.7) [2024-01-16 12:26:36] Requirement already satisfied: blinker>=1.6.2 in ./env/lib/python3.11/site-packages (from Flask==2.3.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 8)) (1.7.0) [2024-01-16 12:26:36] Requirement already satisfied: Babel>=2.12 in ./env/lib/python3.11/site-packages (from Flask_Babel==3.1.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 10)) (2.13.1) [2024-01-16 12:26:36] Requirement already satisfied: pytz>=2022.7 in ./env/lib/python3.11/site-packages (from Flask_Babel==3.1.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 10)) (2023.3.post1) [2024-01-16 12:26:36] Requirement already satisfied: brotli in ./env/lib/python3.11/site-packages (from Flask_Compress==1.13->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 11)) (1.1.0) [2024-01-16 12:26:36] Requirement already satisfied: limits>=2.8 in ./env/lib/python3.11/site-packages (from Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (3.7.0) [2024-01-16 12:26:36] Requirement already satisfied: ordered-set<5,>4 in ./env/lib/python3.11/site-packages (from Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (4.1.0) [2024-01-16 12:26:36] Requirement already satisfied: rich<14,>=12 in ./env/lib/python3.11/site-packages (from Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (13.7.0) [2024-01-16 12:26:36] Requirement already satisfied: marshmallow>=3.0.0 in ./env/lib/python3.11/site-packages (from Flask_Marshmallow==0.15.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 14)) (3.20.1) [2024-01-16 12:26:36] Requirement already satisfied: packaging>=17.0 in ./env/lib/python3.11/site-packages (from Flask_Marshmallow==0.15.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 14)) (23.2) [2024-01-16 12:26:37] Requirement already satisfied: aniso8601>=0.82 in ./env/lib/python3.11/site-packages (from Flask_RESTX==1.1.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 16)) (9.0.1) [2024-01-16 12:26:37] Requirement already satisfied: cachelib in ./env/lib/python3.11/site-packages (from Flask_Session==0.5.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 17)) (0.10.2) [2024-01-16 12:26:37] Requirement already satisfied: future in ./env/lib/python3.11/site-packages (from geocoder==1.38.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 21)) (0.18.3) [2024-01-16 12:26:37] Requirement already satisfied: ratelim in ./env/lib/python3.11/site-packages (from geocoder==1.38.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 21)) (0.1.6) [2024-01-16 12:26:37] Requirement already satisfied: six in ./env/lib/python3.11/site-packages (from geocoder==1.38.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 21)) (1.16.0) [2024-01-16 12:26:37] Requirement already satisfied: zipp>=0.5 in ./env/lib/python3.11/site-packages (from importlib_metadata==6.8.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 23)) (3.17.0) [2024-01-16 12:26:37] Requirement already satisfied: msgpack in ./env/lib/python3.11/site-packages (from influxdb==5.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 24)) (1.0.7) [2024-01-16 12:26:37] Requirement already satisfied: reactivex>=4.0.4 in ./env/lib/python3.11/site-packages (from influxdb_client==1.37.0->influxdb_client[ciso]==1.37.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 25)) (4.0.4) [2024-01-16 12:26:37] Requirement already satisfied: certifi>=14.05.14 in ./env/lib/python3.11/site-packages (from influxdb_client==1.37.0->influxdb_client[ciso]==1.37.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 25)) (2023.11.17) [2024-01-16 12:26:37] Requirement already satisfied: urllib3>=1.26.0 in ./env/lib/python3.11/site-packages (from influxdb_client==1.37.0->influxdb_client[ciso]==1.37.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 25)) (2.1.0) [2024-01-16 12:26:37] Requirement already satisfied: attrs>=17.4.0 in ./env/lib/python3.11/site-packages (from jsonschema==4.17.3->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 26)) (23.1.0) [2024-01-16 12:26:37] Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./env/lib/python3.11/site-packages (from jsonschema==4.17.3->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 26)) (0.20.0) [2024-01-16 12:26:38] Requirement already satisfied: serpent>=1.41 in ./env/lib/python3.11/site-packages (from pyro5==5.14->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 28)) (1.41) [2024-01-16 12:26:38] Requirement already satisfied: charset-normalizer<4,>=2 in ./env/lib/python3.11/site-packages (from requests==2.31.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 31)) (3.3.2) [2024-01-16 12:26:38] Requirement already satisfied: greenlet!=0.4.17 in ./env/lib/python3.11/site-packages (from SQLAlchemy==2.0.19->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 33)) (3.0.1) [2024-01-16 12:26:38] Requirement already satisfied: MarkupSafe>=2.1.1 in ./env/lib/python3.11/site-packages (from Werkzeug==2.3.6->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 34)) (2.1.3) [2024-01-16 12:26:38] Requirement already satisfied: ciso8601>=2.1.1 in ./env/lib/python3.11/site-packages (from influxdb_client[ciso]==1.37.0->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 25)) (2.3.1) [2024-01-16 12:26:38] Requirement already satisfied: pycparser in ./env/lib/python3.11/site-packages (from cffi>=1.1->bcrypt==3.2.2->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 4)) (2.21) [2024-01-16 12:26:38] Requirement already satisfied: deprecated>=1.2 in ./env/lib/python3.11/site-packages (from limits>=2.8->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (1.2.14) [2024-01-16 12:26:38] Requirement already satisfied: importlib-resources>=1.3 in ./env/lib/python3.11/site-packages (from limits>=2.8->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (6.1.1) [2024-01-16 12:26:39] Requirement already satisfied: markdown-it-py>=2.2.0 in ./env/lib/python3.11/site-packages (from rich<14,>=12->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (3.0.0) [2024-01-16 12:26:39] Requirement already satisfied: pygments<3.0.0,>=2.13.0 in ./env/lib/python3.11/site-packages (from rich<14,>=12->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (2.17.2) [2024-01-16 12:26:39] Requirement already satisfied: decorator in ./env/lib/python3.11/site-packages (from ratelim->geocoder==1.38.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 21)) (5.1.1) [2024-01-16 12:26:39] Requirement already satisfied: wrapt<2,>=1.10 in ./env/lib/python3.11/site-packages (from deprecated>=1.2->limits>=2.8->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (1.16.0) [2024-01-16 12:26:39] Requirement already satisfied: mdurl~=0.1 in ./env/lib/python3.11/site-packages (from markdown-it-py>=2.2.0->rich<14,>=12->Flask_Limiter==3.3.1->-r /home/frosty-burrito/Mycodo/install/requirements.txt (line 12)) (0.1.2) [2024-01-16 12:26:41] Installing collected packages: argparse [2024-01-16 12:26:41] Successfully installed argparse-1.4.0 [2024-01-16 12:26:43] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple [2024-01-16 12:26:43] Requirement already satisfied: testfixtures==7.0.2 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 2)) (7.0.2) [2024-01-16 12:26:49] Requirement already satisfied: mock==4.0.3 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 3)) (4.0.3) [2024-01-16 12:26:50] Requirement already satisfied: pytest==7.2.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 4)) (7.2.0) [2024-01-16 12:26:50] Requirement already satisfied: factory_boy==3.2.1 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 5)) (3.2.1) [2024-01-16 12:26:50] Requirement already satisfied: webtest==3.0.0 in ./env/lib/python3.11/site-packages (from -r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 6)) (3.0.0) [2024-01-16 12:26:51] Requirement already satisfied: attrs>=19.2.0 in ./env/lib/python3.11/site-packages (from pytest==7.2.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 4)) (23.1.0) [2024-01-16 12:26:51] Requirement already satisfied: iniconfig in ./env/lib/python3.11/site-packages (from pytest==7.2.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 4)) (2.0.0) [2024-01-16 12:26:51] Requirement already satisfied: packaging in ./env/lib/python3.11/site-packages (from pytest==7.2.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 4)) (23.2) [2024-01-16 12:26:51] Requirement already satisfied: pluggy<2.0,>=0.12 in ./env/lib/python3.11/site-packages (from pytest==7.2.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 4)) (1.3.0) [2024-01-16 12:26:51] Requirement already satisfied: Faker>=0.7.0 in ./env/lib/python3.11/site-packages (from factory_boy==3.2.1->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 5)) (20.1.0) [2024-01-16 12:26:51] Requirement already satisfied: WebOb>=1.2 in ./env/lib/python3.11/site-packages (from webtest==3.0.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 6)) (1.8.7) [2024-01-16 12:26:51] Requirement already satisfied: waitress>=0.8.5 in ./env/lib/python3.11/site-packages (from webtest==3.0.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 6)) (2.1.2) [2024-01-16 12:26:51] Requirement already satisfied: beautifulsoup4 in ./env/lib/python3.11/site-packages (from webtest==3.0.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 6)) (4.12.2) [2024-01-16 12:26:51] Requirement already satisfied: python-dateutil>=2.4 in ./env/lib/python3.11/site-packages (from Faker>=0.7.0->factory_boy==3.2.1->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 5)) (2.8.2) [2024-01-16 12:26:51] Requirement already satisfied: soupsieve>1.2 in ./env/lib/python3.11/site-packages (from beautifulsoup4->webtest==3.0.0->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 6)) (2.5) [2024-01-16 12:26:51] Requirement already satisfied: six>=1.5 in ./env/lib/python3.11/site-packages (from python-dateutil>=2.4->Faker>=0.7.0->factory_boy==3.2.1->-r /home/frosty-burrito/Mycodo/install/requirements-testing.txt (line 5)) (1.16.0) [2024-01-16 12:26:53] [2024-01-16 12:26:53] #### Upgrading Mycodo database with alembic (if needed) [2024-01-16 12:26:54] INFO [alembic.runtime.migration] Context impl SQLiteImpl. [2024-01-16 12:26:54] INFO [alembic.runtime.migration] Will assume non-transactional DDL. [2024-01-16 12:26:55] [2024-01-16 12:26:55] #### Executing post-alembic script [2024-01-16 12:26:57] Found revision IDs to execute code: [] [2024-01-16 12:26:57] Completed without errors. Deleting /home/frosty-burrito/Mycodo/alembic_db/alembic_post_upgrade_versions [2024-01-16 12:26:59] [2024-01-16 12:26:59] #### Ensuring compatible version of influxdb 2.x is installed #### [2024-01-16 12:26:59] #### Detected arm64 architecture [2024-01-16 12:26:59] #### Influxdb server file location: https://dl.influxdata.com/influxdb/releases/influxdb2_2.7.3-1_arm64.deb [2024-01-16 12:26:59] #### Influxdb client file location: https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-arm64.deb [2024-01-16 12:27:00] #### Incorrect InfluxDB version (v2.6.1-1) installed. Should be v2.7.3-1 [2024-01-16 12:27:00] #### Stopping influxdb 1.x (if installed)... [2024-01-16 12:27:02] #### Uninstalling influxdb 1.x (if installed)... [2024-01-16 12:27:02] [2024-01-16 12:27:02] WARNING: apt does not have a stable CLI interface. Use with caution in scripts. [2024-01-16 12:27:02] [2024-01-16 12:27:02] Reading package lists... [2024-01-16 12:27:03] Building dependency tree... [2024-01-16 12:27:03] Reading state information... [2024-01-16 12:27:04] Package 'influxdb' is not installed, so not removed [2024-01-16 12:27:04] The following packages were automatically installed and are no longer required: [2024-01-16 12:27:04] gtk2-engines-clearlookspix libpisp0.0.1 linux-headers-6.1.0-rpi4-common-rpi [2024-01-16 12:27:04] linux-headers-6.1.0-rpi4-rpi-2712 linux-headers-6.1.0-rpi4-rpi-v8 [2024-01-16 12:27:04] linux-image-6.1.0-rpi4-rpi-2712 linux-image-6.1.0-rpi4-rpi-v8 tightvncpasswd [2024-01-16 12:27:04] Use 'apt autoremove' to remove them. [2024-01-16 12:27:04] 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded. [2024-01-16 12:27:04] #### Installing InfluxDB v2.7.3-1... [2024-01-16 12:27:06] (Reading database ... 168516 files and directories currently installed.) [2024-01-16 12:27:06] Preparing to unpack influxdb2_2.7.3-1_arm64.deb ... [2024-01-16 12:27:07] Unpacking influxdb2 (2.7.3-1) over (2.6.1-1) ... [2024-01-16 12:27:13] Setting up influxdb2 (2.7.3-1) ... [2024-01-16 12:27:14] Config file /etc/influxdb/config.toml already exists, writing defaults to /etc/influxdb/config.toml.defaults [2024-01-16 12:27:16] (Reading database ... 168518 files and directories currently installed.) [2024-01-16 12:27:16] Preparing to unpack influxdb2-client-2.7.3-arm64.deb ... [2024-01-16 12:27:16] Unpacking influxdb2-cli (2.7.3-1) over (2.6.1) ... [2024-01-16 12:27:17] Setting up influxdb2-cli (2.7.3-1) ... [2024-01-16 12:27:19] [2024-01-16 12:27:19] #### Checking for updates to dependencies [2024-01-16 12:27:21] 2024-01-16 12:27:21,742 Checking dependencies for installed devices: ['ATLAS_PH', 'ATLAS_EC', 'BMP180', 'GPIO_STATE', 'HCSR04_CIRCUITPYTHON', 'output_kasa_plugs', 'DC_MOTOR_L298N', 'libcamera', 'trigger_timer_daily_time_span', 'trigger_timer_daily_time_point', 'output_on_off', 'REGULATE_PH_EC', 'EQUATION_SINGLE', 'widget_gauge_angular', 'widget_graph_synchronous', 'widget_measurement', 'widget_output', 'widget_indicator', 'widget_camera'] [2024-01-16 12:27:22] 2024-01-16 12:27:22,671 Pypi Package: pylibftdi, Required: v0.20.0, Installed: v0.20.0, Same: True [2024-01-16 12:27:22] 2024-01-16 12:27:22,841 Pypi Package: pylibftdi, Required: v0.20.0, Installed: v0.20.0, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,013 Pypi Package: Adafruit-BMP, Required: v1.5.4, Installed: v1.5.4, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,015 Pypi Package: Adafruit-GPIO, Required: v1.0.3, Installed: v1.0.3, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,179 Pypi Package: RPi.GPIO, Required: v0.7.1, Installed: v0.7.1, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,420 Pypi Package: pyusb, Required: v1.1.1, Installed: v1.1.1, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,422 Pypi Package: adafruit-circuitpython-hcsr04, Required: v0.4.6, Installed: v0.4.6, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,591 Pypi Package: python-kasa, Required: v0.5.0, Installed: v0.5.0, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,593 Pypi Package: aio_msgpack_rpc, Required: v0.2.0, Installed: v0.2.0, Same: True [2024-01-16 12:27:23] 2024-01-16 12:27:23,761 Pypi Package: RPi.GPIO, Required: v0.7.1, Installed: v0.7.1, Same: True

kizniche commented 5 months ago

You need to inspect the entire upgrade log for errors. The last 200 lines is not sufficient to determine if there was an issue.

Frosty-Burrito commented 5 months ago

You need to inspect the entire upgrade log for errors. The last 200 lines is not sufficient to determine if there was an issue.

I'll grab and upload it, hold on

kizniche commented 5 months ago

If that's the last lines, your upgrade didn't complete. Run "sudo ~/Mycodo/mycodo/scripts/upgrade_post.sh"

Frosty-Burrito commented 5 months ago

And just like that all problems are solved, thank you.