Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • 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
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Calibre Web
  3. Uploading folders into /app/data/library/ doesN'T add books to Calibre

Uploading folders into /app/data/library/ doesN'T add books to Calibre

Scheduled Pinned Locked Moved Solved Calibre Web
12 Posts 3 Posters 3.3k Views 3 Watching
  • 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.
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by jdaviescoates
    #1

    At least it doesn't for me.

    The only way I can add books is one by one via the web interface.

    (As an aside, it seems when I upload folders their ownership defaults to root - I thought this might be the issue but change the ownership doesn't help).

    I use Cloudron with Gandi & Hetzner

    imc67I 1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      As far as I can tell there is no way to upload books directly through terminal or filemanager. At least I couldn't see a way for the app to rescan the library or such to find newly uploaded books.

      1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        At least it doesn't for me.

        The only way I can add books is one by one via the web interface.

        (As an aside, it seems when I upload folders their ownership defaults to root - I thought this might be the issue but change the ownership doesn't help).

        imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote on last edited by
        #3

        @jdaviescoates I uploaded months ago 12000 ebooks via SCP because the Filemanager didn’t support unzip by then.

        Now since a recent update you can upload a zip with books and unzip in the Filemanager GUI. Didn’t tried it but why shouldn’t it work?

        nebulonN jdaviescoatesJ 2 Replies Last reply
        0
        • imc67I imc67

          @jdaviescoates I uploaded months ago 12000 ebooks via SCP because the Filemanager didn’t support unzip by then.

          Now since a recent update you can upload a zip with books and unzip in the Filemanager GUI. Didn’t tried it but why shouldn’t it work?

          nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          @imc67 hm in my case the app never picked up the pdfs I put there. But I have to say I don't quite understand how the app works in the first place, the configuration screen is overwhelming 😉

          1 Reply Last reply
          2
          • imc67I imc67

            @jdaviescoates I uploaded months ago 12000 ebooks via SCP because the Filemanager didn’t support unzip by then.

            Now since a recent update you can upload a zip with books and unzip in the Filemanager GUI. Didn’t tried it but why shouldn’t it work?

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by jdaviescoates
            #5

            @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

            @jdaviescoates I uploaded months ago 12000 ebooks via SCP because the Filemanager didn’t support unzip by then.

            Oh, interesting that that worked at the time. I'm not sure it would work anymore. Perhaps test with just one other file and see if it gets picked up?

            @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

            Now since a recent update you can upload a zip with books and unzip in the Filemanager GUI. Didn’t tried it but why shouldn’t it work?

            Nope, it doesn't work.

            It seems at present the only way to add stuff it via the web interface 😞

            There must be a better way...

            And I guess it used to work, hence this in the docs:

            Importing existing calibre database
            To import an existing Calibre database, do the following:

            Stop the app
            Copy the database into /app/data/library using the File Manager
            Start the app

            But that doesn't not work at present. I've no idea why.

            I use Cloudron with Gandi & Hetzner

            imc67I 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

              @jdaviescoates I uploaded months ago 12000 ebooks via SCP because the Filemanager didn’t support unzip by then.

              Oh, interesting that that worked at the time. I'm not sure it would work anymore. Perhaps test with just one other file and see if it gets picked up?

              @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

              Now since a recent update you can upload a zip with books and unzip in the Filemanager GUI. Didn’t tried it but why shouldn’t it work?

              Nope, it doesn't work.

              It seems at present the only way to add stuff it via the web interface 😞

              There must be a better way...

              And I guess it used to work, hence this in the docs:

              Importing existing calibre database
              To import an existing Calibre database, do the following:

              Stop the app
              Copy the database into /app/data/library using the File Manager
              Start the app

              But that doesn't not work at present. I've no idea why.

              imc67I Offline
              imc67I Offline
              imc67
              translator
              wrote on last edited by
              #6

              @jdaviescoates @nebulon

              In the settings > Edit Basic Configuration > Library Configuration is the path correct?

              In my case it’s /media/books/library as I mounted /srv/books as a Volume

              imc67I 1 Reply Last reply
              0
              • imc67I imc67

                @jdaviescoates @nebulon

                In the settings > Edit Basic Configuration > Library Configuration is the path correct?

                In my case it’s /media/books/library as I mounted /srv/books as a Volume

                imc67I Offline
                imc67I Offline
                imc67
                translator
                wrote on last edited by imc67
                #7

                @jdaviescoates @nebulon something must have changed indeed! I added a folder via Filemanager and uploaded a pdf (haha the Cloudron invoice) just to check and nothing appears ....

                BTW the GUI says there is an update:

                0.6.11 New features:

                • Swipe support for reader

                • Logging of failed opds accesses

                • Automatic conversion to kepub on kobo sync

                • Webp format to comic reader supported formats

                • Title is no longer shortened on book page

                Bug Fixes:

                • Chinese character language texts are no longer shown for english locale

                • logging on database error

                • Filepicker option

                • reverse proxy login working again

                • Detection of invalid email addresses for registering

                jdaviescoatesJ 1 Reply Last reply
                1
                • imc67I imc67

                  @jdaviescoates @nebulon something must have changed indeed! I added a folder via Filemanager and uploaded a pdf (haha the Cloudron invoice) just to check and nothing appears ....

                  BTW the GUI says there is an update:

                  0.6.11 New features:

                  • Swipe support for reader

                  • Logging of failed opds accesses

                  • Automatic conversion to kepub on kobo sync

                  • Webp format to comic reader supported formats

                  • Title is no longer shortened on book page

                  Bug Fixes:

                  • Chinese character language texts are no longer shown for english locale

                  • logging on database error

                  • Filepicker option

                  • reverse proxy login working again

                  • Detection of invalid email addresses for registering

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #8

                  @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                  @jdaviescoates @nebulon something must have changed indeed! I

                  Yeah, I'm pretty sure that I successfully uploaded folders previous (and then they were displayed). No we can upload multiple folders (using zip/ unzip) but they are no longer displayed.

                  I guess at some point an update must've broken it.

                  @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                  BTW the GUI says there is an update:

                  Good spot. I wonder if this update would fix what a previous update broke...

                  I use Cloudron with Gandi & Hetzner

                  imc67I 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                    @jdaviescoates @nebulon something must have changed indeed! I

                    Yeah, I'm pretty sure that I successfully uploaded folders previous (and then they were displayed). No we can upload multiple folders (using zip/ unzip) but they are no longer displayed.

                    I guess at some point an update must've broken it.

                    @imc67 said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                    BTW the GUI says there is an update:

                    Good spot. I wonder if this update would fix what a previous update broke...

                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote on last edited by
                    #9

                    @jdaviescoates @nebulon found this somewhere:

                    The Calibre-Web is only a web front end to the actual Calibre application/database itself. You still need a Calibre metadata.db file for Calibre Web to function. To get this, you have to install Calibre somewhere and you can move the metadata.db file into your /storage folder.

                    That’s why it did work for me, my books where already “managed” by Calibre and the Calibre local ‘root’ folder on my computer contained all the folders and files INCLUDING the metadata.db.

                    I guess the only way for Calibre Web to know there is something new is via it’s own upload.

                    jdaviescoatesJ 1 Reply Last reply
                    4
                    • imc67I imc67

                      @jdaviescoates @nebulon found this somewhere:

                      The Calibre-Web is only a web front end to the actual Calibre application/database itself. You still need a Calibre metadata.db file for Calibre Web to function. To get this, you have to install Calibre somewhere and you can move the metadata.db file into your /storage folder.

                      That’s why it did work for me, my books where already “managed” by Calibre and the Calibre local ‘root’ folder on my computer contained all the folders and files INCLUDING the metadata.db.

                      I guess the only way for Calibre Web to know there is something new is via it’s own upload.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @imc67 aha, so perhaps if I do my whole local local Calibre library including metadata.db it will magically work...

                      I use Cloudron with Gandi & Hetzner

                      jdaviescoatesJ 1 Reply Last reply
                      1
                      • jdaviescoatesJ jdaviescoates

                        @imc67 aha, so perhaps if I do my whole local local Calibre library including metadata.db it will magically work...

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #11

                        @jdaviescoates said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                        @imc67 aha, so perhaps if I do my whole local local Calibre library including metadata.db it will magically work...

                        I'm pretty sure it will. I tried just uploading metadata.db to see what would happen and all my books appeared (but all without covers etc because I hadn't actually uploaded any of the files).

                        I use Cloudron with Gandi & Hetzner

                        imc67I 1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

                          @jdaviescoates said in Uploading folders into /app/data/library/ doesN'T add books to Calibre:

                          @imc67 aha, so perhaps if I do my whole local local Calibre library including metadata.db it will magically work...

                          I'm pretty sure it will. I tried just uploading metadata.db to see what would happen and all my books appeared (but all without covers etc because I hadn't actually uploaded any of the files).

                          imc67I Offline
                          imc67I Offline
                          imc67
                          translator
                          wrote on last edited by
                          #12

                          @jdaviescoates then that was the solution 🙂

                          1 Reply Last reply
                          0
                          • nebulonN nebulon marked this topic as a question on
                          • nebulonN nebulon has marked this topic as solved on
                          • E ethanxrosen referenced this topic on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search