Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messing up the amazon S3 Configuration leads to (admin/general) lockout #2746

Closed
stunder opened this issue Apr 2, 2016 · 5 comments
Closed
Assignees
Milestone

Comments

@stunder
Copy link

stunder commented Apr 2, 2016

I updated the FileUpload Max size from 2097152 to 20097152 then I enabled Amazon S3 storage and saved my information. After this the frontend began "retrying connection" I eventually accessed the default root of the serer and now I am getting 503 errors. Is there a way to change the FileUpload settings back to default? I can see the changes in the DB but the service will not start.

@sampaiodiego
Copy link
Member

@stunder did you see any message at server logs?
you can see them under Adminstration > View Logs

@stunder
Copy link
Author

stunder commented Apr 4, 2016

@sampaiodiego I just got done rebuilding the server. After the lockout I was unable to get the server to accept any connections that would get me to the View Logs. I have now built 3 servers 2 for me to develop/test on and 1 that I can point most of my users to. I will retry the error situation tonight and report back.

@sampaiodiego
Copy link
Member

ok.. thanks..
if it get stuck, view the logs directly from the server.. for example with: docker logs, pm2 logs, etc. depending how you deployed your rocket.chat

@engelgabriel engelgabriel modified the milestones: 0.26.0, 0.25.0 Apr 4, 2016
@Lochemage
Copy link

@stunder

I did this as well, my problem was that I had changed Amazon S3 Region setting to an invalid value and apparently it causes the server to crash on startup.

In my case, I had to connect into mongodb directly and apply the following:

use rocketchat
db.rocketchat_settings.update({_id: "FileUpload_S3_Region"}, {$set: {value: "us-west-2"}})

Hope this helps.

@engelgabriel
Copy link
Member

Thanks for the info @Lochemage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants