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
U

Usman

@Usman
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cloudron Backups to BackBlaze And RC Backup
    U Usman

    @joseph said in Cloudron Backups to BackBlaze And RC Backup:

    The idea is that files are incrementally uploaded into snapshot. Then, a server side copy is done into the timestamped directory i.e no upload. s3 has API to to do server side copies. The timestamped directories are complete backups and work standalone i.e they don't rely on the snapshot directory. You should not delete or change files in the snapshot directory. Otherwise, Cloudron has no idea if you changed it and will assume previously uploaded files are still there.

    I am not deleting anything. Right now I am testing Cloudron (and hoping to use it more for my setups)
    Since I am using "BackBlaze" for backups and that options is provided by Cloudron, there is no option/setting for me to make any changes in this process, everything is done by Cloudron here.
    The "Ideal" situation would be to just backup "complete app backups" to remote storage and keep the "snapshot" backups on the server (if that is incremental backup to create a full app backup)

    Right now, a 2 GB app backup is causing 4GB storage. (one 2 gb file in snapshot and one 2gb file in Date directory.

    Rocket.chat uses mongodb as the database and mongodbdump is the dump of the database. I guess this is tgz format. But it's to be treated as a single blob so the file extension is not important.

    I understand that RC is using MongoDB. And I double checked, that "mongodbdump" is indeed a tgz file which contains the same backup data that is under the "data" directory as "mongodump.tar" file.
    Again, one mongoDB database is backed up twice. (having it one copy should be enough)

    This is created by the app itself, maybe. This is not created by Cloudron. Maybe the app is also creating backups of it's own. You can disable this.

    There is no "backup" options in RocketChat itself. The only option I have configured is Backups in cloudron. So this is done by Cloudron Backup procedure.

    My main concern here is, unnecessary data transfer and unnecessary space usage in BackBlaze (or any remote storage). Right now, the dbs are small (1 GB in one app, 100mb in 2nd app) so it probably not making it an issue. But if the db will grow (which it will), the backup process might start giving trouble,

    So in short, one RC app is backed up twice (under snapshot and then under date directory) and the mongodb database is backed up twice in there (one in tar and one is tgz). Seems inconvenient

    Like i said, planning to use Cloudron more so such things matter.

    Support backups mongodb

  • RocketChat App And Email Issue
    U Usman

    @joseph Its kind of a hassle (to add main domain just to be able to send emails) .. But this worked 🙂

    At least for my case scenario. Luckily I am using CloudFlare for domains so I was able to get free wild cert for both main domain and sub domain and was able to add them free of cost. Would be a real inconvenience if the domain was setup elsewhere.

    I wish (I hope) there would be a setting to disable those "SSO (OIDC or LDAP) and also Email" features if one does not require them at all. (for a very good reason).

    Rocket.Chat

  • Cloudron Backups to BackBlaze And RC Backup
    U Usman

    Hello,

    I am posting it here since it's related to "General Backup" process as well as specific to App backup.
    I am using BackBlaze for Backups.
    General Question:
    In my BackBlaze bucket, I see "snapshot" directory as well as date wise directory (for daily backups). I see my apps being backed up at both locations, under Snapshot with container name and under date directory with App name.
    (so looks like 2 backups files for each run which looks to be same)
    Why is that ? Looks like un-necessary upload and space usage ? (Or m I missing something)

    App Question:
    I am using RocketChat app. I downloaded the backup from Backblaze, extracted it and I see one "mongodbdump" file without any extension. And then a data directory with mongodump.tar (which looks to be mongodump of the app instance)

    What exactly is "mongodbdump" which is taking about 300MB.

    Just trying to understand Cloudron backup in a better way and making sure the backups are properly done in case something bad happens.

    Thanks

    Support backups mongodb

  • RocketChat App And Email Issue
    U Usman

    @joseph No, my Cloudron Dashboard is totally different from RC installs.
    That would be my.app.my2nddomain.net

    I don't get why Cloudron want's to manage Emails for RC app when it has perfectly working built-in system for it.

    Rocket.Chat

  • RocketChat App And Email Issue
    U Usman

    @nebulon Can you help me here ?

    Rocket.Chat

  • RocketChat App And Email Issue
    U Usman

    @nebulon Thanks for your quick reply.
    I did some more testing and let me give you info and explain why it's causing issue.

    RC is setup at a subdomain. (chat.mydomain.com) Works fine.
    Under the Cloudron Email settings, I decided to "disable" email for that domain. (Since I wanted to setup Email within RC config as i have done it multiple times)
    Under the RC app settings in cloudron, It says, "Leave Empty to use platform default)

    image.png
    Which I assumed means, I can use setting in RC to send email.

    (1) Now, it you disable email under "chat.mydomain.com" in cloudron, even if you have perfectly working SMTP settings in RocketChat, no email will be sent.

    (2) Even if you leave "From" blank, like it says in the App setting, it changes it to "noreply.app". I have to setup SMTP setting under Cloudrun to be able to send email via RC app. (which is not ideal)

    The sending email (i.e. From Email" need to be from the main domain. "hello@mydomain.com"
    But there is no way to do it since Cloudron is forcing "noreply.app@chat.mydomain.com" Making "Email" setting under Rocket.Chat absolutely useless.

    I hope that explains what I am trying to accomplish here. I do not mind setting up SMTP settings under Cloudron but the sending email is being forced to "some-email@chat.mydomain.com" which is not ideal in most cases.
    It needs to be "myemail@mydomain.com" but I am not seeing anyway to achieve that.

    Thanks

    Rocket.Chat

  • RocketChat App And Email Issue
    U Usman

    Hello,

    Looks like there is a possible issue/bug with the email setup on RC app and Cloudron Email settings.

    I have disabled "Emails" under Cloudron--Settings Section for the domain that is using RC.
    Under the app, I still see "Email" settings .. (which are already disabled).
    In RocketChat admin, I am using proper Email Configuration (under Email-SMTP) which has always worked for me in the past.
    But using Cloudron, I am not getting any emails sent via RC..

    I am assuming since I disabled Emails under the settings, it's doing something weird and blocking all the outgoing emails.

    RC is installed on a subdomain. It's working fine without any emails going out. (so no registration email etc).

    Can someone help me out here. What I am missing ? Do I "have to" set email settings under the domain and under RC app to be able to send emails ?

    Thanks
    Usman

    Rocket.Chat
  • Login

  • Don't have an account? Register

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