Closed ntrsboy closed 1 year ago
It seems the guide (which is now on wiki here https://github.com/asciinema/asciinema-server/wiki/Installation-guide) forgets to mention the nginx container needs to be restarted as well. Have you restarted it too by any chance?
I followed the guide from the wiki and it works. I can now upload file larger than 10MB
remember to rebuild the container (with docker build
, not with docker-compose build
) and to restart the server (docker-compose down && docker-compose up -d
)
FYI I just made configuration of the upload size limit much easier, via the UPLOAD_SIZE_LIMIT
env variable.
See here: https://docs.asciinema.org/manual/server/self-hosting/configuration/#upload-size-limit
This assumes you don't use nginx as it was previously suggested, but instead use simpler setup as shows in the current getting started guide: https://docs.asciinema.org/manual/server/self-hosting/quick-start/
Hello, we have an issue uploading larger asciicasts to our self-hosted asciinema-server. Our files are too large for the default setting, so we increased the values as shown at this guide. We made the necessary changes, rebuilt, and restarted, however trying to upload a file still gives us the "Sorry, your asciicast is too big." error.
Here is our
lib/asciinema-web/endpoint.ex
config file:Our
json_decoder
(inlib/asciinema-web/endpoint.ex
) was set toPhoenix.json_library()
by default instead ofPoison
as shown in the guide. We tried both types ofjson_decoder
with identical results. Is there some limitation on how large the limit can be raised?This server is being run using the latest version of asciinema-server on Docker on a server running Ubuntu 20.04. Any feedback on how to resolve this issue would be appreciated greatly. Thanks.