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

最新开发版缺少user/uploads文件夹,导致安装报错 #1178

Closed
hiBlunt opened this issue Sep 14, 2021 · 3 comments
Closed

最新开发版缺少user/uploads文件夹,导致安装报错 #1178

hiBlunt opened this issue Sep 14, 2021 · 3 comments

Comments

@hiBlunt
Copy link

hiBlunt commented Sep 14, 2021

1. 该问题的重现步骤是什么?

1.下载最新开发版本,并解压
2.网页打开安装界面,点击“开始下一步”
3.页面提示“上传目录无法写入”

2. 你期待的结果是什么?实际看到的又是什么?

期待:进入下一步安装界面
实际:上传目录无法写入

3. 问题出现的环境

  • 操作系统版本:centos7
  • Apache/NGINX 版本:docker caddy:2.4.5-alpine
  • 数据库版本:mysql 5.7
  • PHP 版本:php 7.2
  • Typecho 版本:5d20d57be93560cdcd4833be5794bc7be7f69401
  • 浏览器版本:chrome 93.0.4577.63
    安装报错
    正式版与开发板对比
@hiBlunt
Copy link
Author

hiBlunt commented Sep 14, 2021

建议解决方案:
方案一:开发版下载包包含该文件夹
方案二:install脚本中创建该文件夹

@joyqi
Copy link
Member

joyqi commented Sep 14, 2021

实际上之前的代码包含了uploads目录,但是由于github actions的artifact无法保存空目录,所以被它自动忽略了。我们已经用新的方法打包了目录,并替换了链接。

@joyqi joyqi closed this as completed Sep 14, 2021
@hiBlunt
Copy link
Author

hiBlunt commented Sep 15, 2021

新打包的版本已经包含uploads文件夹,感谢您的工作。
但uploads文件夹权限被错误设为777,这可能会导致安全风险,请尽快修复。

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