Neuron 在risc-v平台上编译情况

目前Neuron在安装包内只有x86和arm架构的安装包,我们打算在risc-v平台上做移植。

准备在RISC-V平台上重新源代码编译,我们也在git上clone了几份release版本源代码。很多编译问题,不过不是环境的问题,而是代码本身的error报错。

请问一下,neroun和neroun dashboard 比较稳定的版本是哪些,能够正常编译的?另外什么版本的neroun和dashboard配合比较稳定?dashboard需要重新编译吗?

RISC-V 也是支持的,需要把 neuron 所需依赖也编译安装

目前能够正确编译neuroun,没有报错。但是打开localhost:7000显示404。已经放置dashboard的dist了。请问dashboard需要重新编译吗?
目前我是用的是neroun的v2.6分支,dashboard使用的是v2.60 release包

./neuron --log 或者看下 log目录 neuron 日志 关于 dashboard 部分

./neuron --log
2023-09-26 12:44:01:427 [WARN] [neuron] daemon.c:175 write /tmp/neuron.pid, error Success(0)
2023-09-26 12:44:01:439 [NOTICE] [neuron] persist.c:448 schema head version=0050
2023-09-26 12:44:01:442 [NOTICE] [neuron] main.c:74 neuron start, daemon: 0, version: 2.6.0 (2693e59 2023-09-26)
2023-09-26 12:44:01:459 [NOTICE] [neuron] event_linux.c:293 add io, fd: 11, epoll: 8, ret: 0
2023-09-26 12:44:01:486 [NOTICE] [neuron] rest.c:57 bind url: http://0.0.0.0:7000
2023-09-26 12:44:01:493 [NOTICE] [neuron] rest.c:107 Success to create plugin: neuron-default-dashboard
2023-09-26 12:44:01:494 [ERROR] [neuron] neu_jwt.c:118 Open dir error: No such file or directory
2023-09-26 12:44:01:494 [NOTICE] [neuron] rest.c:140 Initialize plugin: neuron-default-dashboard
2023-09-26 12:44:01:494 [WARN] [neuron] persist.c:1294 SQL SELECT setting FROM settings WHERE node_name=? with default-dashboard fail: no more rows available
2023-09-26 12:44:01:494 [WARN] [neuron] storage.c:128 load default-dashboard setting fail
2023-09-26 12:44:01:495 [NOTICE] [neuron] event_linux.c:293 add io, fd: 14, epoll: 13, ret: 0
2023-09-26 12:44:01:495 [NOTICE] [neuron] event_linux.c:245 add timer, second: 30, millisecond: 0, timer: 17 in epoll 13, ret: 0
2023-09-26 12:44:01:496 [NOTICE] [neuron] adapter.c:213 Success to create adapter: default-dashboard
2023-09-26 12:44:01:497 [NOTICE] [neuron] manager.c:291 bind node default-dashboard to pipe(977349826)
2023-09-26 12:44:01:501 [WARN] [neuron] persist.c:187 persister fail to read persistence/plugins.json, reason: No such file or directory
2023-09-26 12:44:01:501 [WARN] [neuron] persist.c:771 cannot load user plugins
2023-09-26 12:44:01:503 [NOTICE] [neuron] plugin_manager.c:142 add plugin, name: MQTT, library: libplugin-mqtt.so, kind: 1, type: 2
2023-09-26 12:44:01:503 [NOTICE] [neuron] storage.c:357 load plugin success, lib:libplugin-mqtt.so
2023-09-26 12:44:01:504 [NOTICE] [neuron] plugin_manager.c:142 add plugin, name: eKuiper, library: libplugin-ekuiper.so, kind: 1, type: 2
2023-09-26 12:44:01:504 [NOTICE] [neuron] storage.c:357 load plugin success, lib:libplugin-ekuiper.so
2023-09-26 12:44:01:505 [NOTICE] [neuron] plugin_manager.c:142 add plugin, name: Monitor, library: libplugin-monitor.so, kind: 1, type: 2
2023-09-26 12:44:01:505 [NOTICE] [neuron] storage.c:357 load plugin success, lib:libplugin-monitor.so
2023-09-26 12:44:01:507 [NOTICE] [neuron] plugin_manager.c:142 add plugin, name: Modbus TCP, library: libplugin-modbus-tcp.so, kind: 1, type: 1
2023-09-26 12:44:01:507 [NOTICE] [neuron] storage.c:357 load plugin success, lib:libplugin-modbus-tcp.so
2023-09-26 12:44:01:508 [NOTICE] [neuron] plugin_manager.c:142 add plugin, name: Modbus RTU, library: libplugin-modbus-rtu.so, kind: 1, type: 1
2023-09-26 12:44:01:508 [NOTICE] [neuron] storage.c:357 load plugin success, lib:libplugin-modbus-rtu.so
2023-09-26 12:44:01:509 [NOTICE] [neuron] event_linux.c:245 add timer, second: 60, millisecond: 0, timer: 18 in epoll 8, ret: 0
2023-09-26 12:44:01:509 [NOTICE] [neuron] event_linux.c:245 add timer, second: 0, millisecond: 10, timer: 19 in epoll 8, ret: 0
2023-09-26 12:44:01:509 [NOTICE] [neuron] manager.c:146 manager start

这部分的log大概是什么原因导致的页面404?需要修改什么配置吗?

neuron 可以开debug日志,
./neuron --log --log_level DEBUG

配合浏览器debug工具看一下哪些请求失败了。

已经解决了问题,需要在使用ufw开放端口。谢谢支持