By miccoh
Hi, I am trying to add the option catchall_document: index.html to my app spec via doctl. However I recieve 500 server error evertime I run this command:
doctl apps update <app_id> --spec ~/dev/.do/quiz-app.yaml.
doctl apps spec validate says my spec is valid. What am I doing wrong and why cannot update my app spec at all from doctl???
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Hi @miccoh,
Usually this means that there is a validation error in the spec that is mis-categorized as a 500 error instead. Could you post the YAML that you’re trying to upload? Do you happen to have error_document configured as well? It’s mutually exclusive with catchall_document so you’ll need to remove it if so.
If you would like to, you can add the --trace option to doctl to print the full details of the request and attach it to a support ticket so that the team can take a closer look.
As for the doctl apps spec validate command, currently it only does basic validation around the YAML structure. We’re working on expanding the scope of validation checks that it performs, but currently it does not include all the rules.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.