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
infogulchI

infogulch

@infogulch
About
Posts
163
Topics
33
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Bitwarden extension UI Refresh
    infogulchI infogulch

    Bitwarden UI Refresh

    In case you weren't aware, Bitwarden has been working on a UI refresh for their browser extension.

    • Bitwarden Browser Extension UI Design Refresh - Early Preview Now Available : r/Bitwarden
    • Usability issues (UX) in redesigned UI (2024.12.0) - Ask the Community / Password Manager - Bitwarden Community Forums

    This feature has to be enabled on the server, which in our case is Vaultwarden. (See vaultwarden discussion New bitwarden Beta Chrome extension requires a server-side flag.) The easy way to enable it is to set the EXPERIMENTAL_CLIENT_FEATURE_FLAGS environment variable. (See the docs in dani-garcia/vaultwarden/.env.template.)

    You can do this in cloudron by editing env.sh with the app file browser and add:

    export EXPERIMENTAL_CLIENT_FEATURE_FLAGS=extension-refresh
    

    Thoughts

    The new UI is a bit different but remarkably faster. I happen to like the new visuals, but just the speed is worth the change imo. Tip: there are some options under Settings > Appearance in the extension that you can adjust.

    Vaultwarden

  • Add Borg as backup option
    infogulchI infogulch

    borg2 is in the works which reorganizes the storage backend to support any kind of remote storage, recently including everything supported by rclone.

    Feature Requests backups

  • Element X, Call and Server Suite are production ready
    infogulchI infogulch

    From this release of ESS (24.09) onwards our server (Synapse) will come with [Server-side synchronisation] SSS as standard.

    The latest version of synapse 1.115.0 is already packaged and available, and CHANGES.md has a lot of mentions of the Sliding Sync API, so maybe it just works now.

    There's also Element Server Suite (ESS) which looks like an "enterprise ready" packaging of synapse and related components for kubernetes. Not sure how this relates to cloudron deployments. Introduction to Element Server Suite

    Matrix (Synapse/Element)

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    It looks like it's working now.

    The Lounge

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    I updated to package version io.github.thelounge@1.20.1-1 and I still see that logs is a symlink to the ephemeral run directory:

    image.png

    The Lounge

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    Oh. So because logs were assumed to be app logs and redirected to the ephemeral /run directory so they were not backed up.

    How did this issue persist when we had a whole discussion about how logs are chat logs not app logs nearly 6 months ago?

    The Lounge

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    Backups cover a lot of sins. I still have the archived backup from the last time this happened.

    Now we need a process for restoring the chat logs. I guess we can start by cloning the app from an old backup, but I'm not sure how to copy files between containers. Any ideas?

    The Lounge

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    Ok well the new update loses chat logs again. I guess I can't use cloudron for irc.

    The Lounge

  • Vaultwarden - Security Enhancement Tip
    infogulchI infogulch

    This doesn't sound right. The number of iterations has to be stored in the database, and it is very often stored with the password hash. Changing to a "unique" number doesn't have any meaningful impact on security, aside from being big enough..

    The iteration count is designed to be a flexible way to increase the computational effort required for each cracking attempt. This is helpful because Moore's Law is quite real and instead of inventing a new hash every 2 years, users and operators can just bump the iteration count to maintain the same expected level of effort an attacker would have to expend with new hardware.

    Vaultwarden

  • SSO / OIDC ?
    infogulchI infogulch

    doesn't say anything about being enterprise only

    Oh

    image.png

    Nevermind then.


    As far as the trick for an app that needs multiple pg databases, I think creating multiple schemas might work depending on if the db library used by the app supports setting the schema in the url or otherwise. Support for this feature seems patchy.

    Cal.com

  • SSO / OIDC ?
    infogulchI infogulch

    The SSO docs are in the Self Sosting Quickstart section of the docs and doesn't say anything about being enterprise only. The instructions looks pretty simple; quoted with edits:

    Setting up OIDC login

    • Set SAML_DATABASE_URL to a Postgres database. Please use a different database than the main Cal instance since the migrations are separate for this database. (snip)
    • Set SAML_ADMINS to a comma separated list of admin emails who can configure the OIDC.
    • Keep handy the Client Secret, Client ID and Well Known URL with you for the next step.
    • Spin up cal.com on your server and login with the Admin user (the email ID of which was provided in step 2 for SAML_ADMINS environment variable).
    • Visit {BASE_URL}/settings/security/sso
    • Click on Configure SSO with OIDC, and then enter the Client Secret, Client ID and Well known URL from the Step 3, and click save.
    • That's it.

    The only thing that gives me pause is that it's asking for a separate Postgres database connection info, and I'm not sure if cloudron is able to do that. Maybe we can make the main app db and saml db use different pg schemas?

    (Side note: the fact that the only way to configure OIDC and SAML through the web ui is... insane. Their OIDC E2E test scenario literally scripts the settings page to enter credentials; there's no way to configure it automatically 🤯😱)

    Cal.com

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    Release 1.20.0 included these PRs related to mirroring, maybe one of them caused the issue:

    • Refactor Pull Mirror and fix out-of-sync bugs #24732
    • Use the type RefName for all the needed places and fix pull mirror sync bugs #24634
    • Allow skipping forks and mirrors from being indexed #23187
    Gitea

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    Yeah that seems to be the issue:

    It's currently at 30GB (was 30MB 19 hours ago), exactly:

    31069204

    Then I ran the "Update Mirrors" task, now it's:

    31733536

    Gitea

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    Yeah it probably has to do with the Update Mirrors cron task that runs every 10m, since that's the only activity on the server. I did notice that the Update Mirrors task run count was about 280 in both cases. Maybe a recent update is now leaving junk behind when it updates mirrors that isn't being cleaned up.

    Gitea

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    So I don't know what "repository archives" are, what they're for, why they take up literally 12x the storage of the actual repository data, why clicking this button fixes it, and why that has no effect on the operation of the site.

    image.png

    Gitea

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    This happened again today. 48+GB of actually useless "repository archives" whatever that means. ~~Even login fails when the disk is full so I can't even log in to fix it. ~~ I was able to log in finally.

    Is there a way to set disk quotas for apps so when they misbehave the whole cloudron doesn't go belly up? Sigh.

    Gitea

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    My guess is that they are destroyed when upgrading to version 1.20 of the app, due to a change in the message history storage location described in the Lounge backups regularly stalling topic linked in the opening post of this thread. Maybe there's some mishap when 1.20+ is restoring files from a backup made at 1.19 or earlier.

    This indicates a potential reproduction strategy:

    1. Create a new The Lounge app at version 1.19
    2. Log in and create some chat history
    3. Stop the app, validate the logs are present on the fs, and create a backup
    4. Upgrade the app to 1.20, observe the chat history is missing

    @jdaviescoates In case you haven't already, I would strongly recommend that you pin the latest 1.19 backup so that it's not automatically cleaned up before this is sorted out.

    The Lounge

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    Sorry I didn't see your message until now.

    Yes all chat logs were lost. I don't think it's a good idea to purge chat logs automatically. I have logs of dozens of channels over 10 years and it really doesn't take up that much space if you avoid channels with huge amounts of spam.

    IRC has no mechanism for storing messages, the server only transmits them. If you're not present in the channel and store them yourself then you just miss those messages, including direct messages. This is the benefit and primary purpose of using an IRC bouncer, it stays connected so you can see and store chat history yourself.

    The Lounge

  • Repository archives balooned to take up all space on disk
    infogulchI infogulch

    I don't know if that's what is intended or not. What are the repo archives for? The live repo data was still present, so it doesn't affect live data.

    I wanted sorted output because there were thousands of files, so du -h wasn't very helpful.

    Gitea

  • Chat logs lost after update from 1.19 -> 1.20
    infogulchI infogulch

    All my TheLounge chat logs have been lost. After testing backups I found the first backup missing logs occurred in the update from 1.19 to 1.20 on 12/15. I have archived the last good backup so they're not completely destroyed.

    Maybe related to the change mentioned in Lounge backups regularly stalling?

    Cloudron should take these actions at minimum:

    • Affected users should be notified (anyone running TheLounge app) and instructed to archive the last 1.19 backup ASAP
    • Identify the cause of the lost logs (just a mishap in the transition to symlinked logs?)
    • Validate that logs are still being backed up at all
    • Come up with a strategy to merge logs from the backup with the logs generated between 12/15 and today.
    The Lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search