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. Linkding
  3. Linkding - local archiving missing?

Linkding - local archiving missing?

Scheduled Pinned Locked Moved Solved Linkding
20 Posts 5 Posters 2.1k Views 5 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.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #10

      @necrevistonnezr maybe this is updated related, let me check. In a fresh instance, you get a HTML Snapshot option.

      image.png

      Then, you can view the local archives:

      image.png

      You probably know this but the 'Internet Archive' feature is about sending the URL to archive.org, I think and not a local archive.

      1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #11

        @necrevistonnezr ah ok, so you have to put export LD_ENABLE_SNAPSHOTS=True in /app/data/env.sh and restart the app. Was missing in the upgrade changelog.

        1 Reply Last reply
        2
        • necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by
          #12

          Thanks, working now!

          1 Reply Last reply
          1
          • necrevistonnezrN necrevistonnezr has marked this topic as solved on
          • necrevistonnezrN necrevistonnezr has marked this topic as solved on
          • necrevistonnezrN Offline
            necrevistonnezrN Offline
            necrevistonnezr
            wrote on last edited by necrevistonnezr
            #13

            @girish
            Ok, since the last update (17 June 2024)....

            Bildschirmfoto 2024-07-11 um 09.48.44.png

            ... the HTML snapshot feature does not work anymore:

            Bildschirmfoto 2024-07-11 um 09.49.11.png

            Also the "Image Preview" feature does not do anything.

            The logs show this when I (unsuccessfully) trigger a manual snapshot for a bookmark:

            Jul 11 09:51:37 [pid: 16|app: 0|req: 557/1098] [Server IP] () {60 vars in 1277 bytes} [Thu Jul 11 07:51:37 2024] GET /api/bookmarks/check/?url=https%3A%2F%2Fmy.mydomain.com%2F%23%2Fapp%2Fd962942c-41f4-4531-9624-feef2a681512%2Finfo => generated 206 bytes in 31 msecs (HTTP/1.1 200) 9 headers in 287 bytes (1 switches on core 1)
            Jul 11 09:51:39 [pid: 16|app: 0|req: 558/1099] 82.140.58.126 () {48 vars in 788 bytes} [Thu Jul 11 07:51:39 2024] GET /bookmarks => generated 0 bytes in 1 msecs (HTTP/1.1 302) 9 headers in 295 bytes (1 switches on core 0)
            Jul 11 09:51:39 [pid: 14|app: 0|req: 483/1100] 82.140.58.126 () {48 vars in 811 bytes} [Thu Jul 11 07:51:39 2024] GET /login?next=/bookmarks => generated 0 bytes in 2 msecs (HTTP/1.1 301) 6 headers in 227 bytes (1 switches on core 1)
            Jul 11 09:51:39 [pid: 16|app: 0|req: 559/1101] 82.140.58.126 () {48 vars in 813 bytes} [Thu Jul 11 07:51:39 2024] GET /login/?next=/bookmarks => generated 5618 bytes in 20 msecs (HTTP/1.1 200) 11 headers in 509 bytes (1 switches on core 1)
            Jul 11 09:51:39 [pid: 14|app: 0|req: 483/1102] [Server IP] () {60 vars in 1191 bytes} [Thu Jul 11 07:51:39 2024] GET /api/bookmarks/check/?url=https%3A%2F%2Flinks.mydomain.com%2Fbookmarks => generated 171 bytes in 77 msecs (HTTP/1.1 200) 9 headers in 287 bytes (1 switches on core 0)
            Jul 11 09:51:40 [pid: 16|app: 0|req: 560/1103] 172.18.0.1 () {30 vars in 375 bytes} [Thu Jul 11 07:51:40 2024] GET / => generated 0 bytes in 1 msecs (HTTP/1.1 302) 9 headers in 283 bytes (1 switches on core 0)
            Jul 11 09:51:41 [pid: 16|app: 0|req: 561/1104] [Server IP] () {72 vars in 1378 bytes} [Thu Jul 11 07:51:41 2024] POST /bookmarks/794/details => generated 0 bytes in 44 msecs (HTTP/1.1 302) 9 headers in 295 bytes (1 switches on core 0)
            Jul 11 09:51:41 [pid: 14|app: 0|req: 484/1105] [Server IP] () {66 vars in 1263 bytes} [Thu Jul 11 07:51:41 2024] GET /bookmarks/partials/tag-cloud/active => generated 7240 bytes in 24 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 1)
            Jul 11 09:51:41 [pid: 16|app: 0|req: 563/1106] [Server IP] () {66 vars in 1246 bytes} [Thu Jul 11 07:51:41 2024] GET /bookmarks/794/details_modal => generated 8461 bytes in 40 msecs (HTTP/1.1 200) 9 headers in 397 bytes (1 switches on core 0)
            Jul 11 09:51:41 [pid: 16|app: 0|req: 563/1107] [Server IP] () {66 vars in 1271 bytes} [Thu Jul 11 07:51:41 2024] GET /bookmarks/partials/bookmark-list/active => generated 88930 bytes in 51 msecs (HTTP/1.1 200) 8 headers in 262 bytes (1 switches on core 1)
            Jul 11 09:51:44 [pid: 16|app: 0|req: 564/1108] [Server IP] () {60 vars in 1300 bytes} [Thu Jul 11 07:51:44 2024] GET /api/bookmarks/check/?url=https%3A%2F%2Fmy.mydomain.com%2Ffrontend%2Flogs.html%3FappId%3Dd962942c-41f4-4531-9624-feef2a681512 => generated 190 bytes in 30 msecs (HTTP/1.1 200) 9 headers in 287 bytes (1 switches on core 0)
            Jul 11 09:51:47 [pid: 16|app: 0|req: 565/1109] [Server IP] () {66 vars in 1248 bytes} [Thu Jul 11 07:51:47 2024] GET /bookmarks/794/details_assets => generated 2841 bytes in 46 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 1)
            Jul 11 09:51:50 [pid: 14|app: 0|req: 485/1110] 172.18.0.1 () {30 vars in 375 bytes} [Thu Jul 11 07:51:50 2024] GET / => generated 0 bytes in 4 msecs (HTTP/1.1 302) 9 headers in 283 bytes (1 switches on core 0)
            Jul 11 09:51:53 [pid: 14|app: 0|req: 486/1111] [Server IP] () {66 vars in 1249 bytes} [Thu Jul 11 07:51:53 2024] GET /bookmarks/794/details_assets => generated 2841 bytes in 15 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 1)
            Jul 11 09:51:59 [pid: 16|app: 0|req: 566/1112] [Server IP] () {66 vars in 1249 bytes} [Thu Jul 11 07:51:59 2024] GET /bookmarks/794/details_assets => generated 2841 bytes in 28 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 0)
            Jul 11 09:52:00 [pid: 16|app: 0|req: 567/1113] 172.18.0.1 () {30 vars in 375 bytes} [Thu Jul 11 07:52:00 2024] GET / => generated 0 bytes in 1 msecs (HTTP/1.1 302) 9 headers in 283 bytes (1 switches on core 1)
            Jul 11 09:52:05 [pid: 16|app: 0|req: 568/1114] [Server IP] () {66 vars in 1249 bytes} [Thu Jul 11 07:52:05 2024] GET /bookmarks/794/details_assets => generated 2841 bytes in 31 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 0)
            Jul 11 09:52:10 [pid: 14|app: 0|req: 487/1115] 172.18.0.1 () {30 vars in 375 bytes} [Thu Jul 11 07:52:10 2024] GET / => generated 0 bytes in 1 msecs (HTTP/1.1 302) 9 headers in 283 bytes (1 switches on core 0)
            Jul 11 09:52:11 [pid: 16|app: 0|req: 569/1116] [Server IP] () {66 vars in 1248 bytes} [Thu Jul 11 07:52:11 2024] GET /bookmarks/794/details_assets => generated 2841 bytes in 26 msecs (HTTP/1.1 200) 8 headers in 261 bytes (1 switches on core 1)
            Jul 11 09:52:11 [pid: 16|app: 0|req: 570/1117] [Server IP] () {60 vars in 1191 bytes} [Thu Jul 11 07:52:11 2024] GET /api/bookmarks/check/?url=https%3A%2F%2Flinks.mydomain.com%2Fbookmarks => generated 171 bytes in 26 msecs (HTTP/1.1 200) 9 headers in 287 bytes (1 switches on core 0)
            Jul 11 09:52:13 2024-07-11 07:52:13,871 INFO reaped unknown pid 87 (exit status 0)
            Jul 11 09:52:13 2024-07-11 07:52:13,871 INFO reaped unknown pid 88 (exit status 0)
            Jul 11 09:52:16 [pid: 16|app: 0|req: 571/1118] [Server IP] () {66 vars in 1290 bytes} [Thu Jul 11 07:52:16 2024] GET /bookmarks/794/details_modal?return_url=/bookmarks => generated 8410 bytes in 37 msecs (HTTP/1.1 200) 9 headers in 397 bytes (1 switches on core 1)
            Jul 11 09:52:19 [pid: 16|app: 0|req: 572/1119] [Server IP] () {60 vars in 1301 bytes} [Thu Jul 11 07:52:19 2024] GET /api/bookmarks/check/?url=https%3A%2F%2Fmy.mydomain.com%2Ffrontend%2Flogs.html%3FappId%3Dd962942c-41f4-4531-9624-feef2a681512 => generated 190 bytes in 28 msecs (HTTP/1.1 200) 9 headers in 287 bytes (1 switches on core 0)
            Jul 11 09:52:20 [pid: 16|app: 0|req: 573/1120] 172.18.0.1 () {30 vars in 375 bytes} [Thu Jul 11 07:52:20 2024] GET / => generated 0 bytes in 1 msecs (HTTP/1.1 302) 9 headers in 283 bytes (1 switches on core 1)
            

            Is it possible that the build was not switched to 'latest-plus' that includes chromium - as described here: https://github.com/sissbruecker/linkding#using-docker ?

            1 Reply Last reply
            2
            • necrevistonnezrN necrevistonnezr marked this topic as a regular topic on
            • necrevistonnezrN necrevistonnezr marked this topic as a question on
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #14

              @necrevistonnezr thanks for reporting, added to our internal list to investigate

              1 Reply Last reply
              2
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #15

                This should be fixed now

                1 Reply Last reply
                2
                • necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by
                  #16

                  Yes, looks good!

                  1 Reply Last reply
                  2
                  • necrevistonnezrN necrevistonnezr has marked this topic as solved on
                  • T Offline
                    T Offline
                    thoresson
                    wrote last edited by
                    #17

                    I just installed Linkding for the first time, and I'm running into the same problems: No local HTML archives are created and no preview images are generated.

                    1 Reply Last reply
                    0
                    • necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote last edited by
                      #18

                      Not directly connected, but those HTML/PDF „snapshot“ features in Linkding (or Linkwarden) have become more or less useless due to cookie banners and/or paywalls.
                      On most archived pages, I only see a cookie banner as many websites don’t even show the full content before your cookie decision.
                      And I can’t create a snapshot of newspaper articles even if I have a subscription as the archiving does not happen in your current (logged in) browser window but separately.

                      1 Reply Last reply
                      1
                      • N Offline
                        N Offline
                        Neiluj
                        wrote last edited by Neiluj
                        #19

                        Which method are you using? Server based or SinglePage extension?

                        1 Reply Last reply
                        1
                        • necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote last edited by
                          #20

                          Thanks for the link! The Singlefile extension method seems to work as it’s actually saving the current page in the browser

                          1 Reply Last reply
                          1
                          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