• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

probelm while uploading on aws using code pipeline

Installing Bagisto
2
3
177
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    prashant2408 last edited by 7 Jun 2022, 05:08

    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.

    1 Reply Last reply Reply Quote 0
    • sanjay-webkul
      sanjay-webkul last edited by 7 Jun 2022, 05:22

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

      1 Reply Last reply Reply Quote 0
      • P
        prashant2408 last edited by prashant2408 9 Jun 2022, 09:09 7 Jun 2022, 05:36

        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🤔

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post