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

Maximum Upload Size Exceeded in Standalone Version #20

Closed
davisidarta opened this issue Mar 6, 2020 · 3 comments
Closed

Maximum Upload Size Exceeded in Standalone Version #20

davisidarta opened this issue Mar 6, 2020 · 3 comments

Comments

@davisidarta
Copy link

Hey @romanhaa

First of all: THANK YOU for this amazing tool! I use Cerebro on a everyday basis and my non-bioinformatician colleagues love it for exploring results I share. I'm also sharing Cerebro objects for our new article submissions :)

I'm opening this issue because of a minor issue when using Cerebro on a Windows machine. Similarly to Cerebro implementation in R, an error message appears when trying to upload large files to Cerebro, stating 'Maximum Upload Size Exceeded'.

When I use Cerebro within R, I can easily bypass this by setting MaxFileSize to a larger value. However, I couldn't figure out how to do this when using a Windows standalone version (which I requested to be installed on my lab study room computer). Is there any way to set this value when using Cerebro in the standalone version?

@romanhaa
Copy link
Owner

romanhaa commented Mar 6, 2020

Hi @davisidarta! It's always great to hear that people find Cerebro useful. That's exactly what I made it for :)

Fixing the issue you describe should be pretty straight-forward. What you need to do is the following: Navigate to the directory where Cerebro is installed, and from there to resources/app. In there, you should find a file called app.R which contains the call to cerebroApp::launchCerebro(). After adding the maxFileSize parameter with the proper value you should be ready to load larger files into Cerebro.

Please let me know if this worked for you.

In the future, I'll probably increase the limit or remove it completely, maybe just add a warning instead.

@davisidarta
Copy link
Author

@romanhaa That solved it! Thank you lots :)

@JMarzec
Copy link

JMarzec commented Jun 18, 2021

Hi @davisidarta

On top of @romanhaa's hint I also had to change limits on the server where I'm hosting Cerebro. In my case changing the server's maximum HTTP request size allowance solved the issue.

Best
Jacek

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

No branches or pull requests

3 participants