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. PeerTube
  3. JSON config display in the front-end

JSON config display in the front-end

Scheduled Pinned Locked Moved Solved PeerTube
8 Posts 4 Posters 1.1k Views 4 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.
    • rmdesR Offline
      rmdesR Offline
      rmdes
      wrote on last edited by
      #1

      This is only happening since 3.3.0 but it seems the config is being displayed on the front-end

      561d1c7f-5d42-42fb-a138-d0bad64e51db-image.png

      ","css":""}},"search":{"remoteUri":{"users":true,"anonymous":false},"searchIndex":{"enabled":false,"url":"","disableLocalSearch":false,"isDefaultSearch":false}},"plugin":{"registered":[{"name":"livechat","version":"4.0.0","description":"PeerTube plugin livechat","clientScripts":{"dist/client/videowatch-client-plugin.js":{"script":"dist/client/videowatch-client-plugin.js","scopes":["video-watch"]},"dist/client/common-client-plugin.js":{"script":"dist/client/common-client-plugin.js","scopes":["common"]},"dist/client/admin-plugin-client-plugin.js":{"script":"dist/client/admin-plugin-client-plugin.js","scopes":["admin-plugin"]}}},{"name":"creative-commons","version":"1.0.1","description":"Standardized display of Creative Commons licenses. Uses short identifiers like CC BY-SA 4.0 instead of descriptive text.","clientScripts":{"client/video-watch-client-plugin.js":{"script":"client/video-watch-client-plugin.js","scopes":["video-watch"]}}},{"name":"tv-streaming","version":"1.0.1","description":"Chromecast and AirPlay support for PeerTube.","clientScripts":{"dist/common-client-plugin.js":{"script":"dist/common-client-plugin.js","scopes":["common"]}}},{"name":"background-play","version":"0.0.5","description":"Play videos in background when mobile screen is locked.","clientScripts":{"dist/common-client-plugin.js":{"script":"dist/common-client-plugin.js","scopes":["common"]}}},{"name":"simplelogo","version":"0.0.5","description":"Plugin that let you change logo and favicon on your PeerTube instance.","clientScripts":{"client/common-client-plugin.js":{"script":"client/common-client-plugin.js","scopes":["common"]}}},{"name":"featured-page","version":"0.0.1","description":"Adds a page with featured channels and featured videos","clientScripts":{"client/common-client-plugin.js":{"script":"client/common-client-plugin.js","scopes":["common"]}}}],"registeredExternalAuths":[],"registeredIdAndPassAuths":[]},"theme":{"registered":[],"default":"default"},"email":{"enabled":true},"contactForm":{"enabled":true},"serverVersion":"3.3.0","serverCommit":"","transcoding":{"hls":{"enabled":true},"webtorrent":{"enabled":true},"enabledResolutions":[240,480],"profile":"default","availableProfiles":["default"]},"live":{"enabled":true,"allowReplay":true,"maxDuration":-1,"maxInstanceLives":20,"maxUserLives":3,"transcoding":{"enabled":true,"enabledResolutions":[480,720],"profile":"default","availableProfiles":["default"]},"rtmp":{"port":1935}},"import":{"videos":{"http":{"enabled":true},"torrent":{"enabled":true}}},"autoBlacklist":{"videos":{"ofUsers":{"enabled":false}}},"avatar":{"file":{"size":{"max":4194304},"extensions":[".png",".jpeg",".jpg",".gif",".webp"]}},"banner":{"file":{"size":{"max":4194304},"extensions":[".png",".jpeg",".jpg",".gif",".webp"]}},"video":{"image":{"extensions":[".png",".jpg",".jpeg",".webp"],"size":{"max":4194304}},"file":{"extensions":[".webm",".ogv",".ogg",".mp4",".mkv",".mov",".qt",".mqv",".m4v",".flv",".f4v",".wmv",".avi",".3gp",".3gpp",".3g2",".3gpp2",".nut",".mts",".m2ts",".mpv",".m2v",".m1v",".mpg",".mpe",".mpeg",".vob",".mxf",".mp3",".wma",".wav",".flac",".aac",".m4a",".ac3"]}},"videoCaption":{"file":{"size":{"max":4194304},"extensions":[".vtt",".srt"]}},"user":{"videoQuota":-1,"videoQuotaDaily":-1},"trending":{"videos":{"intervalDays":7,"algorithms":{"enabled":["best","hot","most-viewed","most-liked"],"default":"most-viewed"}}},"tracker":{"enabled":true},"followings":{"instance":{"autoFollowIndex":{"indexUrl":""}}},"broadcastMessage":{"enabled":true,"message":"Work in progress, context: ,"level":"info","dismissable":true},"homepage":{"enabled":false}}'

      1 Reply Last reply
      0
      • rmdesR Offline
        rmdesR Offline
        rmdes
        wrote on last edited by
        #2

        I searched for this error on the github official repo but i can't find anything remotely related to this https://github.com/Chocobozzz/PeerTube/issues?page=9&q=is%3Aissue+JSON
        Does anyone have the same on their peertube instance ?

        rmdesR 1 Reply Last reply
        0
        • rmdesR rmdes

          I searched for this error on the github official repo but i can't find anything remotely related to this https://github.com/Chocobozzz/PeerTube/issues?page=9&q=is%3Aissue+JSON
          Does anyone have the same on their peertube instance ?

          rmdesR Offline
          rmdesR Offline
          rmdes
          wrote on last edited by
          #3

          I also removed all plugins & themes to see if any of those are the cause of this, but it does not change anything, this json output keeps appearing on top of every page on the front-end..

          luckowL 1 Reply Last reply
          0
          • rmdesR rmdes

            I also removed all plugins & themes to see if any of those are the cause of this, but it does not change anything, this json output keeps appearing on top of every page on the front-end..

            luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote on last edited by
            #4

            @rmdes Nope. Looks strange to me.

            Pronouns: he/him | Primary language: German

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

              We are not seeing this in https://videos.cloudron.io/ . Do you see this in all browsers? It could be that the content-type is not set correctly and the browser is thus showing raw text. Do you see any errors in browser console?

              rmdesR 1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                Also, do you see this in a new install?

                1 Reply Last reply
                0
                • girishG girish

                  We are not seeing this in https://videos.cloudron.io/ . Do you see this in all browsers? It could be that the content-type is not set correctly and the browser is thus showing raw text. Do you see any errors in browser console?

                  rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by
                  #7

                  @girish This can be put to solved.

                  Explanation :

                  I had an Ackee tracking javascript snippet code in the "custom javascript" setting and for some reason this was creating this error, I removed it and all is fine now.
                  b1c26478-344d-4865-b6b7-970c42cb8f3d-image.png

                  it seems this area of the config should not be used for this purpose.

                  i'll use the matomo plugin that comes as a plugin to have stats, and it's all going to be fine !

                  nebulonN 1 Reply Last reply
                  0
                  • rmdesR rmdes

                    @girish This can be put to solved.

                    Explanation :

                    I had an Ackee tracking javascript snippet code in the "custom javascript" setting and for some reason this was creating this error, I removed it and all is fine now.
                    b1c26478-344d-4865-b6b7-970c42cb8f3d-image.png

                    it seems this area of the config should not be used for this purpose.

                    i'll use the matomo plugin that comes as a plugin to have stats, and it's all going to be fine !

                    nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #8

                    @rmdes actually the issue might be that your snipped is wrapped in html script tags, while the input field expects javascript.

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