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. Castopod
  3. An update (or something) seems to have broken styling...

An update (or something) seems to have broken styling...

Scheduled Pinned Locked Moved Solved Castopod
19 Posts 5 Posters 2.6k 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #3

    Seems like a content-type issue on that instance:

    Loading module from “https://podcast.uniteddiversity.coop/assets/Dropdown-313ba7e5.js” was blocked because of a disallowed MIME type (“text/html”).
    
    jdaviescoatesJ 1 Reply Last reply
    1
    • nebulonN nebulon

      Seems like a content-type issue on that instance:

      Loading module from “https://podcast.uniteddiversity.coop/assets/Dropdown-313ba7e5.js” was blocked because of a disallowed MIME type (“text/html”).
      
      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #4

      @nebulon odd. Pretty sure that's nothing I've added myself.

      I use Cloudron with Gandi & Hetzner

      girishG 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @nebulon odd. Pretty sure that's nothing I've added myself.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #5

        @jdaviescoates looks like some misconfigured mimetype. js file is being served as html

        1 Reply Last reply
        0
        • luckowL Offline
          luckowL Offline
          luckow
          translator
          wrote on last edited by
          #6

          mh. Nothing useful, but I get a 404

          image.png

          Pronouns: he/him | Primary language: German

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

            I'v got the same, on a unmodified Castopod
            it's been broken since at least 2 weeks actually, haven't had the time to report earlier

            1 Reply Last reply
            1
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #8

              Looks like all those assets are not found and thus also the content-type is wrong.

              jdaviescoatesJ 1 Reply Last reply
              0
              • nebulonN nebulon

                Looks like all those assets are not found and thus also the content-type is wrong.

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

                @nebulon OK, but why? Is this an upstream issue or a problem with the Cloudron package?!? 🤔

                Sounds to me like it could well be an issue with the package given @rmdes and I have both had this issue on basically unchanged installs (all I'd done was change the name, essentially nothing else).

                I use Cloudron with Gandi & Hetzner

                nebulonN 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @nebulon OK, but why? Is this an upstream issue or a problem with the Cloudron package?!? 🤔

                  Sounds to me like it could well be an issue with the package given @rmdes and I have both had this issue on basically unchanged installs (all I'd done was change the name, essentially nothing else).

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

                  @jdaviescoates said in An update (or something) seems to have broken styling...:

                  (all I'd done was change the name, essentially nothing else).

                  aha, such information is quite useful though, also is the broken app on the latest version? Trying to reproduce this.

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #11

                    Tried every customization I could find in the admin UI now but can't reproduce the issue. Have you set anything extra in the env file? Like something from https://code.castopod.org/adaures/castopod/-/blob/develop/env ?

                    1 Reply Last reply
                    0
                    • luckowL Offline
                      luckowL Offline
                      luckow
                      translator
                      wrote on last edited by
                      #12

                      This is how it worked for me: Install Castopod, make a backup, clone from the backup under a different domain.
                      Boom.
                      image.png

                      Pronouns: he/him | Primary language: German

                      1 Reply Last reply
                      0
                      • luckowL Offline
                        luckowL Offline
                        luckow
                        translator
                        wrote on last edited by luckow
                        #13

                        It's a problem with the cache. If you log into the admin interface and try to find Settings->General, there is a section for housekeeping. Select Cache and confirm. A second later it looks fine again.

                        image.png

                        d61cb050-2b80-4012-ad14-8b457a336d72-image.png

                        Pronouns: he/him | Primary language: German

                        rmdesR 1 Reply Last reply
                        1
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #14

                          Well spotted, maybe the package misses some startup tasks then

                          1 Reply Last reply
                          1
                          • nebulonN nebulon referenced this topic on
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #15

                            Just tried to reproduce this with cloning and changing location. But it seems to work fine actually. We already run some houskeeping tasks in cron, could this be some timing issue?

                            1 Reply Last reply
                            0
                            • luckowL luckow

                              It's a problem with the cache. If you log into the admin interface and try to find Settings->General, there is a section for housekeeping. Select Cache and confirm. A second later it looks fine again.

                              image.png

                              d61cb050-2b80-4012-ad14-8b457a336d72-image.png

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

                              @luckow said in An update (or something) seems to have broken styling...:

                              It's a problem with the cache. If you log into the admin interface and try to find Settings->General, there is a section for housekeeping. Select Cache and confirm. A second later it looks fine again.

                              image.png

                              d61cb050-2b80-4012-ad14-8b457a336d72-image.png

                              I followed this and now everything is fine.
                              my context was a clean install, nothing specific done to the config
                              just one podcast created with a bunch of episodes, what is clear to me is that this came after an upgrade (not sure which one tho) maybe there is a way to trigger the house cleaning (cache) once after upgrades ?

                              1 Reply Last reply
                              0
                              • jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #17

                                Yeah, something is wrong with the package.

                                I've literally done nothing to this and the same thing has happened:

                                https://podcasting.uniteddiversity.coop

                                I use Cloudron with Gandi & Hetzner

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

                                  @jdaviescoates I have pushed a new package now to clear the cache. Does it help?

                                  jdaviescoatesJ 1 Reply Last reply
                                  1
                                  • girishG girish

                                    @jdaviescoates I have pushed a new package now to clear the cache. Does it help?

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

                                    @girish yep, that seems to have done it 🙂

                                    I use Cloudron with Gandi & Hetzner

                                    1 Reply Last reply
                                    1
                                    • nebulonN nebulon marked this topic as a question on
                                    • nebulonN nebulon has marked this topic as solved 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