Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

续期成功,但是微信推送报错 #64

Open
wowpala opened this issue Mar 29, 2022 · 7 comments
Open

续期成功,但是微信推送报错 #64

wowpala opened this issue Mar 29, 2022 · 7 comments

Comments

@wowpala
Copy link

wowpala commented Mar 29, 2022

腾讯云部署。

续期成功,但是微信推送报错,如下:

主人,出错了,There is no existing directory at "/var/user/logs/2022-03" and its not buildable: Read-only file system

具体是在/var/user/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php文件的第174行,抛出了一个异常。异常的内容是There is no existing directory at "/var/user/logs/2022-03" and its not buildable: Read-only file system,快去看看吧。(账户:[email protected]

日志如下:

[2022-03-29 12:12:26] 出错:There is no existing directory at "/var/user/logs/2022-03" and its not buildable: Read-only file system [{"file":"/var/user/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php","line":99,"function":"createDir","class":"Monolog\Handler\StreamHandler","type":"->","args":[]},{"file":"/var/user/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php","line":39,"function":"write","class":"Monolog\Handler\StreamHandler","type":"->","args":[{"message":"账户:[email protected]\n续期结果如下:\n","context":

重新运行一遍函数,微信推送正常。

报告,今天没有域名需要续期

我刚刚帮小主看了一下,账户 [email protected] 今天并没有需要续期的域名。所有域名情况如下:
xxx.xx 还有 345 天到期
更多信息可以参考 Freenom官网 哦~

@luolongfei
Copy link
Owner

这个是因为云函数上系统除 /tmp 外的所有目录都变成只读的了,程序尝试写日志会有权限问题,新版应该不会有这个问题了,下载新版 zip 试试。

@luolongfei
Copy link
Owner

@wowpala
Copy link
Author

wowpala commented Mar 29, 2022

这个月部署的,应该就是0.4.5

version

[2022-03-29 12:12:13] 当前程序版本 v0.4.5
[2022-03-29 12:12:13] 共发现 1 个 freenom 账户

@luolongfei
Copy link
Owner

下载包更新过,里面的版本号没换,所以你可能不是最新的

@wowpala
Copy link
Author

wowpala commented Mar 29, 2022

已更新,等明年才知道结果了。谢谢!

@luolongfei
Copy link
Owner

明天就能知道结果,因为程序每天都会执行,如果写不了日志,明天就应该抛出错误。

@wowpala
Copy link
Author

wowpala commented Mar 29, 2022

如果没有需要更新的域名,是一切正常,不报错的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants