• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

update v3.16.2 to v3.17.0 fail

Status
Not open for further replies.

slomoo

Chevereto Member
🎯Description of the issue
  • 11:22:32 无法更新 /app/vendor/google/apiclient-services/src/Google/Service/CloudLifeSciences/PersistentDisk.php 文件 - copy(/home/tu/chevereto/app/vendor/google/apiclient-services/src/Google/Service/CloudLifeSciences/PersistentDisk.php): failed to open stream: Permission denied
  • 11:22:19 试图解压v3.17.0
  • 11:22:19 已下载v3.17.0, 正在解压
  • 11:21:58 开始下载v3.17.0
  • 11:21:58 需要更新, 继续下载
  • 11:21:58 最新的可用版本为v3.17.0
  • 11:21:58 已安装版本为v3.16.2
I'll give it to you PersistentDisk.php File added 777 permissions, access to the server again reported 500

▶🚶‍Reproduction steps


😢Unexpected result

[Example: Images are not getting uploaded at all and the system throws "An error occurred, try again later".]

📃错误日志信息
nginx error logs:

2020/12/03 11:36:06 [error] 4330#0: *975269 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'ComposerAutoloaderInit
445ffc3d2a4a7df322cbcea6e8dd1926' not found in /home/tu/chevereto/app/vendor/autoload.php:7
Stack trace:
#0 /home/tu/chevereto/app/loader.php(104): require_once()
#1 /home/tu/chevereto/index.php(20): include_once('/home/tu/chever...')
#2 {main}
thrown in /home/tu/chevereto/app/vendor/autoload.php on line 7" while reading response header from upstream, client: 216.245.221.83, server: tu
.slomoo.cn, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "tu.slomoo.cn", referrer: "https://tu.slomoo.cn"
2020/12/03 11:37:58 [error] 4330#0: *975289 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'ComposerAutoloaderInit
445ffc3d2a4a7df322cbcea6e8dd1926' not found in /home/tu/chevereto/app/vendor/autoload.php:7
Stack trace:
#0 /home/tu/chevereto/app/loader.php(104): require_once()
#1 /home/tu/chevereto/index.php(20): include_once('/home/tu/chever...')
#2 {main}
thrown in /home/tu/chevereto/app/vendor/autoload.php on line 7" while reading response header from upstream, client: 203.208.60.49, server: tu.
slomoo.cn, request: "GET /robots.txt HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "tu.slomoo.cn"

[Provide any relevant error log entry. You may check our documentation for help on this]
 
Last edited by a moderator:
Dear user,

Please note the file-system permission requirements: https://v3-docs.chevereto.com/setup/requirements.html#filesystem-permissions

The problem you have happens because on update PHP can't modify the file at /home/tu/chevereto/app/vendor/google/apiclient-services/src/Google/Service/CloudLifeSciences/PersistentDisk.php (no permissions).

Probably you or someone else with access to your file-system altered that file, without taking in consideration the permission mask required by Chevereto. Due to this, the software doesn't have permission to update the alleged file.
 
Update process:

1. Update

2. A permission request error occurred

3. Give folder permission

4. The server appears 500 because of a project error

The permission has been given. Take a look at the log of nginx. The error reported now is:

thrown in /home/tu/chevereto/app/vendor/autoload.php on line 7" while reading response header from upstream, client: 203.208.60.2, server: tu.slomoo.cn, request: "GET /robots.txt HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "tu.slomoo.cn"
2020/12/04 09:56:28 [error] 4331#0: *983933 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'ComposerAutoloaderInit445ffc3d2a4a7df322cbcea6e8dd1926' not found in /home/tu/chevereto/app/vendor/autoload.php:7
 
Unfortunately, this ticket has more than seven days without a reply or feedback from the original poster. We will now consider this ticket abandoned and its now closed.

Don't hesitate to create a new ticket if this matter is still causing you issues.

Ticket closed.
 
Status
Not open for further replies.
Back
Top