• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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

Problem with uploaded images not displaying

redbat

Chevereto Member
🎯Description of the issue

Images do not display after uploading. No errors, get the "image not found" image instead of what I uploaded. Using local storage API with mounted 150GB volume on Hetzner. Images are placed on the volume successfully, but are not displayed - getting the default "Image not found" image.

▶🚶‍Reproduction steps
  1. Upload > Browse from your computer > upload
  2. Image not found
😢Unexpected result

Image not found

📃Error log message

No error log messages
 

Attachments

  • external_storage.jpg
    external_storage.jpg
    95.1 KB · Views: 3
  • image_path.jpg
    image_path.jpg
    45.6 KB · Views: 3
  • mounted_storage.jpg
    mounted_storage.jpg
    90.3 KB · Views: 3
  • edit_storage.jpg
    edit_storage.jpg
    87.6 KB · Views: 3
Thank you. I have mounted the external storage directly in the public_html folder and that appears to have resolved the issue with smaller files.

I am still having image display issues for larger files, however. I can see a photo I uploaded at its URL with no issues, but within Chevereto, it displays the "Image not found" image instead of the photo. The image is 2.4mb.

In php.ini, max_post_size is 100M and upload_max_filesize is 100M
Maximum Upload file size is set to 20MB in Settings > Image Upload

The server has been rebooted several times, as has Nginx. The installation was done via the install script here: https://v3-docs.chevereto.com/setup/install.html

The box is running Ubuntu 18.04 LTS w/2GB and 2 vCPUs. There is nothing else running or installed on the server.

Thank you for your help, I appreciate your time and I really like the work you've done.
 
It wasn't able to test anything as email isn't working in your installation. I never got the welcome email. Please note that you need to setup email delivery: https://v3-docs.chevereto.com/setup/root-install.html#email

Regarding this specific issue, so I understand that you are reporting that external storage uploading is working for all files but larger files won't show up? In that case, please note that is the server (not the Chevereto installation) which serve the files, so you have to debug on that server, not at Chevereto.
 
Thank you very much for your reply. I did not enable email because this is meant to be a private site - my grandfather recently passed away from COVID and this site is meant for family members to share photos of him and his life. I have now set up email, validated the "Support" user and assigned that user admin rights.

Things also appear to have gotten worse - now no files will display. I was previously able to upload 3 and they displayed fine, but now nothing is displaying no matter the file size. When files are uploaded, they appear in Chevereto with the "image not found" placeholder, they appear in the attached storage directory (ex: /var/www/html/x.x.x/public_html/pix/images/2020/10/14/zabbix_installation_frontend_step_1.png), and when those files are deleted via the Chevereto interface, they are also deleted from the "pix" folder. I believe I've ruled out a permissions issue, as the "pix" folder has 777 permissions currently.

Could it be something with the rendering?

I am fine with wiping the server and restarting from scratch, but I like to know the causes of issues. If you cannot think of anything that could be wrong with the Chevereto install or configuration, I'll just start over and try again.

Thanks again for your help.
 
Last edited:
You have an issue with the storage URL. This is the URL that chevereto is mapping:

Code:
https://px.rdbt.no/pix/images/2020/10/10/11/fonz.jpg/2020/10/14/nine-lives_m21_2560x1600_wallpaper.jpg

But this is the actual URL
Code:
https://px.rdbt.no/pix/images/2020/10/14/nine-lives_m21_2560x1600_wallpaper.jpg

You need to use
Code:
https://px.rdbt.no/pix/images/
as storage URL.
 
Back
Top