dgiot / dgiot_deploy

DG-IoT 服务器Saas平台开发与部署
Apache License 2.0
11 stars 9 forks source link

acf170dea2接口报错 #6

Open xysshgmq opened 3 years ago

xysshgmq commented 3 years ago

您好,我在使用你们提供的Linux部署方式部署(2021-07-21部署)成功后,进行了产品的配置。但是出现了一个接口的报错问题: /iotapi/app/acf170dea2 返回:{code: 119, error: "GET_APP_DEVICEID Forbidden"}

/iotapi/echart/acf170dea2?starttime=1626681876180&endtime=1627286676180&interval=1d&keys=*&limit=10&function=last&style=histogram

返回:error: "{{case_clause,{[<<\"温度\">>,<<\"湿度\">>],\n {error,#{<<\"code\">> => 866,\n <<\"desc\">> => <<\"Table does not exist\">>}}}},\n [{shuwa_tdengine_handler,get_chartdata,4,\n [{file,\"/opt/ci/dgiot_server/_build/dgiot/lib/shuwa_td/src/handler/shuwa_tdengine_handler.erl\"},\n {line,208}]},\n {shuwa_tdengine_handler,handle,4,\n [{file,\"/opt/ci/dgiot_server/_build/dgiot/lib/shuwa_td/src/handler/shuwa_tdengine_handler.erl\"},\n {line,45}]},\n {shuwa_rest,do_request,3,\n [{file,\"/opt/ci/dgiot_server/_build/dgiot/lib/shuwa_web_manager/src/shuwa_rest.erl\"},\n {line,293}]},\n {shuwa_rest,handle_request,2,\n [{file,\"/opt/ci/dgiot_server/_build/dgiot/lib/shuwa_web_manager/src/shuwa_rest.erl\"},\n {line,262}]},\n {cowboy_rest,call,3,\n [{file,\"/opt/ci/dgiot_server/_checkouts/cowboy/src/cowboy_rest.erl\"},\n {line,1576}]},\n {cowboy_rest,set_resp_body,2,\n [{file,\"/opt/ci/dgiot_server/_checkouts/cowboy/src/cowboy_rest.erl\"},\n {line,1466}]},\n {cowboy_rest,upgrade,4,\n [{file,\"/opt/ci/dgiot_server/_checkouts/cowboy/src/cowboy_rest.erl\"},\n {line,288}]},\n {cowboy_stream_h,execute,3,\n [{file,\"/opt/ci/dgiot_server/_checkouts/cowboy/src/cowboy_stream_h.erl\"},\n {line,320}]}]}"

dawnwinterLiu commented 3 years ago

你好,版本稍做更新,明天中午前发布新版本请关注

xysshgmq commented 3 years ago

好的。更新完版本后。还是用你们文档中的更新版本的命令来更新吧

发件人: @.> 发送时间: 2021年7月26日 18:08 收件人: @.> 抄送: @.>; @.> 主题: Re: [dgiot/dgiot_deploy] acf170dea2接口报错 (#6)

你好,版本稍做更新,明天中午前发布新版本请关注

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgiot/dgiot_deploy/issues/6#issuecomment-886563742, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARJ7SDODL6T3BG673JNBPHTTZUX3JANCNFSM5A7XKPKQ.

dawnwinterLiu commented 3 years ago

最好能把服务器重装一下,改动有点大

xysshgmq commented 3 years ago

必须要服务器重装吗?代价太大了。只按照你们提供的命令更新不行吗? @.***D7824C.D0A15B80]

发件人: @.> 发送时间: 2021年7月26日 18:30 收件人: @.> 抄送: @.>; @.> 主题: Re: [dgiot/dgiot_deploy] acf170dea2接口报错 (#6)

最好能把服务器重装一下,改动有点大

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgiot/dgiot_deploy/issues/6#issuecomment-886579525, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARJ7SDNKB35Y4P5WDY5OTV3TZU2NTANCNFSM5A7XKPKQ.

dawnwinterLiu commented 3 years ago

安装脚本重新跑一次就可以了,30分钟就可以全部装好了

xysshgmq commented 3 years ago

您好,版本已经更新了吗? 你之前的意思是按照下图中的命令重新执行一下?我看脚本里面有安装一些东西,这个不影响吗? @.***

发件人: @.> 发送时间: 2021年7月26日 18:46 收件人: @.> 抄送: @.>; @.> 主题: Re: [dgiot/dgiot_deploy] acf170dea2接口报错 (#6)

安装脚本重新跑一次就可以了,30分钟就可以全部装好了

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgiot/dgiot_deploy/issues/6#issuecomment-886589642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARJ7SDK7XA4OCMPCEBR5K7TTZU4JDANCNFSM5A7XKPKQ.

dawnwinterLiu commented 3 years ago

是的,重新拉取最新的脚本,修改公网ip,执行就好了

xysshgmq commented 3 years ago

您好,按照脚本重新执行了一遍,但是报错: 脚本: @.*** 报错信息:

@.***

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: @.> 发送时间: 2021年7月28日 10:07 收件人: @.> 抄送: @.>; @.> 主题: Re: [dgiot/dgiot_deploy] acf170dea2接口报错 (#6)

是的,重新拉取最新的脚本,修改公网ip,执行就好了

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgiot/dgiot_deploy/issues/6#issuecomment-887953687, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARJ7SDO35K422ROJ4Y333X3TZ5Q7JANCNFSM5A7XKPKQ.

dawnwinterLiu commented 3 years ago

systemctl start dgiot 这个命令脚本有问题,刚发现,我修改一下

xysshgmq commented 3 years ago

您好,现在按照你们提供的命令,不能启动,不能访问。还要麻烦你们有时间处理一下,处理完了,还请告诉一下该如何操作。

发件人: @.> 发送时间: 2021年7月28日 20:21 收件人: @.> 抄送: @.>; @.> 主题: Re: [dgiot/dgiot_deploy] acf170dea2接口报错 (#6)

systemctl start dgiot 这个命令脚本有问题,刚发现,我修改一下

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/dgiot/dgiot_deploy/issues/6#issuecomment-888264479, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARJ7SDMCHFZSOAQWOAJVY4LTZ7Y5XANCNFSM5A7XKPKQ.