iobroker系统安装-00--debian或者Ubuntu安装iobroker

n1不同的包 不知道会产生啥毛病,问题出在armbian移值上。

N1原有底包启动不了 无解:(:(:frowning: armbian移值是个问题

启动不了 很多时候是armbian的文件传输过程中丢文件。

启动报错,请大神帮忙指导下,谢谢!:’(
root@iobroker:/home/iobroker# systemctl restart iobroker
root@iobroker:/home/iobroker# systemctl status iobroker
● iobroker.service - ioBroker Server
Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2019-10-12 17:08:35 UTC; 2s ago
Docs: http://iobroker.net
Process: 1186 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
Main PID: 1186 (code=exited, status=1/FAILURE)

Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Failed with result ‘exit-code’.
Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling restart.
Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 5.
Oct 12 17:08:35 iobroker systemd[1]: Stopped ioBroker Server.
Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Start request repeated too quickly.
Oct 12 17:08:35 iobroker systemd[1]: iobroker.service: Failed with result ‘exit-code’.
Oct 12 17:08:35 iobroker systemd[1]: Failed to start ioBroker Server.

你在什么环境下安装的?安装步骤如何?

ubuntu19server下装的,就是按帖子四条命令行这么装的:P

vm esxi虚拟机啊下装的

你的路径都在/home/iobroker了啊,正常的是在/opt/iobroker

我和你这个报错一样

这个是啥问题

你没有装成功iobroker,所以就没有发现iobroker服务,自然就not found。
把你安装日志详细截图全部发出来看看?

MIRROR=taobao curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh |
bash -

一键安装脚本,无需先安装node,自动切换淘宝镜像

3 个赞

花神,一键安装脚本再编辑一下,我复制粘贴报错

root@aml:~# MIRROR=taobao curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh 4 | bash -
bash: line 16: /root/installer_library.sh: Read-only file system
Installer/Fixer: library not found

刚刚重装又可以了 :grinning:

麻烦问下怎么卸载呢

安装和启动的时候报错了,请大神帮忙看看,谢谢!
系统ubuntu12.04,虚拟机中安装,
node -v v0.6.12
npm ERR! npm -v 1.1.4
image
image

QQ图片20200429095344

这是啥问题

我执行curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -命令,提示要安装nodejs环境。。。
image

实际上我已经安装了这些环境
image :joy: :joy: :joy: :joy:

执行MIRROR=taobao curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh 12 |

bash -命令后报错???
image

npm ERR! not a package /opt/iobroker/iobroker
npm ERR! addLocal Could not install /opt/iobroker/iobroker
npm ERR! Linux 4.15.0-45-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “i” “iobroker” “–loglevel” “error”
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /tmp/npm-4772-8603a379/unpack-f784738f/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open ‘/tmp/npm-4772-8603a379/unpack-f784738f/package.json’
npm ERR! enoent ENOENT: no such file or directory, open ‘/tmp/npm-4772-8603a379/unpack-f784738f/package.json’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /opt/iobroker/npm-debug.log

debian用一键命令安装之后,有个坑,装完之后,启动的时候不能用systemctl start iobroker
用了之后提示输入root密码,输入完之后,也没启动,需要用cd /opt/iobroker进去目录之后,iobroker start这样才能启动。附上启动图:
image
提示成功了。下图是查询iob状态:
image
这个时候按照输入ip:8081应该可以进iob管理页面了,但是进不去,需要cd进iob目录之后再启动,这样才能进去管理。
image
不知是不是个案,反正试了几次,只能这样启动。不知是不是我姿势不对。

为什么网址打不开