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

Bagisto

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

How to get rid of Bagisto installer

Installing Bagisto
3
9
1.3k
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.
  • A
    AshJi last edited by 26 Jul 2020, 17:47

    I have deployed Bagisto on Heroku and configured one dyno along with JAWS_DB mysql DB. Ran the migration, seeded data and the whole nine yards as listed in Installation guide. No issues.

    But when I tried to launch the app, it gets redirected to

    9a1cac7c-aacd-474e-a9ca-ad59bbb3eaaa-image.png
    When tried to use Installer get stuck due to this error (not sure what is the logic of putting 50 char constraint)
    1ce5cfa6-a8cd-4553-86c5-0d246b2a0b4a-image.png

    Please help get rid of this installer. Also there seems no info on the use of installer and how to disable it.

    1 Reply Last reply Reply Quote 0
    • A
      AshJi last edited by 26 Jul 2020, 19:36

      OK. After ignoring the useless 'Input value is longer than 50 char' error message, I was able to complete the installation using web Installer in 3-4 iterations.

      But after completing the installation, when I try to launch the app I get following new error

      file_put_contents(/app/storage/framework/sessions/gr5vzC31D53lRiY360QIxVrZ9cKsmnLGtsfJcl7D): failed to open stream: No such file or directory
      

      It seems Bagisto stores session info in file system and in Heroku, file system is not guranteed. If there are workaround for this problem?

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by 27 Jul 2020, 09:00

        @AshJi
        you can follow the solution provided in this link https://forums.bagisto.com/topic/189/error-when-run-bagisto/7

        1 Reply Last reply Reply Quote 0
        • A
          AshJi last edited by 27 Jul 2020, 11:53

          Hi @Vaishali-Agarwal I tried the suggestions in the link you have provided

          composer dump-autoload
          php artisan vendor:publish

          uninking and creating symlink for "storage" again. But still getting same error.

          Issue as I understand is that in Heroku Ignite plan (free one) every time a dyno restarts, a new instance is created which is an image of the files which are originally checked in. This means that symlink and all the files within storage folder are deleted.
          This is by design from Heroku.

          Is there a a way to workaround this issue.

          If there is none what are the other option for hosting - AWS, GPC or else. Or going for paid version is the only option?

          Thanks

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by 27 Jul 2020, 12:12

            Hi @AshJi

            Kindly run this command at the root of project -

            php artisan config:cache
            

            or

            go to directory laravel/bootstrap/cache and delete config.php file

            1 Reply Last reply Reply Quote 0
            • A
              AshJi last edited by 27 Jul 2020, 14:28

              @rahul said in How to get rid of Bagisto installer:

              php artisan config:cache

              Tried both deleting the config.php file and running the command. Now a different error

              file_put_contents(/app/storage/app/db-blade-compiler/views/3ad3cf66a3856b81120bd1be29475b50): failed to open stream: No such file or directory (View: /app/packages/Webkul/Shop/src/Resources/views/home/index.blade.php)
              

              I also check that this folder is empty in Heroku

              /app/storage/app/db-blade-compiler/views/3ad3cf66a3856b81120bd1be29475b50
              
              1 Reply Last reply Reply Quote 0
              • A
                AshJi last edited by 27 Jul 2020, 14:33

                @Vaishali-Agarwal @rahul besides trying to fix this issue, what will be good is to have some confirmation whether Heroku (Ignite plan) can be used to deploy and run Bagisto. Not necessarily it might be a Bagisto issues, but whether it is known to have Bagisto run pn Heroku. Otherwise it's just trial and error.

                Maybe I can give you guy the access to my env and/or you can try at your end as well.

                I am open to either switch to paid version of Heroku or any other hosting service when I can deploy and run Bagisto without such issues.

                1 Reply Last reply Reply Quote 0
                • V
                  Vaishali Agarwal last edited by 27 Jul 2020, 16:43

                  @AshJi
                  We are trying to solve your issue on Heroku so we will try every step to get it working, for this we need your credentials to access the code on Heroku, you can simply raise the ticket here https://bagisto.uvdesk.com/en/customer/create-ticket/
                  along with your credentials, then will fix the issue asap.

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • A
                    AshJi last edited by 27 Jul 2020, 21:20

                    @Vaishali-Agarwal I have created a ticket at the link you have provided along with the credentials.

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