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.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by necrevistonnezr
    #3

    Can confirm that CSS is broken

    EDIT: … and working after reinstall

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

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

      List of threads:
      IMG_0369.jpeg

      Thread:
      IMG_0370.jpeg

      ? 1 Reply Last reply
      0
      • randyjcR Offline
        randyjcR Offline
        randyjc
        wrote on last edited by
        #5

        Not that I have info that I need to keep inside teddit. But how do I do a reinstall? And with reinstall I mean keeping the data that has been generated by me?

        KubernetesK robiR 2 Replies Last reply
        0
        • randyjcR randyjc

          Not that I have info that I need to keep inside teddit. But how do I do a reinstall? And with reinstall I mean keeping the data that has been generated by me?

          KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by
          #6

          @randyjc just uninstall the app in cloudron and install it again. as the userdata (eg subscriptions) are stored in your browser, you must select the same url for the new installed app as before. otherwise the browser cannot match the stored data with the app.

          1 Reply Last reply
          1
          • randyjcR randyjc

            Not that I have info that I need to keep inside teddit. But how do I do a reinstall? And with reinstall I mean keeping the data that has been generated by me?

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #7

            @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.

            Conscious tech

            KubernetesK randyjcR 2 Replies Last reply
            1
            • 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.

              KubernetesK Offline
              KubernetesK Offline
              Kubernetes
              App Dev
              wrote on last edited by
              #8

              @robi What you say is usually right, but Teddit doesn't store any user data on the server. Everything is stored in Cookies and Browsers local storage. So a backup of the App does not include those data. Please be aware of this.

              robiR 1 Reply Last reply
              0
              • KubernetesK Kubernetes

                @robi What you say is usually right, but Teddit doesn't store any user data on the server. Everything is stored in Cookies and Browsers local storage. So a backup of the App does not include those data. Please be aware of this.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #9

                @Kubernetes oh I read what you said, just wanted to make sure Randy was aware of the rest of how Cloudron app data works and he doesn't lose data by uninstalling before a backup.

                Hence "In general.."

                😄

                Conscious tech

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

                  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 1 Reply Last reply
                  2
                  • L Offline
                    L Offline
                    LoudLemur
                    wrote on last edited by
                    #11

                    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.

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