互联网从业者的资讯社区
互联网从业者的资讯社区
下载 App 在 App 中打开
今日热议
主题模板处安装网站引擎时,大概到18%左右会出现

报错信息:Owner: www
Path: /usr/local/bin:/usr/bin
Proxy:

/usr/bin/php
PHP 8.2.19 (cli) (built: Jul 25 2024 14:00:25) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.19, Copyright (c) Zend Technologies with Zend OPcache v8.2.19, Copyright (c), by Zend Technologies

/usr/local/bin/composer
PHP version 8.2.19 (/www/server/php/82/bin/php)
Run the "diagnose" command to get more detailed diagnostics output.
Composer version 2.7.7 2024-06-10 22:11:12

/usr/bin/git
git version 1.8.3.1

# Composer Diagnose

Checking composer.json: OK
Checking platform settings: OK
Checking git settings: WARNING
Your git version (1.8.3.1) is too old and possibly will cause issues. Please upgrade to git 2.24 or above
Checking http connectivity to packagist: FAIL
[Composer\Downloader\TransportException] curl error 28 while downloading http://repo.packagist.org/packages.json: Failed to connect to repo.packagist.org port 80: Connection timed out
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking Composer version: OK
Checking Composer and its dependencies for vulnerabilities: OK
Composer version: 2.7.7
PHP version: 8.2.19
PHP binary path: /www/server/php/82/bin/php
OpenSSL version: OpenSSL 1.1.1o 3 May 2022
curl version: 7.74.0 libz 1.2.7 ssl OpenSSL/1.1.1o
zip: extension present, unzip present, 7-Zip not available

# Fresns Plugin Command

./composer.json has been updated
Running composer update fresns/website-engine
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
- Upgrading fresns/website-engine (v2.9.3 => v4.4.3)

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

In RequireCommand.php line 646:

file_put_contents(./composer.lock): Failed to open stream: Permission denie
d


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]

Failed to install fresns/website-engine

安装失败

MySQL:5.7.44
Nginx:1.24.0
PHP:8.2

大佬给看下这个是因为啥呢
6fae5b89-2a84-4d00-8f04-83db9dcb17f1.png
https://zhijieshequ.com/post/2ANWDGWS
回复 China

未登录无法操作

评论
file_put_contents(./composer.lock): Failed to open stream: Permission denied

权限问题,网站目录权限没有给网站所有者读写权限。

https://zhijieshequ.com/comment/a6fAwj44

这种一般粘出来,放到文心一言或者通义灵码上,会有解释

https://zhijieshequ.com/comment/e5WVQ6sA

上滑加载更多

服务条款 隐私政策 Cookie 使用条款

© 2024 知结社区 | Powered by Fresns

弗雷森斯(苏州)科技有限公司

苏ICP备2021027795号-3

增值电信业务经营许可证:苏B2-20210954

广播电视节目制作经营许可证:(苏)字第02601号

不良信息举报: jubao@fresns.cn