Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

v7.10.3 / 1.75.1 lost/erased all files from S3

Scheduled Pinned Locked Moved Mattermost
13 Posts 4 Posters 82 Views
    • 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #1

    I have Mattermost configured against SOS storage at Exoscale and all - all - my files get lost there.

    As support didn't get back to me, I started googling and only found a known issue in that release in the focal boards: https://mattermost.atlassian.net/browse/MM-53240 - which seems to have a fix https://github.com/mattermost/focalboard/pull/4785/commits/8f97fedad7cb14a14a198f805fbf2602231e76bf

    At the same time Mattermost lost connection to S3 and I can't bring it back.

    I wonder if anyone has any related experience?
    I'm not sure if it's happened exactly after update, it might be day before the update and I wouldn't expect update to remove all files from S3 bucket...

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #2

    Are the files removed from S3 itself? Or are the links just not working from mattermost ?

    The cloudron package itself of course has no code to delete files. And that too it has no S3 access. Does mattermost have any S3 file retention settings? Just wondering why it would even have code to delete files.

    potemkin_aiP 1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to girish on last edited by
    #3

    @girish both - the bucket is empty and S3 connection is broken.

    Yeah - I don’t consider that could be Cloudron issue in any way - I’ve seen the only thing that’s changed on the packaging - it’s a patch version update.

    Retention policy - not on Mattermost side, but I didn’t think of that, thanks for a new vector of thoughts!

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #4

    I had something similar happen at a different S3 provider, and after 2 months, the solution was to delete that bucket and create a new one, as their infrastructure has upgraded past the support for the original bucket code version, heh.

    Life of sky tech

    potemkin_aiP 1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to robi on last edited by
    #5

    @robi wtf😳 ?!
    Could possibly share the providers names? And how on earth could it be that s3 content can get lost because of the version’s update?!

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to potemkin_ai on last edited by
    #6

    @potemkin_ai nah, too much drama 🙂

    Life of sky tech

    potemkin_aiP 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #7

    I would also consider contacting Exoscale about it and asking them if they have any audit logs of who deleted the files. Maybe the originating IP and such.

    1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to robi on last edited by
    #8

    @robi I understand… 😕
    Is it something you had with Mattermost as well? Or it was something completely different?

    I’m just trying to figure out the dangerous use case.

    @girish thank you! I did!

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to potemkin_ai on last edited by
    #9

    @potemkin_ai nope just regular backups

    Life of sky tech

    potemkin_aiP 1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to robi on last edited by
    #10

    @robi who cares about backups, right? 🙂
    I would appreciate though if you could share (here or any other way) the providers names; not a problem if not, but I would feel better knowing what to avoid.

    1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #11

    In my specific case, Exoscale's support was quite helpful - they checked the logs of the script that calculates the bucket size and they pointed out that the bucket was always empty.

    After additional checks, I realized that Mattermost doesn't respect file's storage settings and doesn't upload files to s3, even if S3 connection works; I believe something goes wrong with using those settings which leads Mattermost to silently default to work with local storage. I understand it shall be reported upstream, but I have no capacity for that right now, so just leaving this note here for now - in case if someone will encounter this issue as well.

    1 Reply Last reply
    0
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by
    #12

    So, where did your files go?? They just stayed local, but appeared as remote?

    A life lived in fear is a life half-lived

    potemkin_aiP 1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    replied to scooke on last edited by
    #13

    @scooke yes, the files were stored locally all of the time, despite my settings were quite opposite (S3)

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.