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. Teddit
  3. Since update css broken?

Since update css broken?

Scheduled Pinned Locked Moved Teddit
31 Posts 9 Posters 4.2k Views 8 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.
  • L LoudLemur

    I was ugly too:

    brave_QVhLMUOd6N.png

    There is an option to export preferences in a json file in preferences. You can import it later.
    I tried the reinstall Teddit trick and ... the problem remains. On the plus side, it looks like Cloudron kept all the configurations I had made too (e.g. subscribed sub-Reddits).

    The problem looks the same in Brave beta and in TOR-browser.

    By the way, before this happened, I noticed that increasing the memory allocation to Teddit helped with playability of some of the video content posted.

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #12

    @LoudLemur said in Since update css broken?:

    it looks like Cloudron kept all the configurations I had made too (e.g. subscribed sub-Reddits).

    Cloudron actually does save nothing.
    Teddit is per design privacy focused on a maximum.
    Nothing you do while using Teddit is stored or saved server side. It all happens client side in your browser using cookies etc.
    Only what you configure in the config.js is being saved server side.

    1 Reply Last reply
    0
    • ? A Former User

      Can confirm the CSS is just not receivable.
      Also found, that it might have to do with the issue i posted about yesterday, which is already fixed by @girish, where the

        domain: process.env.CLOUDRON_APP_DOMAIN
      

      was wrong.
      Since i updated the App with this fix, CSS does not work because Firefox receives HTTP 404 Error when GET the CSS files.

      Bildschirmfoto 2023-07-06 um 10.04.04.png

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

      @timbo said in Since update css broken?:

      domain: process.env.CLOUDRON_APP_DOMAIN

      Note that this fix has to be applied manually on existing installations. I didn't bother fixing the upgrade code path because the app was still marked as unstable. Sorry about that!

      ? 1 Reply Last reply
      0
      • girishG girish

        @timbo said in Since update css broken?:

        domain: process.env.CLOUDRON_APP_DOMAIN

        Note that this fix has to be applied manually on existing installations. I didn't bother fixing the upgrade code path because the app was still marked as unstable. Sorry about that!

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #14

        @girish Yes i already fixed it manually but there also was an update available to the app, bringing it to 0.4.0 which has the correct

        domain: process.env.CLOUDRON_APP_DOMAIN
        

        ( 21:53 App was updated to v0.4.0
        21:52 Update started from v0.3.0 to v0.4.0)

        as in https://git.cloudron.io/cloudron/teddit-app/-/commit/530c2febb9a3f30ebe28ecf939e4c5950299937c

        girishG 1 Reply Last reply
        1
        • ? A Former User

          @girish Yes i already fixed it manually but there also was an update available to the app, bringing it to 0.4.0 which has the correct

          domain: process.env.CLOUDRON_APP_DOMAIN
          

          ( 21:53 App was updated to v0.4.0
          21:52 Update started from v0.3.0 to v0.4.0)

          as in https://git.cloudron.io/cloudron/teddit-app/-/commit/530c2febb9a3f30ebe28ecf939e4c5950299937c

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

          @timbo right. I was actually writing that comment for @necrevistonnezr and others

          1 Reply Last reply
          0
          • robiR robi

            @randyjc in general for Cloudron apps you make sure you have an app backup, then you can uninstall the app and reinstall.

            If you want the data back, you simply restore that backup for the app and the data is back. Easy peasy.

            randyjcR Offline
            randyjcR Offline
            randyjc
            wrote on last edited by
            #16

            @robi was looking exactly for this info. Thank you 🙂

            1 Reply Last reply
            1
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by A Former User
              #17

              dont know if this has to do something with the css failure, but when starting the app this error will be logged:
              localstorage undefined
              proxyAuth undefined
              redis undefined

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

                Those undefined logs were accidental debugging logs left in the code in the previous release, those are not relevant.

                1 Reply Last reply
                0
                • necrevistonnezrN necrevistonnezr

                  After clicking on any thread, the css for that thread is broken

                  List of threads:
                  IMG_0369.jpeg

                  Thread:
                  IMG_0370.jpeg

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #19

                  Ok so i am a little confused.
                  After reinstalling the whole app, i expected to run into the same issues as:

                  @necrevistonnezr said in Since update css broken?:

                  After clicking on any thread, the css for that thread is broken

                  List of threads:
                  IMG_0369.jpeg

                  Thread:
                  IMG_0370.jpeg

                  but for whatever reason, i did not.
                  First the network-analysis in firefox showed that the missing files to the stylesheets, which previously got 404ed, were cached instead of being served by the webserver.
                  After clearing the cache it actually did receive (200) the stylesheets from the webserver.

                  So everything works for me, across devices, across different privacy settings.

                  1 Reply Last reply
                  1
                  • L Offline
                    L Offline
                    LoudLemur
                    wrote on last edited by
                    #20

                    I still have the problem. I can't see how to clear any cache for this particular site. After visiting the teddit, F12,

                    brave_Y9MsJLvu6C.png

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #21

                      Can't help you with your exact setup, but in firefox on mac i can reload the page bypassing cache using cmd+shift+ r

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

                        It might be easier to just reinstall. Doesn't reinstalling help?

                        M 1 Reply Last reply
                        0
                        • girishG girish

                          It might be easier to just reinstall. Doesn't reinstalling help?

                          M Offline
                          M Offline
                          Meuschke
                          wrote on last edited by
                          #23

                          @girish for me, it didn't.

                          But after reinstall, everything shows up correctly, if I change the data directory, or maybe after reboot, the problem stays. I don't know what it causes.

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

                            @Meuschke can you set up an instance on the demo cloudron and see if you can reproduce it there?
                            https://my.demo.cloudron.io/ (username and password is cloudron) . I tried everything and haven't been able to reproduce yet.

                            M 1 Reply Last reply
                            1
                            • girishG girish

                              @Meuschke can you set up an instance on the demo cloudron and see if you can reproduce it there?
                              https://my.demo.cloudron.io/ (username and password is cloudron) . I tried everything and haven't been able to reproduce yet.

                              M Offline
                              M Offline
                              Meuschke
                              wrote on last edited by Meuschke
                              #25

                              @girish it works on the demo-instance. 😕 Could you please create a volume on /srv/apps/teddit for example and link the teddit files with it [on App ==> Storage]?

                              Do you want to take a look on my server maybe?

                              1 Reply Last reply
                              0
                              • L Offline
                                L Offline
                                LoudLemur
                                wrote on last edited by
                                #26

                                I just tried the re-install on a different sub-domain trick. It didn't work for me. It looked just the same.

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

                                  @Meuschke I moved it a volume on the demo and ... broken. Investigating.

                                  1 Reply Last reply
                                  1
                                  • M Offline
                                    M Offline
                                    Meuschke
                                    wrote on last edited by
                                    #28

                                    Thank you @girish !

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

                                      @Meuschke can you update and try?

                                      M 1 Reply Last reply
                                      1
                                      • girishG girish

                                        @Meuschke can you update and try?

                                        M Offline
                                        M Offline
                                        Meuschke
                                        wrote on last edited by
                                        #30

                                        @girish Works, thank you! 😀

                                        1 Reply Last reply
                                        1
                                        • L Offline
                                          L Offline
                                          LoudLemur
                                          wrote on last edited by
                                          #31

                                          It works for me. That issue seems solved.

                                          However, and I don't know if anybody else has this problem, it seems to take forever importing the json file for preferences. It looks like it is hanging. I did manage to make it work before all this, but now it is just egg-timing. I will give it a while longer to see if it works.

                                          Anyway, thank you @girish. Whenever I see you are working on something, I am always confident that it will soon be solved and you managed it yet again with Teddit. You are great!

                                          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