Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Support
  3. Image saving

Image saving

Planlagt Fastgjort Låst Flyttet Technical Support
7 Indlæg 4 Posters 35 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • E This user is from outside of this forum
    E This user is from outside of this forum
    eugene_thedev@community.nodebb.org
    wrote on sidst redigeret af
    #1

    Hello, recently I’ve came across a problem with the image saving in my nodebb. When the server restarts all the image data is lost. I would like to ask
    1.how images are exactly saved?
    2. can i save them in the database?
    3. or is there any better way to save images on nodebb? Maybe some plugins?

    Thanks in advance for any discussion/comments on this topic

    1 Reply Last reply
    1
    1
    • System shared this topic on
    • eeeee@community.nodebb.orgE This user is from outside of this forum
      eeeee@community.nodebb.orgE This user is from outside of this forum
      eeeee@community.nodebb.org
      wrote on sidst redigeret af
      #2

      That shouldn’t happen.
      Photos get saved immediately, maybe something not set up correctly with the path photos are saved at?

      /public/uploads/
      
      1 Reply Last reply
      0
      • E This user is from outside of this forum
        E This user is from outside of this forum
        eugene_thedev@community.nodebb.org
        wrote on sidst redigeret af
        #3

        eeeee you are right, photos are saved there. But if there is some crash and the instance is recreated the assets are deleted.

        Maybe there is a way to share images via some cloud services such as S3? Or maybe I can save them on database? Basically, any other way except of local one

        1 Reply Last reply
        0
        • baris@community.nodebb.orgB This user is from outside of this forum
          baris@community.nodebb.orgB This user is from outside of this forum
          baris@community.nodebb.org
          wrote on sidst redigeret af
          #4

          You can use https://github.com/NodeBB-Community/nodebb-plugin-s3-uploads

          1 Reply Last reply
          1
          • E This user is from outside of this forum
            E This user is from outside of this forum
            eugene_thedev@community.nodebb.org
            wrote on sidst redigeret af
            #5

            baris does it work with the 4.3 version? or with any 4+?

            1 Reply Last reply
            0
            • baris@community.nodebb.orgB This user is from outside of this forum
              baris@community.nodebb.orgB This user is from outside of this forum
              baris@community.nodebb.org
              wrote on sidst redigeret af
              #6

              Yes its compatible with 3.2.x and 4.x

              1 Reply Last reply
              0
              • julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.org
                wrote on sidst redigeret af
                #7

                You can use the S3 plugin. However, the underlying problem is that you are using some sort of service with an ephemeral virtual drive. It gets cleared every time the service restarts.

                If you don’t want to use s3, you will have to set up a volume and mount it to the /public/uploads folder.

                1 Reply Last reply
                0
                Svar
                • Svar som emne
                Login for at svare
                • Ældste til nyeste
                • Nyeste til ældste
                • Most Votes


                • Log ind

                • Har du ikke en konto? Tilmeld

                • Login or register to search.
                Powered by NodeBB Contributors
                Graciously hosted by data.coop
                • First post
                  Last post
                0
                • Hjem
                • Seneste
                • Etiketter
                • Populære
                • Verden
                • Bruger
                • Grupper