Bagisto Forum

    Bagisto

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

    Bagisto running very slow on AWS

    General Discussion
    6
    24
    15315
    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
      ppstech last edited by

      Hi rahul,
      I have refer the link. after I run the command 'unlink public' from project root I got the message "unlink: cannot unlink ‘public’: Is a directory"

      please give me proper sequence to run the commands.

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @ppstech ,

        Please run following commands -

        From the project's root directory

        cd storage/app/public
        unlink public
        

        From the project's root directory run the following command:

        php artisan storage:link
        

        Follow the same sequence.

        Thanks

        1 Reply Last reply Reply Quote 0
        • P
          ppstech last edited by

          hi rahul,
          please find the image after running the commands

          bfaa9bde-1a75-4ece-b9ed-dc68a7473f6d-image.png

          1 Reply Last reply Reply Quote 0
          • R
            rahul last edited by

            Hi @ppstech

            Please run following -

            From root of your project -

            cd public
            unlink storage
            
            

            From Root of Your Project

            php artisan storage:link
            

            Thanks

            1 Reply Last reply Reply Quote 0
            • P
              ppstech last edited by ppstech

              Hi @rahul ,
              Thanks for your reply. My logo is visible now. But products images are still not visible. Also I am not able to access other pages. Only the home page is visible. Not a single link is working. Please refer the image.

              18467e1e-caa9-4123-b9d7-3ef695996ae3-image.png

              1 Reply Last reply Reply Quote 0
              • R
                rahul last edited by

                Hi @ppstech

                You have provide correct configuration to your web server, if you are using apche server then you can do following.

                Open Your apache2.conf file (Probably in etc->apche2 folder).

                Check in this file. you will find some think like -

                <Directory /var/www/html>
                        Options Indexes FollowSymLinks
                        AllowOverride None
                        Require all granted
                </Directory>
                

                Note - Directory path is not compulsory & content inside this can be differ, we only need to change AllowOverride None to All

                change it to

                <Directory /var/www/html>
                        Options Indexes FollowSymLinks
                        AllowOverride All
                        Require all granted
                </Directory>
                

                Please run following command after this -

                sudo a2enmod rewrite
                
                sudo /etc/init.d/apache2 restart
                
                or
                
                sudo service apache2 restart
                

                If your using different web server than apache, please search for same.

                Thanks

                W 1 Reply Last reply Reply Quote 0
                • P
                  ppstech last edited by

                  Thanks for your reply. Its working now

                  1 Reply Last reply Reply Quote 0
                  • R
                    RK REZA last edited by

                    From
                    APP_ENV=local
                    To
                    APP_ENV=production

                    Gives this error page
                    11.PNG

                    1 Reply Last reply Reply Quote 0
                    • R
                      rahul last edited by

                      Hi,

                      Please clear cache using -

                      php artisan config:clear
                      php artisan cache:clear
                      

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • W
                        William Hatanaka @rahul last edited by

                        Hello @rahul ,
                        I have the same problem. I've tried all the your suggestions in this support. But I can do the configuration of the Apache2, because I am using the Webkul image of it.
                        How can I do this configuration of Apache2 using Docker version of Bagistro installation ?
                        Thank you

                        1 Reply Last reply Reply Quote 0
                        • R
                          rozysharma last edited by

                          Hello, I have uploaded by bagisto instance on AWS , but it's running very slow. How can I speed up my instance?
                          Bagisto running very slow on AWS · R rahul 28 Jul 2019, 23:58 last edited by. Hi,. Please clear cache using - php artisan config:clear php
                          [url=https://doramasonline.su/]estrenos doramas[/url]

                          1 Reply Last reply Reply Quote 0
                          • A
                            alexanderjames @ppstech last edited by

                            @ppstech said in Bagisto running very slow on AWS:

                            Hi Rahul,
                            I have already done all the steps you have mentioned. But still the image is not loading.
                            I think while uploading the image gets corrupted, and can not load.
                            The error message is "Could not load the image".
                            What is the resolution for this?

                            Hi,

                            Thanks for confirming the steps. If the image is getting corrupted during upload, please try these:

                            • Re-export or save the image again in a supported format (JPEG, PNG, etc.).

                            • list itemEnsure the file size isn’t too large.

                            • list itemTry uploading from a different browser or device.

                            • list itemIf possible, upload a different image to test if the issue is with that specific file.

                            If the problem persists, please share the original image file or more error details.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post