GithubHelp home page GithubHelp logo

Comments (25)

bkchaw avatar bkchaw commented on June 29, 2024 1

@gurkburk76 you can’t update via the gui , it will break stuffs. You got to rebuild the image

from unifi-protect-arm64.

jorisleem avatar jorisleem commented on June 29, 2024 1

@jorisleem I figured it out, at least for the newer Protect version(UNVR 3.1.9), the problem was that the Postgres "main" database was not saved properly across container restarts. That and also for the newer version "main" db is also upgraded to PostgreSQL 14 and some auth mechanisms were enforced to use passwords instead of nothing for localhost (which seems to be the Unifi default) I have a working version, if you want to try it out, use this image instead: ghcr.io/kiwimato/unifi-protect-arm64:dev

Just please be mindful that it will update your cameras if you adopt them to the latest version automatically, just in case you don't want that since downgrading can be cumbersome.

There's still some testing to be done, and I want to fix the fact that the "main" Postgres DB config is not properly linked in /srv, it's still in /etc/postgresql/main, but at least this works for now until we fix that part.

The changes I made can be found here which of course excludes the Unifi debs due to copyright and stuff.

I used your changes to build a new image. It looks like that it works. Need to monitor it for the next few days.

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024 1

Guys I will give up trying to figure out why the "Storage" page doesn't work for now. It seems to be a Unifi bug and more annoyingly it's simply not showing any errors anywhere, it just hangs. I found other people complaining about the same issue here, which makes me hope Unifi will solve it eventually: https://community.ui.com/questions/Storage-not-loading/1ddb1c1f-f9e7-47d4-a97f-8efe1a46926a

Just to avoid spamming Mark, feel free to open new issues you find with this image here in my fork: https://github.com/kiwimato/unifi-protect-arm64/issues

I'll give this a few weeks of testing and then I'll create a PR towards this repo.

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024 1

@travis-south it could be an alternative solution, maybe a cleaner one, but I didn't test that. What I did is made some scripts which move it to another path, you can see this MR on my fork:
kiwimato#3

There's also a already built image used there which you could use, I've been running it for the past month and it's been running fine and stable.

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

Either that, or it simply crashes rapidly by itself, and not sure if this is a Unifi bug, or something else:

Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.604Z - [app] : Attached system.ustorage middleware 0.007s
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.605Z - [app] : Attached system middleware 1.018s
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.610Z - [app] : http middleware taking a long time to attach. 1.061s
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.684Z - [app] : Attached http middleware 1.135s
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.686Z - [http] : HTTP Server is now listening on port 80
Jun 14 01:51:29 pi sudo[2075]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/mdadm --detail /dev/md3
Jun 14 01:51:29 pi sudo[2075]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:29 pi sudo[2075]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.816Z - [messageBox] : Subscribe token: UUM
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.817Z - [messageBox] : Subscribe token: WAN_TRANSITION
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.843Z - [messageBox] : Subscribe token: DEVICE_LIST
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.846Z - [messageBox] : Subscribe token: CLIENT_LIST
Jun 14 01:51:29 pi node[1757]: 2023-06-13T23:51:29.883Z - [app] : App Startup Complete. VERSION : 3.0.54
Jun 14 01:51:29 pi sudo[2098]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:29 pi sudo[2098]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:29 pi sudo[2098]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi sudo[2106]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:30 pi sudo[2106]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2106]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.073Z - [firmware] : Startup: Retrieved auto-update schedule
Jun 14 01:51:30 pi node[1757]: {
Jun 14 01:51:30 pi node[1757]:   frequency: 'weekly',
Jun 14 01:51:30 pi node[1757]:   includeFirmware: true,
Jun 14 01:51:30 pi node[1757]:   includeControllers: true,
Jun 14 01:51:30 pi node[1757]:   day: 0,
Jun 14 01:51:30 pi node[1757]:   hour: 0
Jun 14 01:51:30 pi node[1757]: }
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.118Z - [system] : Setting hostname - pi
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.147Z - [system.ustorage] : ustorage config
Jun 14 01:51:30 pi node[1757]: { hotspare: false, raid: 'single' }
Jun 14 01:51:30 pi sudo[2122]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool hostname pi
Jun 14 01:51:30 pi sudo[2122]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.177Z - [sdnotify] : sd-notify ready()
Jun 14 01:51:30 pi systemd[1]: Started UniFi Core.
░░ Subject: A start job for unit unifi-core.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit unifi-core.service has finished successfully.
░░ 
░░ The job identifier is 111.
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.182Z - [sdnotify] : Starting Watchdog mode (interval = 120000ms)
Jun 14 01:51:30 pi sudo[2122]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.211Z - [discovery.responder] : Discovery responder listening on 0.0.0.0:10001
Jun 14 01:51:30 pi sudo[2129]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool cpuload
Jun 14 01:51:30 pi sudo[2129]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2131]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool cputemp
Jun 14 01:51:30 pi sudo[2131]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2131]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi sudo[2140]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool sshd
Jun 14 01:51:30 pi sudo[2140]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2146]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool cpuload
Jun 14 01:51:30 pi sudo[2146]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2140]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi sudo[2152]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool cputemp
Jun 14 01:51:30 pi sudo[2152]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.437Z - [firmware] : Running update schedule:
Jun 14 01:51:30 pi node[1757]: {
Jun 14 01:51:30 pi node[1757]:   frequency: 'weekly',
Jun 14 01:51:30 pi node[1757]:   includeFirmware: true,
Jun 14 01:51:30 pi node[1757]:   includeControllers: true,
Jun 14 01:51:30 pi node[1757]:   day: 0,
Jun 14 01:51:30 pi node[1757]:   hour: 0
Jun 14 01:51:30 pi node[1757]: }
Jun 14 01:51:30 pi sudo[2160]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool sshd
Jun 14 01:51:30 pi sudo[2160]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:30 pi sudo[2152]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi sudo[2160]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:30 pi node[1757]: 2023-06-13T23:51:30.588Z - [grpc] : Local gRPC server started on port 11051
Jun 14 01:51:31 pi sudo[2173]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi
Jun 14 01:51:31 pi sudo[2173]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi sudo[2173]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi sudo[2129]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi sudo[2146]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.544Z - [app] : Detached database middleware 0.002s
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.558Z - [uum] : UUM does not appear to be running: network timeout at: http://127.0.0.1:9080/api/ucore/manifest
Jun 14 01:51:31 pi sudo[2190]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:31 pi sudo[2190]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi sudo[2194]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:31 pi sudo[2194]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi sudo[2190]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi sudo[2194]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.755Z - [systemd] : network is not installed
Jun 14 01:51:31 pi sudo[2214]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi-protect
Jun 14 01:51:31 pi sudo[2214]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi sudo[2214]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.857Z - [app] : Detached trace middleware 0.002s
Jun 14 01:51:31 pi sudo[2215]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/sbin/smartctl -i -H /dev/sdb1
Jun 14 01:51:31 pi sudo[2215]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.870Z - [system] : error reading network data Error: Unexpected speed=0 received by cmd=/usr/bin/sudo -n /sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:31 pi node[1757]:     at dl (/usr/share/unifi-core/app/service.js:22:6530)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:31 pi node[1757]:     at r (/usr/share/unifi-core/app/service.js:24:986)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:31 pi node[1757]:     at Object.s [as getClientNetwork] (/usr/share/unifi-core/app/service.js:24:1161)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 7)
Jun 14 01:51:31 pi node[1757]:     at $ (/usr/share/unifi-core/app/service.js:83:25082)
Jun 14 01:51:31 pi node[1757]:     at j (/usr/share/unifi-core/app/service.js:83:26785)
Jun 14 01:51:31 pi node[1757]:     at Object.JL.exports [as info] (/usr/share/unifi-core/app/service.js:88:20101)
Jun 14 01:51:31 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:24781
Jun 14 01:51:31 pi sudo[2222]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:31 pi sudo[2222]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:31 pi node[1757]: 2023-06-13T23:51:31.951Z - [system] : error reading network data Error: Unexpected speed=0 received by cmd=/usr/bin/sudo -n /sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:31 pi node[1757]:     at dl (/usr/share/unifi-core/app/service.js:22:6530)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:31 pi node[1757]:     at r (/usr/share/unifi-core/app/service.js:24:986)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:31 pi node[1757]:     at Object.s [as getClientNetwork] (/usr/share/unifi-core/app/service.js:24:1161)
Jun 14 01:51:31 pi node[1757]:     at async Promise.all (index 7)
Jun 14 01:51:31 pi node[1757]:     at $ (/usr/share/unifi-core/app/service.js:83:25082)
Jun 14 01:51:31 pi node[1757]:     at j (/usr/share/unifi-core/app/service.js:83:26785)
Jun 14 01:51:31 pi sudo[2224]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool sshd
Jun 14 01:51:31 pi sudo[2224]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2215]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2222]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2224]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2241]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi-access
Jun 14 01:51:32 pi sudo[2241]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2241]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.crash (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi sudo[2244]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:32 pi sudo[2244]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2244]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.302Z - [app] : Detached systemd middleware 0.026s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.309Z - [systemd] : access is not installed
Jun 14 01:51:32 pi sudo[2260]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi-talk
Jun 14 01:51:32 pi sudo[2260]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2260]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.404Z - [app] : Detached taskQueue middleware 0.004s
Jun 14 01:51:32 pi sudo[2263]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool anonid
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.410Z - [system] : Failed to change the timezone: Command failed: ubnt-systool timezone Europe/Amsterdam
Jun 14 01:51:32 pi node[1757]: Failed to set time zone: Access denied
Jun 14 01:51:32 pi node[1757]: rm: cannot remove '/etc/localtime': Permission denied
Jun 14 01:51:32 pi node[1757]: cp: cannot remove '/etc/localtime': Permission denied
Jun 14 01:51:32 pi node[1757]: /sbin/ubnt-systool: 234: eval: cannot create /etc/timezone: Permission denied
Jun 14 01:51:32 pi sudo[2263]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2263]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.454Z - [system] : error reading network data Error: Unexpected speed=0 received by cmd=/usr/bin/sudo -n /sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:32 pi node[1757]:     at dl (/usr/share/unifi-core/app/service.js:22:6530)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:32 pi node[1757]:     at r (/usr/share/unifi-core/app/service.js:24:986)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:32 pi node[1757]:     at Object.s [as getClientNetwork] (/usr/share/unifi-core/app/service.js:24:1161)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 7)
Jun 14 01:51:32 pi node[1757]:     at $ (/usr/share/unifi-core/app/service.js:83:25082)
Jun 14 01:51:32 pi node[1757]:     at j (/usr/share/unifi-core/app/service.js:83:26785)
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi sudo[2274]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool sshd
Jun 14 01:51:32 pi sudo[2274]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.498Z - [systemd] : talk is not installed
Jun 14 01:51:32 pi sudo[2274]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.562Z - [app] : Detached taskTracker middleware 0.002s
Jun 14 01:51:32 pi sudo[2281]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi-led
Jun 14 01:51:32 pi sudo[2281]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2281]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2284]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:32 pi sudo[2284]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.653Z - [systemd] : led is not installed
Jun 14 01:51:32 pi sudo[2287]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool sshd
Jun 14 01:51:32 pi sudo[2287]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2284]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2287]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi sudo[2303]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show uid-agent
Jun 14 01:51:32 pi sudo[2303]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2303]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.745Z - [app] : Detached apps middleware 0.002s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.757Z - [systemd] : uid-agent is not installed
Jun 14 01:51:32 pi sudo[2306]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:32 pi sudo[2306]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi sudo[2306]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.812Z - [app] : Detached auth middleware 0.003s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.815Z - [system] : error reading network data Error: Unexpected speed=0 received by cmd=/usr/bin/sudo -n /sbin/ubnt-systool network-speed enp0s2
Jun 14 01:51:32 pi node[1757]:     at dl (/usr/share/unifi-core/app/service.js:22:6530)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:32 pi node[1757]:     at r (/usr/share/unifi-core/app/service.js:24:986)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 1)
Jun 14 01:51:32 pi node[1757]:     at Object.s [as getClientNetwork] (/usr/share/unifi-core/app/service.js:24:1161)
Jun 14 01:51:32 pi node[1757]:     at async Promise.all (index 7)
Jun 14 01:51:32 pi node[1757]:     at $ (/usr/share/unifi-core/app/service.js:83:25082)
Jun 14 01:51:32 pi node[1757]:     at j (/usr/share/unifi-core/app/service.js:83:26785)
Jun 14 01:51:32 pi node[1757]:     at Object.JL.exports [as info] (/usr/share/unifi-core/app/service.js:88:20101)
Jun 14 01:51:32 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:24781
Jun 14 01:51:32 pi sudo[2318]: unifi-core : PWD=/usr/share/unifi-core/app ; USER=root ; COMMAND=/usr/bin/dpkg-query --showformat=${Status}|${Version} --show unifi-connect
Jun 14 01:51:32 pi sudo[2318]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=998)
Jun 14 01:51:32 pi node[1757]: Error during trace:error publish Error: trace was published but has no subscribers.
Jun 14 01:51:32 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:32 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:32 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:32 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18219)
Jun 14 01:51:32 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18636) {
Jun 14 01:51:32 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:32 pi node[1757]: }
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.855Z - [app] : Detached cloud.api middleware 0.011s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.859Z - [app] : Detached cloud middleware 0.019s
Jun 14 01:51:32 pi sudo[2318]: pam_unix(sudo:session): session closed for user root
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.870Z - [app] : Detached firmware middleware 0.009s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.874Z - [systemd] : connect is not installed
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.897Z - [app] : Detached http middleware 0.011s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.900Z - [app] : Detached sso middleware 0.001s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.941Z - [app] : Detached system.storage middleware 0.004s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.943Z - [app] : Detached system.ustorage middleware 0.032s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.946Z - [app] : Detached backup middleware 0.037s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.948Z - [app] : Detached system middleware 0.046s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.966Z - [app] : Detached uumMessageBox middleware 0.002s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.974Z - [app] : Detached uum middleware 0.02s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.979Z - [messageBox] : Unsubscribe token: WAN_TRANSITION
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.982Z - [app] : Detached webrtc middleware 0.005s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.995Z - [app] : Detached messageBox middleware 0.007s
Jun 14 01:51:32 pi node[1757]: 2023-06-13T23:51:32.997Z - [app] : Detached ipc middleware 0.013s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.002Z - [app] : Detached redux.wsUpdates middleware 0.002s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.004Z - [app] : Detached redux middleware 0.005s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.007Z - [app] : Detached sdnotify middleware 0.001s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.013Z - [app] : Detached fingerprint middleware 0.002s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.029Z - [discovery.responder] : Failed to redux.saga.remove: Error: redux.saga.remove was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102542
Jun 14 01:51:33 pi node[1757]:     at Array.forEach (<anonymous>)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102531
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102839
Jun 14 01:51:33 pi node[1757]:     at tryCatcher (/usr/share/unifi-core/app/node_modules/bluebird/js/release/util.js:16:23)
Jun 14 01:51:33 pi node[1757]:     at MappingPromiseArray._promiseFulfilled (/usr/share/unifi-core/app/node_modules/bluebird/js/release/map.js:68:38)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:609:26)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise0 (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:649:10)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromises (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:729:18)
Jun 14 01:51:33 pi node[1757]:     at _drainQueueStep (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:93:12)
Jun 14 01:51:33 pi node[1757]:     at _drainQueue (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:86:9)
Jun 14 01:51:33 pi node[1757]:     at Async._drainQueues (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:102:5)
Jun 14 01:51:33 pi node[1757]:     at Immediate.Async.drainQueues (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:15:14)
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.035Z - [discovery.responder] : Failed to redux.saga.remove: Error: redux.saga.remove was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102542
Jun 14 01:51:33 pi node[1757]:     at Array.forEach (<anonymous>)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102531
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102839
Jun 14 01:51:33 pi node[1757]:     at tryCatcher (/usr/share/unifi-core/app/node_modules/bluebird/js/release/util.js:16:23)
Jun 14 01:51:33 pi node[1757]:     at MappingPromiseArray._promiseFulfilled (/usr/share/unifi-core/app/node_modules/bluebird/js/release/map.js:68:38)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:609:26)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise0 (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:649:10)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromises (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:729:18)
Jun 14 01:51:33 pi node[1757]:     at _drainQueueStep (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:93:12)
Jun 14 01:51:33 pi node[1757]:     at _drainQueue (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:86:9)
Jun 14 01:51:33 pi node[1757]:     at Async._drainQueues (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:102:5)
Jun 14 01:51:33 pi node[1757]:     at Immediate.Async.drainQueues (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:15:14)
Jun 14 01:51:33 pi node[1757]: Error during trace:error publish Error: system.info was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at a4 (/usr/share/unifi-core/app/service.js:7:16421)
Jun 14 01:51:33 pi node[1757]:     at Sr (/usr/share/unifi-core/app/service.js:7:16634)
Jun 14 01:51:33 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18173)
Jun 14 01:51:33 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18642)
Jun 14 01:51:33 pi node[1757]:     at tw.exports.log (/usr/share/unifi-core/app/service.js:7:19181)
Jun 14 01:51:33 pi node[1757]:     at transportLog (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:234:15)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/node_modules/async/lib/async.js:157:13
Jun 14 01:51:33 pi node[1757]:     at _each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:57:9)
Jun 14 01:51:33 pi node[1757]:     at Object.async.each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:156:9)
Jun 14 01:51:33 pi node[1757]:     at exports.Logger.Logger.log (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:246:9)
Jun 14 01:51:33 pi node[1757]:     at uw.exports.log (/usr/share/unifi-core/app/service.js:13:1719)
Jun 14 01:51:33 pi node[1757]:     at Object.s.<computed> [as error] (/usr/share/unifi-core/app/service.js:13:2156)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102580 {
Jun 14 01:51:33 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:33 pi node[1757]: }
Jun 14 01:51:33 pi node[1757]: Error during trace:error publish Error: system.info was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at a4 (/usr/share/unifi-core/app/service.js:7:16421)
Jun 14 01:51:33 pi node[1757]:     at Sr (/usr/share/unifi-core/app/service.js:7:16634)
Jun 14 01:51:33 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18173)
Jun 14 01:51:33 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18642)
Jun 14 01:51:33 pi node[1757]:     at tw.exports.log (/usr/share/unifi-core/app/service.js:7:19181)
Jun 14 01:51:33 pi node[1757]:     at transportLog (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:234:15)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/node_modules/async/lib/async.js:157:13
Jun 14 01:51:33 pi node[1757]:     at _each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:57:9)
Jun 14 01:51:33 pi node[1757]:     at Object.async.each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:156:9)
Jun 14 01:51:33 pi node[1757]:     at exports.Logger.Logger.log (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:246:9)
Jun 14 01:51:33 pi node[1757]:     at uw.exports.log (/usr/share/unifi-core/app/service.js:13:1719)
Jun 14 01:51:33 pi node[1757]:     at Object.s.<computed> [as error] (/usr/share/unifi-core/app/service.js:13:2156)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:88:102580 {
Jun 14 01:51:33 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:33 pi node[1757]: }
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.044Z - [app] : Detached discovery middleware 0.028s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.046Z - [app] : Detached chiper middleware 0.001s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.048Z - [app] : Detached health middleware 0s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.051Z - [app] : Detached notifications middleware 0.001s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.056Z - [floorplans] : Failed to redux.saga.remove: Error: redux.saga.remove was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:101:5697
Jun 14 01:51:33 pi node[1757]:     at Array.forEach (<anonymous>)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:101:5686
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:28:39947
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:101:7648
Jun 14 01:51:33 pi node[1757]:     at tryCatcher (/usr/share/unifi-core/app/node_modules/bluebird/js/release/util.js:16:23)
Jun 14 01:51:33 pi node[1757]:     at Object.gotValue (/usr/share/unifi-core/app/node_modules/bluebird/js/release/reduce.js:166:18)
Jun 14 01:51:33 pi node[1757]:     at Object.tryCatcher (/usr/share/unifi-core/app/node_modules/bluebird/js/release/util.js:16:23)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromiseFromHandler (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:547:31)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:604:18)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromise0 (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:649:10)
Jun 14 01:51:33 pi node[1757]:     at Promise._settlePromises (/usr/share/unifi-core/app/node_modules/bluebird/js/release/promise.js:729:18)
Jun 14 01:51:33 pi node[1757]:     at _drainQueueStep (/usr/share/unifi-core/app/node_modules/bluebird/js/release/async.js:93:12)
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.061Z - [app] : Detached floorplans middleware 0.008s
Jun 14 01:51:33 pi node[1757]: Error during trace:error publish Error: system.info was published but has no subscribers.
Jun 14 01:51:33 pi node[1757]:     at notifyObjects (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:66:13)
Jun 14 01:51:33 pi node[1757]:     at publishNotification (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:83:10)
Jun 14 01:51:33 pi node[1757]:     at publish (/usr/share/unifi-core/app/node_modules/handoff/handoff.js:101:10)
Jun 14 01:51:33 pi node[1757]:     at a4 (/usr/share/unifi-core/app/service.js:7:16421)
Jun 14 01:51:33 pi node[1757]:     at Sr (/usr/share/unifi-core/app/service.js:7:16634)
Jun 14 01:51:33 pi node[1757]:     at o4 (/usr/share/unifi-core/app/service.js:7:18173)
Jun 14 01:51:33 pi node[1757]:     at Object.error (/usr/share/unifi-core/app/service.js:7:18642)
Jun 14 01:51:33 pi node[1757]:     at tw.exports.log (/usr/share/unifi-core/app/service.js:7:19181)
Jun 14 01:51:33 pi node[1757]:     at transportLog (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:234:15)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/node_modules/async/lib/async.js:157:13
Jun 14 01:51:33 pi node[1757]:     at _each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:57:9)
Jun 14 01:51:33 pi node[1757]:     at Object.async.each (/usr/share/unifi-core/app/node_modules/async/lib/async.js:156:9)
Jun 14 01:51:33 pi node[1757]:     at exports.Logger.Logger.log (/usr/share/unifi-core/app/node_modules/winston/lib/winston/logger.js:246:9)
Jun 14 01:51:33 pi node[1757]:     at uw.exports.log (/usr/share/unifi-core/app/service.js:13:1719)
Jun 14 01:51:33 pi node[1757]:     at Object.s.<computed> [as error] (/usr/share/unifi-core/app/service.js:13:2156)
Jun 14 01:51:33 pi node[1757]:     at /usr/share/unifi-core/app/service.js:101:5735 {
Jun 14 01:51:33 pi node[1757]:   code: 'ENOSYS'
Jun 14 01:51:33 pi node[1757]: }
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.068Z - [app] : Detached sharedTokens middleware 0.001s
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.069Z - [grpc] : Unsubscribe from gRPC
Jun 14 01:51:33 pi node[1757]: 2023-06-13T23:51:33.070Z - [app] : Detached grpc middleware 0.002s
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Succeeded.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit unifi-core.service has successfully entered the 'dead' state.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 1163 (sh) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 1164 (sudo) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 1165 (systemctl) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 2050 (sh) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 2051 (sudo) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 2052 (systemctl) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 2123 (sh) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Unit process 2125 (ping) remains running after unit stopped.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Scheduled restart job, restart counter is at 2.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ Automatic restarting of the unit unifi-core.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jun 14 01:51:33 pi systemd[1]: Stopped UniFi Core.
░░ Subject: A stop job for unit unifi-core.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A stop job for unit unifi-core.service has finished.
░░ 
░░ The job identifier is 143 and the job result is done.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 1163 (sh) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 1164 (sudo) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 1165 (systemctl) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 2050 (sh) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 2051 (sudo) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 2052 (systemctl) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 2123 (sh) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: unifi-core.service: Found left-over process 2125 (ping) in control group while starting unit. Ignoring.
Jun 14 01:51:33 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:33 pi systemd[1]: Starting UniFi Core...
░░ Subject: A start job for unit unifi-core.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit unifi-core.service has begun execution.
░░ 
░░ The job identifier is 143.
Jun 14 01:51:33 pi sudo[2322]:     root : PWD=/usr/share/unifi-core/app ; USER=postgres ; COMMAND=/usr/bin/createuser unifi-core -p 5432 -d
Jun 14 01:51:33 pi sudo[2322]: pam_unix(sudo:session): session opened for user postgres(uid=104) by (uid=0)
Jun 14 01:51:33 pi pre-start[2323]: createuser: error: creation of new role failed: ERROR:  role "unifi-core" already exists
Jun 14 01:51:33 pi sudo[2322]: pam_unix(sudo:session): session closed for user postgres
Jun 14 01:51:34 pi node[2336]: unifi-core is already setup, no need to migrate.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 1163 (sh) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 1164 (sudo) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 1165 (systemctl) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 2050 (sh) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 2051 (sudo) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Jun 14 01:51:34 pi systemd[1]: unifi-core.service: Found left-over process 2052 (systemctl) in control group while starting unit. Ignoring.
Jun 14 01:51:34 pi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

do you compiled the image yourself? if not do not update protect from within the UI

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

no, I did not. I just pulled the image and added some small changes to the docker-compose.yml along the way trying to fix it.

my docker-compose.yaml:

version: '3.8'

services:
  unifi-protect:
    image: markdegroot/unifi-protect-arm64
    container_name: unifi-protect
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - /storage/unifi-protect/srv:/srv
      - /storage/unifi-protect/data:/data
      - /storage/unifi-protect/storage/persistent:/persistent
    environment:
      - STORAGE_DISK=/dev/sdb1
      - TZ=Europe/Amsterdam
    restart: unless-stopped
    cap_add:
      - dac_read_search
      - sys_admin
    security_opt:
      - apparmor=unconfined
      - seccomp=unconfined
    tmpfs:
      - /run
      - /run/lock
      - /tmp
      - /var/run
      - /var/run/lock
    privileged: true
    network_mode: host

from unifi-protect-arm64.

jorisleem avatar jorisleem commented on June 29, 2024

I have the same problem as Kiwimato.
i'm running 3.0.16 with the original image from Unifi.

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

I'm trying to upgrade it now using the latest unifi packages, but I hit this error which seems to be because Debian11 is too old. The issue actually is that I'm building the deb on Ubuntu 22.04. The workaround for the error below is to force dpkg-deb to compress using xz:

while read pkg; do dpkg-repack  -d -Zxz  --root=_fwupdate.bin.extracted/squashfs-root/ --arch=arm64 ${pkg}; done < packages.txt
#13 1.282 dpkg-deb: error: archive '/ubnt-archive-keyring_1.0.6~19+g2cb18f3_arm64.deb' uses unknown compression for member 'control.tar.zst', giving up

I tried debugging the error last night a bit and it seemed that all threads point to some Unifi bug or some other issues which didn't help, that's why I'm trying to build the latest.

I'll update once I have something running.. hopefully

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

I also have this problem when I run using docker compose up command but if use docker run -d command then it run without any problems. You can try that

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

ok, that's super interesting and weird at the same time, I will give it a try.
update on my side is that I managed to build an upgraded image, but it hits the same problem, so I think it's something missing in either volumes or config which is not saved across reboots, but I may be wrong.

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

You will need this file /lib/systemd/system/unifi-core.serviced.d/cap.conf to fix the permission issues in setting timezone and backup etc in the ui settings .
create the file with the contents
[Service]
User=root

and place it into files/lib/systemd/system/unifi-core.serviced.d/ before you compile the image

from unifi-protect-arm64.

jorisleem avatar jorisleem commented on June 29, 2024

I also have this problem when I run using docker compose up command but if use docker run -d command then it run without any problems. You can try that

This doesn't work for me. Same result.

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

I also have this problem when I run using docker compose up command but if use docker run -d command then it run without any problems. You can try that

This doesn't work for me. Same result.

Did you clear the /storage first before starting it?

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

@jorisleem I figured it out, at least for the newer Protect version(UNVR 3.1.9), the problem was that the Postgres "main" database was not saved properly across container restarts. That and also for the newer version "main" db is also upgraded to PostgreSQL 14 and some auth mechanisms were enforced to use passwords instead of nothing for localhost (which seems to be the Unifi default)
I have a working version, if you want to try it out, use this image instead: ghcr.io/kiwimato/unifi-protect-arm64:dev

Just please be mindful that it will update your cameras if you adopt them to the latest version automatically, just in case you don't want that since downgrading can be cumbersome.

There's still some testing to be done, and I want to fix the fact that the "main" Postgres DB config is not properly linked in /srv, it's still in /etc/postgresql/main, but at least this works for now until we fix that part.

The changes I made can be found here which of course excludes the Unifi debs due to copyright and stuff.

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

@kiwimato i can't get the storage page to show when using your build. and also need unifi-assets-unvr this deb in the put-deb-files-here folder in order for the graphics and name to show up correctly when setting up using the web browser.

from unifi-protect-arm64.

gurkburk76 avatar gurkburk76 commented on June 29, 2024

So i got my rock64 (4 gigs of mem) sort of working with debian 12 (bookworm) (don't think that would be a problem, seems like ubuntu ain't supported on that platform strangly enought) but having a few strange lines in the logs, i haven't gotten to the adop part yet, so i'm sure i'll have even more questions further along.

This might be related to the topic as stuff dosen't quite work and it refuses to save some of my settings.

Jun 15 06:56:36 UNVR sudo[19764]: unifi-core : unable to resolve host UNVR: Name or service not known
Jun 15 06:56:36 UNVR sudo[19764]: unifi-core : problem with defaults entries ; PWD=/usr/share/unifi-core/app ; USER=root ;

Also, just to be really clear about this, if i pull the image, witch i did, then i don't have to put any deb files anywhere, correct ?

I'm thinking of the put-deb-files-here and put-version-file-here folders.

root@DietPi:~/docker# cat /proc/cmdline
root=UUID=f2d9ca5a-281e-412a-93c0-80f6fba7f92d rootfstype=ext4 rootwait console=tty1 consoleblank=0 coherent_pool=2M usb-storage.quirks= net.ifnames=1 systemd.unified_cgroup_hierarchy=0 cgroup_enable=memory swapaccount=1

nic renamed to enp0s2

.. I just realized that my ROCK64 does not seem to have bluetooth so i guess adopting my UVC-G3-INS won't work... :(

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

@bkchaw I have the same problem with storage, I'll look into it. I just pushed a new image which includes unifi-assets-unvr_2.0.0_arm64.deb. Thank you for telling me!

@gurkburk76 I solved that by naming the UNVR as the host hostname, in your case is DietPi. You could also modify the host /etc/hosts and add: 127.0.0.1 UNVR which should make it resolve on the container also.

I do not see problem with defaults entries ; PWD=/usr/share/unifi-core/app ; USER=root ; error on my container, not sure what it caused it.

Also, just to be really clear about this, if i pull the image, witch i did, then i don't have to put any deb files anywhere, correct ?
Correct. The debs are already builtin the image, you don't have to worry about that, but if you want to build your own image, you can, I tried to make it more obvious how that can be done.

Do you need Bluetooth on the UNVR for that camera? Alternatively you could also use a USB bluetooth adapter, that might work?

from unifi-protect-arm64.

gurkburk76 avatar gurkburk76 commented on June 29, 2024

Yeah that camera needs to be adapted with bluetooth, it's the only way iirc.
Yeah i'll fiddle with a usb adapter i have, might work, if it dosen't i could try me rasp 3b+ i think, assuming this docker container "knows" how to use a usb bluetooth. Might work better with the Pi, we'll see what happens.

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

Yeah that camera needs to be adapted with bluetooth, it's the only way iirc.
Yeah i'll fiddle with a usb adapter i have, might work, if it dosen't i could try me rasp 3b+ i think, assuming this docker container "knows" how to use a usb bluetooth. Might work better with the Pi, we'll see what happens.

@gurkburk76 you can use your mobile phone protect app to adopt. I adopted mine this way. it will use the bluetooth on your phone

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

@bkchaw I have the same problem with storage, I'll look into it.

@kiwimato that's cool! while you are at that maybe you can figure out how to get unifi-os to show the real hdd info ?

from unifi-protect-arm64.

kiwimato avatar kiwimato commented on June 29, 2024

@bkchaw the script should already show real data as long as you set STORAGE_DISK env var. It's a bit hard to reverse engineer why storage page doesn't work, I checked everything I could, but every seems fine so far, can't find anything in the logs

root@pi:/var/log/postgresql# ustorage disk
[
    {
        "action": "none",
        "ata": "ATA8-ACS",
        "bad_sector": 0,
        "estimate": null,
        "firmware": "AX001Q",
        "healthy": "good",
        "life_span": null,
        "model": "UniFi Protect fake disk",
        "poweronhrs": 1,
        "progress": null,
        "reason": null,
        "rpm": 5400,
        "sata": "SATA 2.6",
        "serial": "X0JNP396T",
        "size": 9920821608448,
        "slot": 1,
        "state": "normal",
        "temperature": 49,
        "threshold": 10,
        "type": "HDD"
    }
]
root@pi:/var/log/postgresql# ustorage space
[
    {
        "action": "none",
        "device": "sdb1",
        "estimate": 0,
        "health": "health",
        "progress": null,
        "reasons": [],
        "space_type": "primary",
        "total_bytes": 9920821608448,
        "used_bytes": 2418188288
    }
]
root@pi:/var/log/postgresql# cat `which ustorage`
#!/bin/bash

source /etc/default/storage_disk
disk="${STORAGE_DISK:-/dev/sda1}"
device=$(basename ${disk})
sbytes=$(df -B1 --output=size ${disk} | awk 'NR==2 {print $1}')
sused=$(df -B1 --output=used ${disk} | awk 'NR==2 {print $1}')

case $1 in
    disk)
	cat <<EOT
[
    {
        "action": "none",
        "ata": "ATA8-ACS",
        "bad_sector": 0,
        "estimate": null,
        "firmware": "AX001Q",
        "healthy": "good",
        "life_span": null,
        "model": "UniFi Protect fake disk",
        "poweronhrs": 1,
        "progress": null,
        "reason": null,
        "rpm": 5400,
        "sata": "SATA 2.6",
        "serial": "X0JNP396T",
        "size": ${sbytes},
        "slot": 1,
        "state": "normal",
        "temperature": 49,
        "threshold": 10,
        "type": "HDD"
    }
]
EOT
	;;
    space)
	cat <<EOT
[
    {
        "action": "none",
        "device": "${device}",
        "estimate": 0,
        "health": "health",
        "progress": null,
        "reasons": [],
        "space_type": "primary",
        "total_bytes": ${sbytes},
        "used_bytes": ${sused}
    }
]
EOT
	;;
 config)
	cat <<EOT
{
    "hotspare": false,
    "raid": "single"
}
EOT

esac
root@pi:/var/log/postgresql# 

from unifi-protect-arm64.

gurkburk76 avatar gurkburk76 commented on June 29, 2024

Ok cool, i got it adopted via the app, now i just have to find where the password is stored for the camera if i want to access it via http/https. it's supposed to be in protect/general/something something but i haven't found it yet.
EDIT: it's recovery code.. what a stupid name :)

Also, is updating unifi os + protect supposed to work if done via the webpage os do i have to rebuild the image with the right pakages? I tried to update via the gui and it's been updating for a while now so it seems a bit fishy :)

from unifi-protect-arm64.

bkchaw avatar bkchaw commented on June 29, 2024

Guys I will give up trying to figure out why the "Storage" page doesn't work for now. It seems to be a Unifi bug and more annoyingly it's simply not showing any errors anywhere, it just hangs. I found other people complaining about the same issue here, which makes me hope Unifi will solve it eventually: https://community.ui.com/questions/Storage-not-loading/1ddb1c1f-f9e7-47d4-a97f-8efe1a46926a

Just to avoid spamming Mark, feel free to open new issues you find with this image here in my fork: https://github.com/kiwimato/unifi-protect-arm64/issues

I'll give this a few weeks of testing and then I'll create a PR towards this repo.

@kiwimato I think this is the error that prevented storage page from showing...

2023-06-19T07:35:51.654Z - error: [unvrFlashStorageMigration] Failed to check rwfs migration info via ustorage: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"migratable",
"reason"
],
"message": "Required"
}
]

from unifi-protect-arm64.

travis-south avatar travis-south commented on June 29, 2024

There's still some testing to be done, and I want to fix the fact that the "main" Postgres DB config is not properly linked in /srv, it's still in /etc/postgresql/main, but at least this works for now until we fix that part.

@kiwimato , I experiencing the same issue when restart container. Will mapping /etc/postgresql/main as volume in docker-compose solve the issue?

from unifi-protect-arm64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.