Recent Topics

probelm while uploading on aws using code pipeline



  • file_put_contents(/var/app/current/storage/app/db-blade-compiler/views/92263d5a0f7971979a9faaee5f4abe2b): failed to open stream: No such file or directory (View: /var/app/current/resources/themes/velocity/views/home/index.blade.php) 
    

    After running 'composer install' on EC2 console I get the above error.
    This error may be due to the following reason

    1. 'composer install' reset code located in 'resources/themes/velocity/views'.
      Can anyone help to identify the real problem and resolve it.

    Please contact me if you need more information.



  • Hi @prashant2408
    Please check your permissions, i guess thi is permission issue.



  • I run chmod -R 777 ./ from the project root but same error.
    More detail

    1. Project work fine on local system
    2. After uploading I need to run 'composer install' as without it it show error.
    3. After that it show this error
    4. I had check 'resources/themes/velocity/views/home/index.blade.php' this file present on folder but error show it does not found.
    file_put_contents(/var/app/current/storage/app/db-blade-compiler/views/92263d5a0f7971979a9faaee5f4abe2b): failed to open stream: No such file or directory (View: /var/app/current/resources/themes/velocity/views/home/index.blade.php) 
    
    • permissions status of this file '/var/www/html/resources/themes/velocity/views/home'
    drwxrwxrwx 2 webapp webapp  149 Jun  6 09:57 advertisements
    -rwxrwxrwx 1 webapp webapp  294 Dec 31  1979 category.blade.php
    -rwxrwxrwx 1 webapp webapp 6882 Dec 31  1979 category-with-custom-option.blade.php
    -rwxrwxrwx 1 webapp webapp 3181 Dec 31  1979 customer-reviews.blade.php
    -rwxrwxrwx 1 webapp webapp  573 Dec 31  1979 featured-products.blade.php
    drwxrwxrwx 2 webapp webapp   88 Jun  6 09:57 helper
    -rwxrwxrwx 1 webapp webapp  317 Dec 31  1979 hot-categories.blade.php
    -rwxrwxrwx 1 webapp webapp 1941 Dec 31  1979 index.blade.php
    -rwxrwxrwx 1 webapp webapp  955 Dec 31  1979 new-products.blade.php
    -rwxrwxrwx 1 webapp webapp  334 Dec 31  1979 popular-categories.blade.php
    -rwxrwxrwx 1 webapp webapp  156 Dec 31  1979 product-policy.blade.php
    -rwxrwxrwx 1 webapp webapp 2457 Dec 31  1979 slider.blade.php
    

    May be it is related to bagisto framework🤔


Log in to reply