Since update css broken?
-
@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.
@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.
-
@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.
wrote on Jul 6, 2023, 7:38 AM last edited by@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.."
-
wrote on Jul 6, 2023, 8:04 AM last edited by timbo Jul 6, 2023, 8:05 AM
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 thedomain: 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. -
wrote on Jul 6, 2023, 10:04 AM last edited by
I was ugly too:
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.
-
I was ugly too:
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.
wrote on Jul 6, 2023, 10:13 AM last edited by@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. -
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 thedomain: 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.@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!
-
@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!
wrote on Jul 6, 2023, 10:45 AM last edited by timbo Jul 6, 2023, 10:45 AM@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
-
@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
@timbo right. I was actually writing that comment for @necrevistonnezr and others
-
@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.
-
wrote on Jul 7, 2023, 7:59 AM last edited by timbo Jul 7, 2023, 7:59 AM
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 -
After clicking on any thread, the css for that thread is broken
List of threads:
Thread:
wrote on Jul 7, 2023, 8:26 AM last edited byOk 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
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.
-
wrote on Jul 7, 2023, 8:57 AM last edited by
-
wrote on Jul 7, 2023, 9:24 AM last edited by
Can't help you with your exact setup, but in firefox on mac i can reload the page bypassing cache using cmd+shift+ r
-
@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 iscloudron
) . I tried everything and haven't been able to reproduce yet. -
@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 iscloudron
) . I tried everything and haven't been able to reproduce yet.wrote on Jul 7, 2023, 1:28 PM last edited by Meuschke Jul 7, 2023, 1:30 PM@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?
-
wrote on Jul 7, 2023, 1:37 PM last edited by
I just tried the re-install on a different sub-domain trick. It didn't work for me. It looked just the same.