Git Product home page Git Product logo

docker_microsoft365_e5_renew_x's People

Contributors

hongyonghan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker_microsoft365_e5_renew_x's Issues

arm64v8启动失败

arm64v8启动失败,日志显示:exec /bin/sh: exec format error
暂时退回到arm版本

邮箱通知乱码

按照 **Email通知功能(推荐,20230402更新。)**方法进行部署,但收到的邮件全是乱码
20230411010456

非登录调用有失败的调用

按照配置说明,增加了11个相关API的权限
Calendars.Read;Contacts.Read;Directory.Read.All;Files.Read.All;Files.ReadWrite.All;Mail.Read;Mail.Send;MailboxSettings.Read;Notes.Read.All;Sites.Read.All;User.Read.All;
image

但是在后台看到有3个API还是有100%报错,不知道是哪里配置错误了。
用户.见解.列出趋势
网站和列表.网站.关注网站列表
人员和工作场所智能.见解.列出趋势
image

关于邮箱通知的建议

感谢大佬提供这么好用的工具并一直保持更新,对于新的邮箱功能提供2个建议:
1、发送和接收邮件的配置能否改为在Config.xml里进行配置。
2、每日18点的定时邮件能否改为有错误被暂停的账号才发送。

openwrt上docker运行不能启动

一直稳定在openwrt上的docker稳定运行,但是昨天重启了一次openwrt,发现renew不能启动了,以为端口被占用了,又重新创建一个1077端口的容器,但是还是不行,不知道原因是什么。
截屏2022-09-24 14 03 02

时区不生效,挂载目录会无法启动,以及自己构建镜像的一点疑问

x86_64 架构 Linux VPS

时区问题

我看Dockerfile是有设置的,我甚至在 docker run 的时候还重新指定了一次,但网页还是慢8小时,进容器内查看时区还是 UTC

挂载问题

初始化时如果用 -v 挂载目录,会出现无法启动的情况
若挂载的目录是 /app,日志

  It was not possible to find any installed .NET Core SDKs
  Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
      https://aka.ms/dotnet-download

如果挂载的目录是 /app/Deploy,日志

Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
   at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at ̀̀̀ 
̀̀̀̀̔̍.̀̀̀ 
̀̀̀̀̄̕(Object , ̀̀̀ 
̀̀̀̀̔̍ )
   at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
   at Microsoft365_E5_Renew_X.Program.Main(String[] args)

对于 /app/Deploy,提前创建好Config.xml可以暂时解决,但教程里并没有提到。
另外我之前使用其它Docker项目时,一般遇到这种情况,容器是会自动生成配置文件的,所以在这里也提一句。

自己构建

直接 git clone 本仓库,构建之后运行会报错

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET Core program, but dotnet-Microsoft365_E5_Renew_X.dll does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

不知是否和构建过程中的这个提示有关

Step 10/11 : RUN dotnet dev-certs https
 ---> Running in 7a6d76f3398e
A valid HTTPS certificate with a key accessible across security partitions was not found. The following command will run to fix it:
'sudo security set-key-partition-list -D localhost -S unsigned:,teamid:UBF8T346G9'
This command will make the certificate key accessible across security partitions and might prompt you for your password. For more information see: https://aka.ms/aspnetcore/2.1/troubleshootcertissues
A valid HTTPS certificate with a key accessible across security partitions was not found. The following command will run to fix it:
'sudo security set-key-partition-list -D localhost -S unsigned:,teamid:UBF8T346G9'
This command will make the certificate key accessible across security partitions and might prompt you for your password. For more information see: https://aka.ms/aspnetcore/3.1/troubleshootcertissues
The HTTPS developer certificate was generated successfully.
Removing intermediate container 7a6d76f3398e

另外这样构建出来的镜像应该是完整版,不知道如何构建 slim版

希望增加备份说明

增加用户信息配置文件位置说明,这样我可以在迁移docker的时候复制迁移

请问docker版的API调用频率怎么设置

PC端的E5 Renew Plus可以适度降低调用频率选择实验性设置(实验性设置模拟865工作制) ,像docker这样的一般都是24小时运行,如果一天到晚调用API,是否就不是那么像开发者。

推送咨询

大佬能不能做个用户停止的推送呢?
目前很多签到或者续期的项目能显示通过TG,钉钉,微信这类的推送通知,如果能加上就太好了

比如通过WxPusher这种
https://wxpusher.zjiecode.com/docs/#/

增加32位处理器arm v5的支持

我部署容器并运行的时候,出现了以下的报错:
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
be49221d0d88ba327756cee1f1ff66bab831997db41fa0d536f6633331d14806
我使用的是玩客云小主机,soc是晶晨s805,是一颗armv5的32位处理器。

docker在映射/app目录后无法正常启动

日志显示如下:
root@WushNAS:~# docker logs hanhongyong-ms365-e5-renew-x
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download
It was not possible to find any installed .NET Core SDKs
Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
https://aka.ms/dotnet-download

配置完成後運行失敗

您好,
我配置完成後,但是運行之後出現大量失敗。
出現的錯誤如下:

个人联系人.类别.列出类别
TOKEN-HTTPER:Resource temporarily unavailable
失败
日历.日历.列出日历
TOKEN-HTTPER:Resource temporarily unavailable
失败
用户.见解.共享的列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
人员和工作场所智能.见解.共享的列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
用户.用户设置.获取设置
TOKEN-HTTPER:Resource temporarily unavailable
失败
人员和工作场所智能.见解.列出趋势
TOKEN-HTTPER:Resource temporarily unavailable
失败
邮件.邮件文件夹.列出邮件文件夹
TOKEN-HTTPER:Resource temporarily unavailable
失败
文件.驱动器.列出子项
TOKEN-HTTPER:Resource temporarily unavailable
失败
人员和工作场所智能.见解.使用的列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
用户.用户.列出用户
TOKEN-HTTPER:Resource temporarily unavailable
失败
用户.见解.使用的列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
客户预订(预览版).预订货币.列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
文件.驱动器项目.上载
TOKEN-HTTPER:Resource temporarily unavailable
失败
组.组.列出组
TOKEN-HTTPER:Resource temporarily unavailable
失败
日历.日历组.列出日历组
TOKEN-HTTPER:Resource temporarily unavailable
失败
网站和列表.网站.关注网站列表
TOKEN-HTTPER:Resource temporarily unavailable
失败
邮件.规则.列出规则
TOKEN-HTTPER:Resource temporarily unavailable
失败
个人联系人.联系人.列出联系人
TOKEN-HTTPER:Resource temporarily unavailable
失败

非常感謝您!

建议增加一个railway部署的版本 目前版本可以一键部署到railway但是会报错

个人觉得railway部署是最简单的
而且这个也不会丢失数据
希望开发者可以考虑下
这个是部署当前版本报的错
Could not execute because the specified command or file was not found.
Possible reasons for this include:

  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET Core program, but dotnet-Microsoft365_E5_Renew_X.dll does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
    Could not execute because the specified command or file was not found.
    Possible reasons for this include:
  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET Core program, but dotnet-Microsoft365_E5_Renew_X.dll does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
    Could not execute because the specified command or file was not found.
    Possible reasons for this include:
  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET Core program, but dotnet-Microsoft365_E5_Renew_X.dll does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
  • 无法执行,因为找不到指定的命令或文件。

可能的原因包括:

*您拼错了内置的dotnet命令。

*您打算执行。NET核心程序,但dotnet-Microsoft365 E5 Renew X.dll不存在。

*您打算运行全局工具,但在路径上找不到带有此名称的dotnet前缀可执行文件。

无法执行,因为找不到指定的命令或文件。

可能的原因包括:

*您拼错了内置的dotnet命令。

*您打算执行。NET核心程序,但dotnet-Microsoft365 E5 Renew X.dll不存在。

*您打算运行全局工具,但在路径上找不到带有此名称的dotnet前缀可执行文件。

无法执行,因为找不到指定的命令或文件。

可能的原因包括:

*您拼错了内置的dotnet命令。

*您打算执行。NET核心程序,但dotnet-Microsoft365 E5 Renew X.dll不存在。

*您打算运行全局工具,但在路径上找不到带有此名称的dotnet前缀可执行文件。

无法执行,因为找不到指定的命令或文件。

可能的原因包括:

*您拼错了内置的dotnet命令。

*您打算执行。NET核心程序,但dotnet-Microsoft365 E5 Renew X.dll不存在。

*您打算运行全局工具,但在路径上找不到带有此名称的dotnet前缀可执行文件。

无法执行,因为找不到指定的命令或文件。

能否增加/health接口以供监控运行状态

我使用了uptime-kuma来监控网站运行状态,但是他智能监控网站是否在线,无法监控账号是否运行正常。

之前一直报错TOKEN-HTTPER:The SSL connection could not be established, see inner exception.,但是由于我的服务器没有设置邮件提示,无法发现。

能否增加一个/health的API,当运行正常时返回{'status':'ok'},不正常时返回{'status': 'fail', 'count': 1}

请问docker版如何映射需要跑的账号配置?

请问一下docker版本下,账号配置文件在什么地方?因为我每次重建容器后,原有的账号都消失了,都需要重新配置。我估计是因为账号配置没有映射出来的关系。但是我水平比较差,容器里没有找到相关文件,从而无法映射出来。
希望大佬能帮忙指点一下,感谢!

部署在koyeb等PaaS平台有个致命问题:云容器重启丢失所有数据

类似于heroku等云容器平台,koyeb也会有重启实例的现象,不过heroku是每天强制重启,koyeb是隔几天重启一次。每次重启都会丢失实例在部署后的所有更改,恢复到初次部署时的状态,也就是会重新部署一次,造成数据丢失。我三天前部署在koyeb上面的实例,现在已被重启。

image

其他支持部署在这些云平台的项目的解决办法就是站库分离,使用远端Mysql、postgreSQL储存数据,不过这对于RenewX显然是行不通的,差不多算是重构了。

所以koyeb目前只能算是临时搭建一下尝鲜使用,要不然隔几天就丢数据还真吃不消。

还有个不是办法的办法,提前构建一个已经配置好账号等数据的docker镜像,一旦部署就能跑起来,不过灵活性就没那么高了。

特赦时间能否修改的短一点

有时候路由或者光猫重启,软件就会因为报错过多暂停账号。而自动特赦的时间为30天。。我就需要自己手动去执行特赦或者重启。一单因为网络原因报错后,能否改为1天后接着执行?

新账号未初始化完成

image

请问下
“应用程序(客户端)ID”是否是“对象 ID”
image

“账号密码/客户端机密”是否填写 子账号密码或证书中客服端密码都行?

当前状态: 已暂停 (错误率过高-可能由应用程序缺少权限、新账号未初始化完成、Microsoft网络波动等因素造成)

调用方式: 登录调用

创建时间: 02/04/2023 18:36:39

上次调用时间: 02/04/2023 18:49:56

上次调用统计: 11 | 0 | 11

下次调用时间: NA

今日调用统计: 23 | 0 | 23

image

启动后停留在登录界面,无法添加运行账户

docker log

e5renewx    | warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
e5renewx    |       Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
e5renewx    | warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
e5renewx    |       No XML encryptor configured. Key {bb0335e0-8dcf-4932-8679-6ef82f93564d} may be persisted to storage in unencrypted form.
e5renewx    | info: Microsoft.Hosting.Lifetime[0]
e5renewx    |       Now listening on: http://[::]:1066
e5renewx    | info: Microsoft.Hosting.Lifetime[0]
e5renewx    |       Application started. Press Ctrl+C to shut down.
e5renewx    | info: Microsoft.Hosting.Lifetime[0]
e5renewx    |       Hosting environment: Production
e5renewx    | info: Microsoft.Hosting.Lifetime[0]
e5renewx    |       Content root path: /app
e5renewx    | fail: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery[7]
e5renewx    |       An exception was thrown while deserializing the token.
e5renewx    | Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
e5renewx    |  ---> System.Security.Cryptography.CryptographicException: The key {ab8c41d2-3f7f-464b-9872-c8940fa93756} was not found in the key ring.
e5renewx    |    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
e5renewx    |    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
e5renewx    |    at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
e5renewx    |    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
e5renewx    |    --- End of inner exception stack trace ---
e5renewx    |    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
e5renewx    |    at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)

账户设置、系统设置均为以下界面(输入密码后仍为该界面)
image

下载源码后挂载到/app仍然报错,请问有什么解决办法吗

Change Admin account password

Can you help me how to change admin account password on koyeb? I used koyeb's Console with command vim Config.xml but it doesn't show up as your instructions.

docker启动不起来

你好
docker run -d -p 1066:1066 hanhongyong/ms365-e5-renew-x:latest
启动不了容器
这是log
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:36.218931443Z"}
{"log":" Application is shutting down...\n","stream":"stdout","time":"2023-01-26T08:39:36.218987023Z"}
{"log":"\u001b[40m\u001b[1m\u001b[33mwarn\u001b[39m\u001b[22m\u001b[49m: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]\n","stream":"stdout","time":"2023-01-26T08:39:36.293889113Z"}
{"log":" Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.\n","stream":"stdout","time":"2023-01-26T08:39:36.294025437Z"}
{"log":"\u001b[40m\u001b[1m\u001b[33mwarn\u001b[39m\u001b[22m\u001b[49m: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]\n","stream":"stdout","time":"2023-01-26T08:39:36.408418543Z"}
{"log":" No XML encryptor configured. Key {bc329cf5-a681-461f-9283-f91ab4cbde2e} may be persisted to storage in unencrypted form.\n","stream":"stdout","time":"2023-01-26T08:39:36.408467944Z"}
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:41.292160432Z"}
{"log":" Waiting for the host to be disposed. Ensure all 'IHost' instances are wrapped in 'using' blocks.\n","stream":"stdout","time":"2023-01-26T08:39:41.292204559Z"}
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:41.910594777Z"}
{"log":" Now listening on: http://[::]:1066\n","stream":"stdout","time":"2023-01-26T08:39:41.910646512Z"}
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:41.911127603Z"}
{"log":" Application started. Press Ctrl+C to shut down.\n","stream":"stdout","time":"2023-01-26T08:39:41.911144358Z"}
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:41.911344887Z"}
{"log":" Hosting environment: Production\n","stream":"stdout","time":"2023-01-26T08:39:41.911359791Z"}
{"log":"\u001b[40m\u001b[32minfo\u001b[39m\u001b[22m\u001b[49m: Microsoft.Hosting.Lifetime[0]\n","stream":"stdout","time":"2023-01-26T08:39:41.911556696Z"}
{"log":" Content root path: /app\n","stream":"stdout","time":"2023-01-26T08:39:41.911571321Z"}

怎么开站点共享?

我自己部署了一个,想给我朋友也用,怎么开站点共享?
目前打开域名+/Account/Login,会提示
不支持的登录方式
此站点未开启站点共享!!

关于无法保存数据

在我添加完账号后reboot,再次开启服务,登录后发现一切被重置了

配置如下:

Archlinux

docker version:
Client:
Version: 20.10.14
API version: 1.41
Go version: go1.18
Git commit: a224086349
Built: Thu Mar 24 08:56:17 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server:
Engine:
Version: 20.10.14
API version: 1.41 (minimum version 1.12)
Go version: go1.18
Git commit: 87a90dc786
Built: Thu Mar 24 08:56:03 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.6.2
GitCommit: de8046a5501db9e0e478e1c10cbcfb21af4c6b2d.m
runc:
Version: 1.1.1
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0

启动命令:docker run -d -p 1066:1066 -v /home/yanserver/Microsoft365_E5_Renew_X/Deploy:/Deploy hanhongyong/ms365-e5-renew-x:latest
目录:
yanserver/
├── Desktop
├── Documents
├── Downloads
├── Microsoft365_E5_Renew_X
│   ├── Deploy
│   └── wwwroot
├── Music
├── Pictures
├── Public
├── Templates
└── Videos

调用api报错

当前状态: 已暂停 (错误率过高-可能由应用程序缺少权限、新账号未初始化完成、Microsoft网络波动等因素造成)
调用方式: 登录调用
创建时间: 03/11/2023 10:26:25
上次调用时间: 03/11/2023 10:31:25
上次调用统计: 10 | 0 | 10
下次调用时间: NA
今日调用统计: 10 | 0 | 10
正常按照教程来的,但是就是报错,不知道咋回事,

群晖docker安装无法启动

如题
设置截图如下:
image
环境配置部分未调整,使用默认
image

日志如下:

2023-02-12 05:23:40 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args)
2023-02-12 05:23:40 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
2023-02-12 05:23:40 stdout )
2023-02-12 05:23:40 stdout (Object , ̀̀̀
2023-02-12 05:23:40 stdout .̀̀̀
2023-02-12 05:23:40 stdout at ̀̀̀
2023-02-12 05:23:40 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
2023-02-12 05:23:40 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers) 2023-02-12 05:23:40 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() 2023-02-12 05:23:40 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) 2023-02-12 05:23:40 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info) 2023-02-12 05:23:40 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'. 2023-02-12 05:23:34 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args) 2023-02-12 05:23:34 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath) 2023-02-12 05:23:34 stdout ) 2023-02-12 05:23:34 stdout (Object , ̀̀̀ 2023-02-12 05:23:34 stdout .̀̀̀ 2023-02-12 05:23:34 stdout at ̀̀̀ 2023-02-12 05:23:34 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() 2023-02-12 05:23:34 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers)
2023-02-12 05:23:34 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
2023-02-12 05:23:34 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
2023-02-12 05:23:34 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
2023-02-12 05:23:34 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.
2023-02-12 05:23:30 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args)
2023-02-12 05:23:30 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
2023-02-12 05:23:30 stdout )
2023-02-12 05:23:30 stdout (Object , ̀̀̀
2023-02-12 05:23:30 stdout .̀̀̀
2023-02-12 05:23:30 stdout at ̀̀̀
2023-02-12 05:23:30 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
2023-02-12 05:23:30 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers) 2023-02-12 05:23:30 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() 2023-02-12 05:23:30 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) 2023-02-12 05:23:30 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info) 2023-02-12 05:23:30 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'. 2023-02-12 05:23:27 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args) 2023-02-12 05:23:27 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath) 2023-02-12 05:23:27 stdout ) 2023-02-12 05:23:27 stdout (Object , ̀̀̀ 2023-02-12 05:23:27 stdout .̀̀̀ 2023-02-12 05:23:27 stdout at ̀̀̀ 2023-02-12 05:23:27 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() 2023-02-12 05:23:27 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers)
2023-02-12 05:23:27 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
2023-02-12 05:23:27 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
2023-02-12 05:23:27 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
2023-02-12 05:23:27 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.
2023-02-12 05:23:24 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args)
2023-02-12 05:23:24 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
2023-02-12 05:23:24 stdout )
2023-02-12 05:23:24 stdout (Object , ̀̀̀
2023-02-12 05:23:24 stdout .̀̀̀
2023-02-12 05:23:24 stdout at ̀̀̀
2023-02-12 05:23:24 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
2023-02-12 05:23:24 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers) 2023-02-12 05:23:24 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load() 2023-02-12 05:23:24 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload) 2023-02-12 05:23:24 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info) 2023-02-12 05:23:24 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'. 2023-02-12 05:23:20 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args) 2023-02-12 05:23:20 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath) 2023-02-12 05:23:20 stdout ) 2023-02-12 05:23:20 stdout (Object , ̀̀̀ 2023-02-12 05:23:20 stdout .̀̀̀ 2023-02-12 05:23:20 stdout at ̀̀̀ 2023-02-12 05:23:20 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() 2023-02-12 05:23:20 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList1 providers)
2023-02-12 05:23:20 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
2023-02-12 05:23:20 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
2023-02-12 05:23:20 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
2023-02-12 05:23:20 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.
2023-02-12 05:23:15 stdout at Microsoft365_E5_Renew_X.Program.Main(String[] args)
2023-02-12 05:23:15 stdout at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
2023-02-12 05:23:15 stdout )
2023-02-12 05:23:15 stdout (Object , ̀̀̀
2023-02-12 05:23:15 stdout .̀̀̀
2023-02-12 05:23:15 stdout at ̀̀̀
2023-02-12 05:23:15 stdout at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
2023-02-12 05:23:15 stdout at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
2023-02-12 05:23:15 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
2023-02-12 05:23:15 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
2023-02-12 05:23:15 stdout at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
2023-02-12 05:23:15 stdout Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.

大神,几个建议,希望改进

api调用时不时会出错,出错后不会重启,就会僵死在那。(和你交流过几次,布置是没有问题的,权限都正确)

希望改进一下,增加出错后能邮件通知什么的,或出错后暂停多少小时再自动重启任务。api频率虽然是随机的,但有时候随机数会很大,是否把这最大随机数调小一点。

个人openwrt 的docker 布置。

docker启动失败

CentOS8

Unhandled exception. System.IO.FileNotFoundException: The configuration file 'Config.xml' was not found and is not optional. The physical path is '/app/Deploy/Config.xml'.
at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at ̀̀̀
̀.̀̀̀
̀(Object , ̀̀̀
̀ )
at Microsoft365_E5_Renew_X.Core.SystemConfig.Static.LoadXMLConfig(String XMLFilePath)
at Microsoft365_E5_Renew_X.Program.Main(String[] args)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.