我正在共享主机上部署一个小的Symfony 4应用程序。 我有SSH访问权限。
当我运行作曲家更新时,我收到如下错误:
$ composer update --no-dev
Loading composer repositories with package information
Updating dependencies
Generating autoload files
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
The disk hosting /home/user/.composer is full, this may be the cause of the following exception
[ErrorException]
escapeshellarg() has been disabled for security reasons
执行诊断时会发生同样的事情:
$ composer diagnose
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: The disk hosting /home/user/.composer is full, this may be the cause of the following exception
我已经清除了缓存,但这并未改变任何内容:
$ composer clearcache
Cache directory does not exist (cache-vcs-dir):
Clearing cache (cache-repo-dir): /home/user/.composer/cache/repo
Clearing cache (cache-files-dir): /home/user/.composer/cache/files
Clearing cache (cache-dir): /home/user/.composer/cache
All caches cleared.
我有1GB的配额,目前我没有使用200MB,所以还剩下一些空间。当错误上升时,缓存文件夹大约为89MB。
是否有人遇到此问题或知道如何解决此问题? 我也在和我的托管公司的人们一起看这个(他们真的尽力了!)......
答案 0 :(得分:0)
我认为这是由于缺少RAM内存,您的托管是否能够升级内存以进行测试?
您的托管服务提供商是什么?