全球主机交流论坛

标题: Chevereto升级请教 [打印本页]

作者: pxy185    时间: 2025-5-27 05:18
标题: Chevereto升级请教
我原本是4.13版本的,现在都更新到4.3了 我想升级,但是每次升级都提示需要php8.1以上,我安装了php8.1后网站提示出问题了,需要什么什么的,试过几次还是不行。不知道是不是还需要安装什么环境。有没有的大佬升级成功过的,请教请教
作者: 一只路过的300块    时间: 2025-5-27 08:27
还需要环节?不是直接运行程序么
作者: pxy185    时间: 2025-5-27 10:05
一只路过的300块 发表于 2025-5-27 08:27
还需要环节?不是直接运行程序么

不是哦。升级成功不得行
作者: tomcb    时间: 2025-5-27 10:32
去文档看环境要求
作者: 张汪杨希    时间: 2025-5-27 10:45
用宝塔搭建的就别升4.3  
作者: pxy185    时间: 2025-5-27 11:49
张汪杨希 发表于 2025-5-27 10:45
用宝塔搭建的就别升4.3

啊,为啥了。
作者: tomcb    时间: 2025-5-27 13:01
张汪杨希 发表于 2025-5-27 10:45
用宝塔搭建的就别升4.3

我用宝塔,现在是4.3.2
作者: tomcb    时间: 2025-5-27 13:12
PHP要大于8.1.28,低于8.3,禁用函数要删除putenv,proc_open,proc_close
    curl
    exif
    fileinfo
    gd
    hash
    imagick
    json
    pdo
    pdo-mysql
    session

mysql要8.0.1以上,
站点要关闭防跨站攻击(open_basedir)。

基本就差不多这些,还报错的话就发错误日志。

作者: pxy185    时间: 2025-5-27 13:21
tomcb 发表于 2025-5-27 13:12
PHP要大于8.1.28,低于8.3,禁用函数要删除putenv,proc_open,proc_close
    curl
    exif

马上试试,感谢。
作者: pxy185    时间: 2025-5-27 13:42
tomcb 发表于 2025-5-27 13:12
PHP要大于8.1.28,低于8.3,禁用函数要删除putenv,proc_open,proc_close
    curl
    exif

Something went wrong
Please try again later. If the problem persists don't hesitate to contact the system administrator.

2025-05-27T05:41:36+00:00 • 6835509022c30

# Why am I seeing this?
For security reasons, detailed error information is not shown. This incident has been logged and will be reviewed by the system administrator.

# Administrator guide
Refer to the Chevereto documentation to understand how to debug this error.
Need help? Visit Chevereto support to open a ticket.



网站升级后 就提示这个。
作者: tomcb    时间: 2025-5-27 13:52
pxy185 发表于 2025-5-27 13:42
Something went wrong
Please try again later. If the problem persists don't hesitate to contact the ...

去配置文件设置日志保存位置,然后去看报错日志。
CHEVERETO_ERROR_LOG

https://v4-docs.chevereto.com/application/reference/errors.html#something-went-wrong


或者开启xrDebug,会显示报错日志。

https://v4-docs.chevereto.com/developer/how-to/debug.html#debug-with-user-interface
作者: pxy185    时间: 2025-5-27 14:24
tomcb 发表于 2025-5-27 13:52
去配置文件设置日志保存位置,然后去看报错日志。
CHEVERETO_ERROR_LOG

老哥 ,这是啥错误啊
作者: opelnic    时间: 2025-5-27 16:46
putenv是不是被禁用了?
作者: tomcb    时间: 2025-5-27 17:34
pxy185 发表于 2025-5-27 14:24
老哥 ,这是啥错误啊

检查PHP里putenv函数有没有被禁用
作者: pxy185    时间: 2025-5-27 17:40
tomcb 发表于 2025-5-27 17:34
检查PHP里putenv函数有没有被禁用

我在禁用函数里面删除它就行了么
作者: pxy185    时间: 2025-5-27 17:41
opelnic 发表于 2025-5-27 16:46
putenv是不是被禁用了?

好像是,我删除下试试
作者: pxy185    时间: 2025-5-27 17:49
tomcb 发表于 2025-5-27 17:34
检查PHP里putenv函数有没有被禁用

阔以了。现在去升级数据库。
作者: pxy185    时间: 2025-5-27 18:05
tomcb 发表于 2025-5-27 17:34
检查PHP里putenv函数有没有被禁用

升级成功后后台
这个几个会提示错误,这几个我都安装了的。
ExifTool:         ExifTool bin:exiftool
ExifTool binary not found at PATH
ExifTran:         ExifTran bin: exiftran
ExifTran binary not found at PATH
FFmpeg:         FFmpeg bin: ffmpeg
FFmpeg binary not found at PATH
FFprobe bin: ffprobe
FFprobe binary not found at PATH
作者: tomcb    时间: 2025-5-27 19:13
pxy185 发表于 2025-5-27 18:05
升级成功后后台
这个几个会提示错误,这几个我都安装了的。
ExifTool:         ExifTool bin:exiftool

https://v4-docs.chevereto.com/application/configuration/environment.html#binary-paths

  'CHEVERETO_BINARY_FFMPEG' => '',
  'CHEVERETO_BINARY_FFPROBE' => '',
  'CHEVERETO_BINARY_EXIFTOOL' => '',
  'CHEVERETO_BINARY_EXIFTRAN' => '',
作者: aRNoLD    时间: 2025-5-27 19:48
当年它还是免费版本并且支持中文的时候,安装就方便得多,也远没有这么多后期错误代码。
作者: jacksh    时间: 2025-5-27 20:22
mark                        
作者: 她说吞过他的它    时间: 2025-5-27 21:18
mark
作者: Chevereto    时间: 2025-5-28 10:44
aRNoLD 发表于 2025-5-27 07:48
当年它还是免费版本并且支持中文的时候,安装就方便得多,也远没有这么多后期错误代码。 ...



https://github.com/chevereto/chevereto/blob/4.3/app/languages/zh-TW.po
作者: aRNoLD    时间: 2025-5-28 17:56
Chevereto 发表于 2025-5-28 10:44
https://github.com/chevereto/chevereto/blob/4.3/app/languages/zh-TW.po

如果1.6(或许是1.4.3)没有去除语言支持,我当初保不齐就更新上去了。

现在还是在用1.3,在Debian 10上面跑也挺稳的。
作者: Chevereto    时间: 2025-5-31 19:48
@aRNoLD 是的,谢谢。Chevereto 非常出色,1.6(2022)版本足以击败本地替代方案(lskpro),后者价格上涨并停止了免费支持。同期,我们添加了视频、标签、子相册、大文件上传、exiftool、缓存等功能。




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4