hongyonghan / docker_microsoft365_e5_renew_x Goto Github PK
View Code? Open in Web Editor NEWDocker版本的E5调用API续订服务:Microsoft 365 E5 Renew X
License: Apache License 2.0
Docker版本的E5调用API续订服务:Microsoft 365 E5 Renew X
License: Apache License 2.0
我自己部署了一个,想给我朋友也用,怎么开站点共享?
目前打开域名+/Account/Login,会提示
不支持的登录方式
此站点未开启站点共享!!
我有office 365 E5 ,但剛剛被强制过期了,改用Microsoft365_E5_Renew_X 再去自動續期可以嗎?
当前状态: 已暂停 (错误率过高-可能由应用程序缺少权限、新账号未初始化完成、Microsoft网络波动等因素造成)
调用方式: 登录调用
创建时间: 03/11/2023 10:26:25
上次调用时间: 03/11/2023 10:31:25
上次调用统计: 10 | 0 | 10
下次调用时间: NA
今日调用统计: 10 | 0 | 10
正常按照教程来的,但是就是报错,不知道咋回事,
增加用户信息配置文件位置说明,这样我可以在迁移docker的时候复制迁移
今天突然监控网页打不开了,ip加1066端口
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)
下载源码后挂载到/app
仍然报错,请问有什么解决办法吗
api调用时不时会出错,出错后不会重启,就会僵死在那。(和你交流过几次,布置是没有问题的,权限都正确)
希望改进一下,增加出错后能邮件通知什么的,或出错后暂停多少小时再自动重启任务。api频率虽然是随机的,但有时候随机数会很大,是否把这最大随机数调小一点。
个人openwrt 的docker 布置。
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版
arm无法启动容器
你好
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"}
使用过windwos客户端版本,在添加账号的时候有个一键自动管理API授权按钮,可以代表组织授权API权限。在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)
您好,
我配置完成後,但是運行之後出現大量失敗。
出現的錯誤如下:
个人联系人.类别.列出类别
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
失败
非常感謝您!
PC端的E5 Renew Plus可以适度降低调用频率选择实验性设置(实验性设置模拟865工作制) ,像docker这样的一般都是24小时运行,如果一天到晚调用API,是否就不是那么像开发者。
我使用了uptime-kuma来监控网站运行状态,但是他智能监控网站是否在线,无法监控账号是否运行正常。
之前一直报错TOKEN-HTTPER:The SSL connection could not be established, see inner exception.,但是由于我的服务器没有设置邮件提示,无法发现。
能否增加一个/health的API,当运行正常时返回{'status':'ok'},不正常时返回{'status': 'fail', 'count': 1}
cd deploy显示无效
在我添加完账号后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
有时候路由或者光猫重启,软件就会因为报错过多暂停账号。而自动特赦的时间为30天。。我就需要自己手动去执行特赦或者重启。一单因为网络原因报错后,能否改为1天后接着执行?
大佬能不能做个用户停止的推送呢?
目前很多签到或者续期的项目能显示通过TG,钉钉,微信这类的推送通知,如果能加上就太好了
比如通过WxPusher这种
https://wxpusher.zjiecode.com/docs/#/
我部署容器并运行的时候,出现了以下的报错:
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位处理器。
比如R2S R4S 斐讯N1这种ARMV8架构机器的Docker
#31 这是我折腾好了的。但今天一看出问题了
日志显示如下:
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
小白求教部署在koyeb上怎么修改管理员登录密码?
个人觉得railway部署是最简单的
而且这个也不会丢失数据
希望开发者可以考虑下
这个是部署当前版本报的错
Could not execute because the specified command or file was not found.
Possible reasons for this include:
可能的原因包括:
*您拼错了内置的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前缀可执行文件。
无法执行,因为找不到指定的命令或文件。
日志如下:
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(IList
1 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(IList
1 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(IList
1 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'.
还是运行安装命令吗
我愣是进不去deploy改配置文件密码……
docker.io/hanhongyong/ms365-e5-renew-x
1066
:123456
完成登陆:类似于heroku等云容器平台,koyeb也会有重启实例的现象,不过heroku是每天强制重启,koyeb是隔几天重启一次。每次重启都会丢失实例在部署后的所有更改,恢复到初次部署时的状态,也就是会重新部署一次,造成数据丢失。我三天前部署在koyeb上面的实例,现在已被重启。
其他支持部署在这些云平台的项目的解决办法就是站库分离,使用远端Mysql、postgreSQL储存数据,不过这对于RenewX显然是行不通的,差不多算是重构了。
所以koyeb目前只能算是临时搭建一下尝鲜使用,要不然隔几天就丢数据还真吃不消。
还有个不是办法的办法,提前构建一个已经配置好账号等数据的docker镜像,一旦部署就能跑起来,不过灵活性就没那么高了。
请问一下docker版本下,账号配置文件在什么地方?因为我每次重建容器后,原有的账号都消失了,都需要重新配置。我估计是因为账号配置没有映射出来的关系。但是我水平比较差,容器里没有找到相关文件,从而无法映射出来。
希望大佬能帮忙指点一下,感谢!
arm64v8启动失败,日志显示:exec /bin/sh: exec format error
暂时退回到arm版本
变成失败之后,点一下编辑,然后点保存就好了,就能成功调用了,感觉很匪夷所思
我这里接口都显示200 成功,
是不是已经可以了?
我使用的是 非登录调用
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.
感谢大佬提供这么好用的工具并一直保持更新,对于新的邮箱功能提供2个建议:
1、发送和接收邮件的配置能否改为在Config.xml里进行配置。
2、每日18点的定时邮件能否改为有错误被暂停的账号才发送。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.