Bagisto Forum

    Bagisto

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

    Products and Users images lost

    Bug Report
    2
    4
    155
    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.
    • M
      marshalbagisto last edited by

      Hello Everyone,

      I did run a command php artisan queue:work and all images are lost. There was no any queue action which can delete product images but some product creation queues were there.

      Screenshot 2024-09-12 at 2.29.01 AM.png

      I have tried following commands:
      cd storage
      unlink storage
      cd ..
      php artisan storage:link
      sudo chmod -R 777 storage
      sudo chmod -R 775 public
      php artisan cache:clear
      php artisan config:clear
      php artisan view:clear
      php artisan route:clear
      php artisan vendor:publish --force

      Not sure what happened.

      Please help me.

      Thank you

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @marshalbagisto

        Kindly let us know that before running a command images are present there.?

        Also, check your APP_URL inside the .env file. Make sure the path is properly executed.

        Additionally, the php artisan queue:work command in Laravel is used to process jobs that are pushed onto a queue when you use Laravel queue system, jobs such as sending emails.

        Thanks & Regards

        M 1 Reply Last reply Reply Quote 0
        • M
          marshalbagisto @Rishabh-Webkul last edited by

          @Rishabh-Webkul Yes, images were there before.
          But nevermind, I take a pull from my git and everything is working fine. Thanks for all your help sir.

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by

            Hello @marshalbagisto

            That's Great

            You're Welcome

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