hassio-addons / addon-unifi

UniFi Network Application - Home Assistant Community Add-ons
https://addons.community
MIT License
278 stars 138 forks source link

unable to use "Restore Server from a Backup" from clean install #486

Closed chenks closed 8 months ago

chenks commented 9 months ago

on a clean/fresh install of the unifi network application add-on i wish to restore from a backup, however when clicking on "Restore Server from a Backup" on the initial setup splash screen it loads a blank white page with no options to do anything.

it seems to try to load https://:8443/setup/restore/backups, but the page is completely white.

add-on version : 3.0.3 Core : 2024.1.6 Operation System 11.4 Frontend 20240104.0

tested on both Chrome and Edge.

renewoensdregt commented 9 months ago

Workaround is to install from scratch and then upload in settings. Not sure why this is happening


From: chenks @.> Sent: Monday, February 5, 2024 11:35 AM To: hassio-addons/addon-unifi @.> Cc: Subscribed @.***> Subject: [hassio-addons/addon-unifi] unable to use "Restore Server from a Backup" from clean install (Issue #486)

on a clean/fresh install of the unifi network application add-on i wish to restore from a backup, however when clicking on "Restore Server from a Backup" on the initial setup splash screen it loads a blank white page with no options to do anything.

it seems to try to load https://:8443/setup/restore/backups, but the page is completely white.

add-on version : 3.0.3 Core : 2024.1.6 Operation System 11.4 Frontend 20240104.0

tested on both Chrome and Edge.

— Reply to this email directly, view it on GitHubhttps://github.com/hassio-addons/addon-unifi/issues/486, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM63QKXEHXAK5PISBFFJ2QDYSCYWXAVCNFSM6AAAAABCZ4K5GCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTQMJZGYZDOMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

chenks commented 9 months ago

so set up a dummy environment then overwrite that with a backup restore?

gordonthree commented 9 months ago

Running version 3.0.3, seeing this same issue, blank white screen after clicking restore backup. I jumped into Chrome dev console and spotted some javascript errors. I've attached the full log as well.

controller-name:1 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
BackupList.js:34 TypeError: n is not a function
    at TableHeader.js:1:3501
    at Array.map (<anonymous>)
    at bt (TableHeader.js:1:2974)
    at ei (react-dom.production.min.js:153:146)
    at Ol (react-dom.production.min.js:261:496)
    at Ns (react-dom.production.min.js:246:265)
    at Ms (react-dom.production.min.js:246:194)
    at gs (react-dom.production.min.js:239:172)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:19:467)
    at Ko (react-dom.production.min.js:122:325)
    at $o (react-dom.production.min.js:123:61)
    at Qo (react-dom.production.min.js:122:496)
    at ds (react-dom.production.min.js:230:156)
    at Object.enqueueSetState (react-dom.production.min.js:132:237)
    at x.setState (react.production.min.js:12:369)
    at BackupList.js:34:14

homeassistant.local-1707484074247.log

cfergeau commented 9 months ago

For what it's worth, I do not see this issue on a mac with firefox/safari and version 3.0.3 of the addon.

github-actions[bot] commented 8 months ago

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!