• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Unable to upload via API since migrating Chevereto 2 to a new VPS

FileGuide

Chevereto Member
For months now I have had a Chevereto 2 image host running and a couple days ago I was forced to migrate it over to a new VPS. Ever since I have been unable to upload my images from my existing bash script. Basically the code I use moves images to the local server's /var/www/jpg/ folder so that they can be cURL uploaded into Chevereto via the API url, code for this is as follows:

curl -s "http://chevereto2.Image.Host.HostNa...verHostname/jpg/imageFileName.jpeg&format=xml" >> .Links.swp;

I also used to be able to just enter something similar to this manually in a web browser to make this work:
http://chevereto2.Image.Host.HostName.tdl/api?upload=http://someIP/jpg/someFile.jpeg

Using either of the aforementioned ways now the only thing I get when I try to do these is as follows:
{"status_code":403,"status_txt":"image base64 string must be sent using POST method"}

I have confirmed that its not a firewall issue as I was able to wget the image to the image host. I also thought it may have been a mod_rewrite issue but I rsync'd all of my apache2 conf files from the original server and made sure they were updated to reflect the new server's hostname and/or IP address.

Any clues as to how I can resolve this error so that I can get my Chevereto 2.0 image host back on track with allowing me to cURL upload via a bash script would be most appreciated!
 
Just resolved the issue finally :). What I was missing was a FQDN, so I just bought a new hostname and applied it to my server and now its running fine again.
 
Back
Top