fastadmin 升级前请做好数据备份,系统文件及数据库,fastadmin1.2.2升级错误提醒,fastadmin ZipArchive::close(): Failure to create temporary file: No such file or directory,直接在站点更目录composer update 后还是不行
fastadmin 升级前请做好数据备份,系统文件及数据库,fastadmin1.2.2升级错误提醒,fastadmin ZipArchive::close(): Failure to create temporary file: No such file or directory,手动在runtime创建一个addons目录就可以了,然后给权限777,其实是没有创建临时文件夹导致失败,直接在站点更目录composer update 后还是不行,此插件需要FastAdmin的版本>= 1.2.0,请升级你的FastAdmin后再尝试安装。
此插件需要FastAdmin的版本>= 1.2.0,请升级你的FastAdmin后再尝试安装
最后没办法直接下载最新版的fastadmin后台文件直接覆盖,请别覆盖配置文件(请注意)
然后在根目录执行composer install
composer install
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Package operations: 6 installs, 9 updates, 17 removals
- Removing txthinking/mailer (v2.0.1)
- Removing nelexa/zip (3.3.3)
- Removing symfony/finder (v4.4.20)
- Removing symfony/cache (v4.4.21)
- Removing symfony/cache-contracts (v1.1.10)
- Removing psr/cache (1.0.1)
- Removing symfony/service-contracts (v1.1.9)
- Removing symfony/var-exporter (v4.4.20)
- Removing symfony/event-dispatcher (v4.4.20)
- Removing symfony/event-dispatcher-contracts (v1.1.9)
- Removing symfony/mime (v4.4.21)
- Removing paragonie/random_compat (v9.99.100)
- Removing symfony/polyfill-php80 (v1.22.1)
- Removing markbaker/matrix (1.2.3)
- Removing topthink/think-queue (v1.1.6)
- Removing topthink/think-helper (v1.0.7)
- Removing easywechat-composer/easywechat-composer (1.4.0)
- Updating guzzlehttp/psr7 (1.8.1 => 1.8.2): Loading from cache The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating karsonzhang/fastadmin-addons (1.2.10 => 1.1.11): Loading from cache The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating symfony/http-foundation (v4.4.20 => v3.4.47): Loading from cache The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating symfony/psr-http-message-bridge (v1.3.0 => v1.2.0): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating overtrue/socialite (2.0.23 => 1.3.0): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Installing doctrine/cache (v1.4.4): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating overtrue/wechat (4.2.11 => 3.3.34): Loading from cache The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating phpoffice/phpspreadsheet (1.12.0 => 1.5.2): Loading from cache The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating topthink/framework (dev-master 7d08e64 => v5.0.24): Update failed (The .git directory is missing from thinkphp, see https://getcomposer.org/commit-deps for more information)
Would you like to try reinstalling the package instead [yes]? yes
- Removing topthink/framework (dev-master)
- Installing topthink/framework (v5.0.24): Failed to download topthink/framework from source: The Process class relies on proc_open, which is not available on your PHP installation.
Now trying to download from dist
- Installing topthink/framework (v5.0.24): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Updating topthink/think-captcha (v1.0.7 => v1.0.8): Downloading (100%) The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/options-resolver (v3.4.47): Loading from cache
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Installing endroid/qr-code (1.9.3): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Installing mtdowling/cron-expression (v1.2.3): Loading from cache
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
- Installing phpmailer/phpmailer (v5.2.28): Loading from cache
The Process class relies on proc_open, which is not available on your PHP installation.
Unzip with unzip command failed, falling back to ZipArchive class
phpmailer/phpmailer suggests installing league/oauth2-google (Needed for Google XOAUTH2 authentication)
Package mtdowling/cron-expression is abandoned, you should avoid using it. Use dragonmantank/cron-expression instead.
Generating autoload files
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'EasyWeChatComposer\ManifestManager' not found
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
打开站点报错
mkdir(): Permission denied
如果出现未定义数组索引: menutype等等的错误,请排查数据文件,更新即可,依照fastadmin官网升级指导进行。
权限问题,授权即可
fopen(/public/assets/js/addons.js): failed to open stream: Permission denied
最后设置runtime文件目录权限
转载注明:
感谢博主,喝杯咖啡~
感谢博主,喝杯咖啡~
还没有人发表评论