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
  • Brite
  • 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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LimeSurvey
  3. Content-Security-Policy default-src 'self' causes all kinds of issues, effectively breaking LimeSurvey

Content-Security-Policy default-src 'self' causes all kinds of issues, effectively breaking LimeSurvey

Scheduled Pinned Locked Moved LimeSurvey
16 Posts 2 Posters 298 Views 2 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.
  • M marylou
    [[topic:post-is-deleted]]
    jamesJ
    jamesJ
    james
    Staff
    wrote last edited by
    #6

    Hello @marylou

    @marylou said:

    The 159.10 backup still has the switch. It also has 'path' in its config.

    You can edit that backup in the Cloudron dashboard to make it persistent so it does not get automatically cleaned up when new backups are created.

    Are there any logs in the Cloudron web log viewer or browser console logs when the issues is present?

    M 1 Reply Last reply
    0
    • M
      M
      marylou
      wrote last edited by
      #7

      My restored backups and clones all have a looong number on the start page below the survey menus in the grey area. Is not there in the restored 159.10 version or in the newly installed 1.63.0

      1 Reply Last reply
      0
      • jamesJ james

        Hello @marylou

        @marylou said:

        The 159.10 backup still has the switch. It also has 'path' in its config.

        You can edit that backup in the Cloudron dashboard to make it persistent so it does not get automatically cleaned up when new backups are created.

        Are there any logs in the Cloudron web log viewer or browser console logs when the issues is present?

        M
        M
        marylou
        wrote last edited by
        #8

        @james
        But this version does not have the active surveys...

        1 Reply Last reply
        0
        • jamesJ
          jamesJ
          james
          Staff
          wrote last edited by
          #9

          Hello @marylou

          I was meaning to mark the backup that contains the working worsing so you don't lose it.

          1 Reply Last reply
          0
          • M
            M
            marylou
            wrote last edited by
            #10

            @james
            Got it, thanks, but the working version does not contain the live surveys...
            Also, a newly installed 1.63.0 has the switch and seems fine.
            I will try to export/import the surveys into this version and then adjust the URL.

            I'd be happy to activate remote support 🙂

            I will try to export the survey structures from the broken / updated v1.63.0 and import them into the newly installed v1.63.0 and then update the URL.

            1 Reply Last reply
            1
            • M
              M
              marylou
              wrote last edited by
              #11

              Export is not working.

              image.jpeg

              I can go to edit text elements and click export there. But I can't select anything, clicking Export does nothing.

              1 Reply Last reply
              0
              • M
                M
                marylou
                wrote last edited by
                #12

                Changing the theme to fruity to make it compatible with the new editor is not working (neither in a completely new survey nor in the active ones). It looks like all versions containing the live surveys (+ answers) are completely broken.

                Is there any other way to export the .lsa?

                1 Reply Last reply
                0
                • M
                  M
                  marylou
                  wrote last edited by
                  #13

                  Root SFTP access did not take me anywhere, but I was able to export the lsa through /index.php/admin/export/sa/survey/action/exportarchive/surveyid/123456 and import it into the freshly installed and working v1.63.0.
                  Everything is there, including all responses.

                  Let's hope adjusting the subdomain and using the same survey-aliases in the new installation will do the trick.

                  1 Reply Last reply
                  0
                  • M
                    M
                    marylou
                    wrote last edited by
                    #14

                    Done.
                    It's the first time ever that a backup of a version that worked before did not work.
                    Very strange, very scary. And quite nerve-racking.

                    1 Reply Last reply
                    0
                    • M
                      M
                      marylou
                      wrote last edited by
                      #15

                      Also set up an n8n auto export to Google Sheets. 🙂

                      1 Reply Last reply
                      0
                      • M
                        M
                        marylou
                        wrote last edited by marylou
                        #16

                        It turns out that I set frame-ancestors (not causing any issues) and default-src 'self', which caused all issues, on 4 October.

                        1 Reply Last reply
                        1

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        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