You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving error Cannot read properties of null (reading 'avatar') after deleting [email protected] account. Uninstalling/reinstalling nginx is not removing previous settings. I'm using the Raspberry Pi Home Assistant image (not sure technical name of that install).
I believe this is after the auto-upgrade breaking change and deleting the [email protected] user. #507 .
The following error appears on nearly every configuration page, not just SSL Certificates.
Expected behavior
Uninstalling nginx and reinstalling would be a vanilla install again.
Actual behavior
Same settings, user accounts, and errors persist after each uninstall/install and even mixing in restarts.
[08:41:29] INFO: Starting NGinx...
s6-rc: info: service legacy-services successfully started
2024/02/02 08:41:29 [error] 208#208: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.86.7, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "hapi4.local:81", referrer: "http://hapi4.local:81/nginx/certificates"
[2/2/2024] [8:41:29 AM] [Global ] › ℹ info Using Sqlite: /config/database.sqlite
[2/2/2024] [8:41:32 AM] [Migrate ] › ℹ info Current database version: none
Steps to reproduce
The steps that lead to this error were essentially:
Received error that I suspect is related and could be solved by this github post. I'm guessing the certificate owner was the [email protected] account.
Uninstalled/reinstalled multiple times as well as restarted device and previous settings (user account, forwarding) persist.
This is in the log, if relevant:
[08:41:29] INFO: Starting NGinx...
s6-rc: info: service legacy-services successfully started
2024/02/02 08:41:29 [error] 208#208: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.86.7, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "hapi4.local:81", referrer: "http://hapi4.local:81/nginx/certificates"
[2/2/2024] [8:41:29 AM] [Global ] › ℹ info Using Sqlite: /config/database.sqlite
[2/2/2024] [8:41:32 AM] [Migrate ] › ℹ info Current database version: none
The text was updated successfully, but these errors were encountered:
I managed to fix the database, but I think the underlying issue may still exist. My resolution was the following:
From web SSH Terminal, I ran the following:
apk add sqlite
I opened my nginx database with sqlite3 /addon_configs/a0d7b954_nginxproxymanager/database.sqlite
Ran the following two commands:
update certificate set owner_user_id = 2;
update proxy_host set owner_user_id = 2;
.exit
Refreshed nginx and it was corrected.
Observation - I noticed when running SELECT * FROM 'auth' that there are 3 users and is_deleted = 0 for all of them. I only have 1 user account ([email protected]).
When running SELECT * FROM 'user' however, I see is_deleted=1 for the two other accounts that shouldn't be there. One is [email protected] and the other is [email protected], which was my attempt to recreate the default admin account.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Problem/Motivation
Receiving error
Cannot read properties of null (reading 'avatar')
after deleting[email protected]
account. Uninstalling/reinstalling nginx is not removing previous settings. I'm using the Raspberry Pi Home Assistant image (not sure technical name of that install).I believe this is after the auto-upgrade breaking change and deleting the
[email protected]
user. #507 .The following error appears on nearly every configuration page, not just SSL Certificates.
Expected behavior
Uninstalling nginx and reinstalling would be a vanilla install again.
Actual behavior
Same settings, user accounts, and errors persist after each uninstall/install and even mixing in restarts.
Steps to reproduce
The steps that lead to this error were essentially:
[email protected]
/changeme
and it allowed me to login. This was likely due to ℹ Updated to v1: Proxy no longer works, cannot login, doesn't work, lost all settings #507[email protected]
account.[email protected]
as admin.[email protected]
.[email protected]
and in as[email protected]
.[email protected]
account.This is in the log, if relevant:
The text was updated successfully, but these errors were encountered: