Closed Raczka1989 closed 2 years ago
when i will make this fix curl -sk https://dl.hoobs.org/fix | sudo bash - it make this
curl -sk https://dl.hoobs.org/fix | sudo bash - [ .... ] removing mal-configured sources [ hoobs, nodesource, yarn ] [ .... ] purging stuck installs (Reading database ... 86844 files and directories currently installed.) Removing hoobs-cli (4.2.2) ... dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/socket.io-parser' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/socket.io-client/build' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/signal-exit' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/lazystream' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-weakset/.github' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-number-object/test' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-negative-zero/.github' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-date-object' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-callable/.github' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-bigint/test' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/is-arguments/.github' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/glob' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/es-abstract' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/engine.io-parser' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/engine.io-client' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/core-util-is' not empty so not removed dpkg: warning: while removing hoobs-cli, directory '/usr/lib/hbs/node_modules/@hoobs/sdk/lib' not empty so not removed Removing hoobs-gui (4.2.2) ... Removing hoobsd (4.2.3) ... dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/type-fest' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/systeminformation' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/string_decoder' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/send/node_modules' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/roarr/dist/test/roarr' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/roarr/dist/src/factories' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/qs/test' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/lazystream' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-weakset/.github' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-number-object/test' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-negative-zero/.github' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-date-object' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-callable/.github' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-bigint/test' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/is-arguments/.github' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/http-errors' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/glob' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/formidable' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/es-abstract' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/engine.io-parser' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/engine.io' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/core-util-is' not empty so not removed dpkg: warning: while removing hoobsd, directory '/usr/lib/hoobsd/node_modules/@types/node' not empty so not removed [ .... ] removing queued pre and post install scripts [ .... ] cleaning package manager Reading package lists... Building dependency tree... Reading state information... [ o.k. ] sources cleaned [ .... ] removing installed node binaries [ node, npm, npx ] [ .... ] removing node support files [ o.k. ] node cleaned [ .... ] removing services [ hoobs, homebridge, ui-x ] [ .... ] disabling services [ .... ] removing conflicting packages [ nginx ] Failed to stop nginx.service: Unit nginx.service not loaded. Failed to disable unit: Unit file nginx.service does not exist. Reading package lists... Building dependency tree... Reading state information... Package 'nginx' is not installed, so not removed Package 'nginx-full' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [ .... ] repairing wifi captive portal [ wifi-connect ] [Unit] Description=WiFi Captive Portal After=NetworkManager.service Before=hoobsd.service
[Service] Type=oneshot ExecStart=/usr/local/sbin/wifi-connect-startup
[Install] WantedBy=multi-user.target [ .... ] reloading systemd [ o.k. ] services cleaned /root/hoobs-fix.sh: line 127: messafe: command not found Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package systemd-timesyncd [ .... ] upgrading system Hit:1 http://phoscon.de/apt/deconz buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Hit:1 http://phoscon.de/apt/deconz buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.64.0-4+deb10u2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [ .... ] repairing packages [ nodejs, yarn, hoobs ] Hit:1 http://phoscon.de/apt/deconz buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Reading package lists... deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian/ stable main deb [signed-by=/usr/share/keyrings/hoobs.gpg] https://dl.hoobs.org/debian/ stable main Hit:1 http://phoscon.de/apt/deconz buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 http://archive.raspberrypi.org/debian buster InRelease Get:4 https://dl.hoobs.org/debian stable InRelease [3,032 B] Get:5 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B] Get:6 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] Get:7 https://dl.hoobs.org/debian stable/main armhf Packages [1,930 B] Get:8 https://deb.nodesource.com/node_16.x buster/main armhf Packages [783 B] Get:9 https://dl.yarnpkg.com/debian stable/main all Packages [10.6 kB] Get:10 https://dl.yarnpkg.com/debian stable/main armhf Packages [10.6 kB] Fetched 48.7 kB in 2s (28.4 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... nodejs is already the newest version (16.15.0-deb-1nodesource1). yarn is already the newest version (1.22.18-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... Package 'hoobs-cli' is not installed, so not removed Package 'hoobs-gui' is not installed, so not removed Package 'hoobsd' is not installed, so not removed The following packages will be REMOVED: hbs-vendor 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 66.6 kB disk space will be freed. (Reading database ... 68799 files and directories currently installed.) Removing hbs-vendor (4.1.9) ... Reading package lists... Building dependency tree... Reading state information... nodejs is already the newest version (16.15.0-deb-1nodesource1). yarn is already the newest version (1.22.18-1). The following NEW packages will be installed: hbs-vendor hoobs-cli hoobs-gui hoobsd 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 22.8 MB of archives. After this operation, 238 kB of additional disk space will be used. Get:1 https://dl.hoobs.org/debian stable/main armhf hbs-vendor all 4.1.9 [2,536 B] Get:2 https://dl.hoobs.org/debian stable/main armhf hoobs-cli armhf 4.2.2 [3,667 kB] Get:3 https://dl.hoobs.org/debian stable/main armhf hoobsd armhf 4.2.3 [5,127 kB] Get:4 https://dl.hoobs.org/debian stable/main armhf hoobs-gui all 4.2.2 [14.0 MB] Fetched 22.8 MB in 2s (11.1 MB/s) Selecting previously unselected package hbs-vendor. (Reading database ... 68795 files and directories currently installed.) Preparing to unpack .../hbs-vendor_4.1.9_all.deb ... Unpacking hbs-vendor (4.1.9) ... Selecting previously unselected package hoobs-cli. Preparing to unpack .../hoobs-cli_4.2.2_armhf.deb ... Unpacking hoobs-cli (4.2.2) ... Selecting previously unselected package hoobsd. Preparing to unpack .../hoobsd_4.2.3_armhf.deb ... Unpacking hoobsd (4.2.3) ... Selecting previously unselected package hoobs-gui. Preparing to unpack .../hoobs-gui_4.2.2_all.deb ... Unpacking hoobs-gui (4.2.2) ... Setting up hoobsd (4.2.3) ... Setting up hbs-vendor (4.1.9) ... Setting up hoobs-cli (4.2.2) ... Setting up hoobs-gui (4.2.2) ...
/usr/lib/hoobsd/node_modules/toidentifier/index.js:26
.split(' ')
^
TypeError: Cannot read properties of undefined (reading 'split')
at toIdentifier (/usr/lib/hoobsd/node_modules/toidentifier/index.js:26:6)
at forEachCode (/usr/lib/hoobsd/node_modules/send/node_modules/http-errors/index.js:245:16)
at Array.forEach (Invalid Version: ${version}
)
^
ERROR TypeError: Invalid Version:
at new SemVer (/usr/lib/hbs/node_modules/semver/classes/semver.js:38:13)
at compare (/usr/lib/hbs/node_modules/semver/functions/compare.js:3:32)
at Object.gt (/usr/lib/hbs/node_modules/semver/functions/gt.js:2:29)
at Object.info (/usr/src/system/index.ts:427:46)
at Command.
Hoobs is not starting
I'm having the same issue. I tried running curl -sk https://dl.hoobs.org/fix | sudo bash -
2 times but no luck
Have same issue -no luck to fix in any way so finally got fresh image 4.2.1 and reinstalled in RPI. Then restored my full backup i did in SSH console before , because Hoobs web page was dead. At morning i tried again to do update and after i saw that CPU usage was between 50 and 95% - showed by htop on SSH. Web interface sometimes was inaccessible. Now i performed full restart RPI and is better but not perfect. Maybe i will install again 4.2.1 and hold with update.
I have same issue.
Same issue here too.
I'm having the same issues. Going to reinstall and use a backup.
Same problem here.. how can I fix it?
Found a fix that worked for me here: https://www.reddit.com/r/HOOBS/comments/ufui0d/hoobs_not_reachable_after_latest_updates/
Thanks @DeepGoes. I was able to fix my issue.
This is the post and instructions on fixing the problem.
i had the same problem but with mkellsy's help its fixed.
what helped me ? got to http://hoobs.local:9090/ and login with hoobs and hoobsadmin.
then run cd /usr/lib/hoobsd/ sudo yarn add express@latest curl -sk https://dl.hoobs.org/fix | sudo bash - my system is now running on the latest version and is stable ! :)
The fix script has changes to handle this error. It's a yarn caching issue.
curl -sk https://dl.hoobs.org/fix | sudo bash -
If this doesn't work please open a support ticket here. https://support.hoobs.org/ticket
Apologies for posting on a closed thread. Same issue upon upgrade to latest 4.2.5.
I got UI up and running temporarily by changing two lines. Don't recommend this for long term.
sudo nano /usr/lib/hoobsd/node_modules/toidentifier/index.js line 26
Changed reutrn str
to return (str || '')
sudo nano /usr/lib/hoobsd/node_modules/depd/index.js line 415
commented out the
throw
... really bad thing to do addedfn = function () {}
to suppress error
Apologies for posting on a closed thread. Same issue upon upgrade to latest 4.2.5.
I got UI up and running temporarily by changing two lines. Don't recommend this for long term.
sudo nano /usr/lib/hoobsd/node_modules/toidentifier/index.js line 26 Changed
reutrn str
toreturn (str || '')
sudo nano /usr/lib/hoobsd/node_modules/depd/index.js line 415
commented out the
throw
... really bad thing to do addedfn = function () {}
to suppress error
That worked for me - thanks a lot
i have the same problem but in windows
Hi,
My advice that use Homebridge.
Az iPhone-omról küldve
- aug. 29. dátummal, 13:12 időpontban ilyesbenaicha @.***> írta:
i have the same problem but in windows
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Description Hallo, Hoobs has show me an Update an i make it, after that hoobs dosn´t start, when i go to putty it show me this Massage when i will start the service
/usr/lib/hoobsd/node_modules/toidentifier/index.js:26 .split(' ') ^ TypeError: Cannot read properties of undefined (reading 'split') at toIdentifier (/usr/lib/hoobsd/node_modules/toidentifier/index.js:26:6) at forEachCode (/usr/lib/hoobsd/node_modules/send/node_modules/http-errors/index.js:245:16) at Array.forEach ()
at populateConstructorExports (/usr/lib/hoobsd/node_modules/send/node_modules/http-errors/index.js:243:9)
at Object. (/usr/lib/hoobsd/node_modules/send/node_modules/http-errors/index.js:30:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/usr/lib/hoobsd/node_modules/send/index.js:15:19)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Version Please include the version of HOOBS you are using.
Did you upgrade Please let us know if you upgraded from a previous version.
Pervious version If you upgraded, please let us know your previous version.
What device are you using? Please let us know the device you are running HOOBS on.
If this is a custom install, what's your operating system? Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.
List your plugins Please include a list of the plugins you are using. We need to be able to find it on NPM. If the plugin is no published, please include a link to the repository.
Post your config This can be found in the interface, Configuration -> Advanced or you can get it via SSH
cat ~/.hoobs/etc/config.json
Post your log You can get the log from the interface. This is in the Log section.