【发布时间】:2018-01-07 17:43:18
【问题描述】:
我正在使用 Capasitrano 来部署我的 Symfony3 应用程序。 开始部署时遇到问题。
这是我运行“cap production deploy”时的结果
00:42 composer:run
01 composer install --no-dev --prefer-dist --no-interaction --quiet --optimize-autoloader
01 The disk hosting /root/.composer is full, this may be the cause of the following exception
01
01
01 [RuntimeException]
01 An error occurred when executing the "'cache:clear --no-warmup'" command:
01 Fatal error: Class 'Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle' not found in /home/cititex/public_h…
01 In AppKernel.php line 31:
01
01 Attempted to load class "SensioGeneratorBundle" from namespace "Sensio\Bund
01 le\GeneratorBundle".
01 Did you forget a "use" statement for another namespace?
01
01
01
01 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autolo…
01
所以错误是从“托管/root/.composer的磁盘已满,这可能是以下异常的原因”
我检查了我的磁盘使用情况,但仍然有很多内存。
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 35G 19G 14G 57% /
devtmpfs 911M 0 911M 0% /dev
tmpfs 920M 4.0K 920M 1% /dev/shm
tmpfs 920M 8.6M 912M 1% /run
tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/loop0 1.3G 2.8M 1.2G 1% /tmp
请帮我找出问题所在。 谢谢。
【问题讨论】:
标签: symfony composer-php capistrano