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

root用户安装

1.安装命令

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
npm config set registry https://registry.npm.taobao.org
curl -sL https://iobroker.net/install.sh | bash -

2.使用命令

systemctl restart iobroker
systemctl status iobroker
systemctl start iobroker
systemctl stop iobroker
systemctl enable iobroker
systemctl disable iobroker

3.升级命令

cd /opt/iobroker
iobroker stop
iobroker update
iobroker upgrade self
iobroker start

注意:命令行前面不要加sudo。

终于搞定了安装,但是启动不了,该刷萝卜的包

萝卜大神,N1安装 ,安装命令直接复制粘贴,第5条会没有执行。

截图给我看看

启动了, 但是192.168.0.87:8081 访问不了

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。
把你安装日志详细截图全部发出来看看?