Hi Eugene,

I'm getting the same error, and I'm not sure what the problem is.

I could kind of work around that error by running `docker-compose up` in one 
terminal and then in another I also ran:

docker exec -it pga_pga_1 bash
chmod -R 777 /var/www/portals/default/app/storage/

But I'm running into other errors. I'm guessing it is some file permission 
issues.


> On Aug 6, 2020, at 2:52 PM, Eugene Walker <[email protected]> 
> wrote:
> 
> Plenty of disk space is available to Docker (10 gig used of 60 gig available)
> Also the directory being bind mounted as part of docker-compose file **is** 
> allowed under the Docker File Sharing rules.
> 
> Thank you Marcus!
> 
> On Thu, Aug 6, 2020 at 11:26 AM Christie, Marcus Aaron <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Eugene,
> 
> Just a guess, but maybe check if Docker has run out of disk space.  In macOS 
> Docker Desktop, go to Preferences > Resources and check "Disk image size".  
> If so, you can use "docker system prune" to free up space and then try again.
> 
>> On Aug 6, 2020, at 11:18 AM, Eugene Walker <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I'm following the ide-integration development environment instructions, and 
>> trying to start the super admin portal according to these instructions:
>> https://github.com/apache/airavata/tree/master/modules/ide-integration 
>> <https://github.com/apache/airavata/tree/master/modules/ide-integration>
>> 
>> However, the pga container crashes with the following error on MacOS 
>> Catalina 10.15.6
>> 
>> Any ideas why `php artisan optimize` is throwing this error?
>> 
>> ```
>> $> cd src/main/resources/pga
>> $> docker-compose up -d
>> $> docker logs -f pga_pga_1
>> ...
>> Script php artisan optimize handling the post-install-cmd event returned 
>> with error code 1
>> Do not run Composer as root/super user! See https://getcomposer.org/root 
>> <https://getcomposer.org/root> for details
>> Loading composer repositories with package information
>> Installing dependencies (including require-dev) from lock file
>> Nothing to install or update
>> Generating autoload files
>> > php artisan clear-compiled
>> > php artisan optimize
>> Generating optimized class loader
>> Compiling common classes
>> Compiling views
>> 
>> 
>>   [ErrorException]
>>   
>> file_put_contents(/var/www/portals/default/app/storage/views/71093b3cc34a08455a6074e52a522f01):
>>  failed to open stream: No such file or directory
>> ```
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to