• 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:

  • 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

Logo and home cover images path go wrong after upgrading to 4.2.0

Version
4.2.0
Website URL
https://image.cx
PHP version
8.1.30
Database driver
MariaDB
Database version
10.6.8
Web browser
Chrome

koxle

Chevereto Member
▶ Reproduction steps

1. Confirm I am using php 8.1 on my vps
2. Click upgrade directly
3. Fail to upgrade (show php need 8.1.28 or later but existing php is 8.1.7)
4. upgrade php from 8.1.7 to 8.1.30
5. Found the home page become empty after the upgrade.
6. run "php app/upgrading.php" in the web root folder via ssh
7. follow the ssh output the access the /update via Chrome
8. Follow the message from my home page to add back the exif support and imageMagick support.
9. Able to access admin dashboard and remove the exec, proc... related disabled functions from php.ini to get back the video handling functions.

😢 Unexpected result

10. Found the Logo, and the home cover image URL go wrong


the correct one should be https://image.cx/content/images/system/home_cover_1587629432388_5a2cef.jpg

Is the upgrade process will help to move the related files to the new location but the first upgrade is failed so fail to move them?

📃 Error log message
 
Solution
The problem has been solved. Someone has disabled the PHP function [PROC_OPEN] on my hosting

I discovered this after uninstalling chevereto and trying to reinstall it. Then a message appeared that the required PHP function proc_open was missing.

Such technical problems are practically impossible to detect by a user like me. It's a shame I had to delete everything to discover it 🙁

Some kind of detection of correct php configuration in the dashboard would be useful. For users like me.
You can resolve this by going to Dashboard > Settings > Asset Storage and updating the paths to match your system’s configuration. Make sure they’re accurate for everything to work smoothly.
 
Avatar again.

Need help because I don't have the strength to do it anymore. Admin account works, logo, avatar etc.
I created a test user account and the avatar won't upload for the hell of it. The action wheel spins endlessly.

I removed images/_assets from the path in Asset storage settings earlier. But it doesn't work. I feel like the system doesn't set up the directory for the new user at all.
/content/images/users directory has only one user directory - admin.

But user uploading of photos works without a problem.

I was waiting for TAG implementations. Now I have translated the interface into Polish, most of the missing phrases. But I still can't publish the gallery officially because the above.... 🙁

site: https://twoj.krakowznieba.pl/
 

Attachments

  • asset.jpg
    asset.jpg
    48.9 KB · Views: 14
If permissions feel overwhelming, it’s worth getting familiar with Unix permissions as they’re easier to manage once you understand them. Our documentation clearly outlines permission settings; remember, www-data (or equivalent) needs ownership of the application path and in any local mounted path.

In this case, it seems the PHP user doesn’t have the necessary permissions for the path, which is why it can’t write.

I don't have the strength to do it anymore
No need to stress—direct support is available if you’d like help setting things up. I’ve been in this field for decades and am here to assist whenever needed.
 
okay I have chevereto installed but something is wrong with these permissions. My admin account works. I read the documentation but it is too difficult for me. I installed chevereto via Cpanel in my hosting and I was hoping that it would be easier like WordPress. Everything works there. How much will it cost to fix these permissions so that user accounts work.
And what do I need to provide? Login to my direct admin hosting panel and admin login to chevereto? Is that enough?
 
Last edited:
@Rogeros

Compared to WordPress, Chevereto does offer more control over permissions, and yes, it does have a slightly more hands-on setup process. But this setup actually plays a big role in protecting your server. Unlike WordPress, which often faces security issues due to plugins and frequent automated attacks, Chevereto’s permissions are configured to prevent unauthorized access, reducing the chances of vulnerabilities sneaking in.

For your setup, I can help align those permissions so everything runs as expected. My rate for this work is $60 per hour, and I estimate it should take around an hour to get everything in place. I’d need logins for both your hosting panel and Chevereto’s admin account.

Let me know if you’d like to move forward!
 
@Rogeros

Compared to WordPress, Chevereto does offer more control over permissions, and yes, it does have a slightly more hands-on setup process. But this setup actually plays a big role in protecting your server. Unlike WordPress, which often faces security issues due to plugins and frequent automated attacks, Chevereto’s permissions are configured to prevent unauthorized access, reducing the chances of vulnerabilities sneaking in.

For your setup, I can help align those permissions so everything runs as expected. My rate for this work is $60 per hour, and I estimate it should take around an hour to get everything in place. I’d need logins for both your hosting panel and Chevereto’s admin account.

Let me know if you’d like to move forward!
I can confirm the security part for WordPress 🤣(https://www.wordfence.com/threat-intel/vulnerabilities/researchers/mika)
 
Visiting Dashboard > Settings > Asset Storage showed me what was wrong for my setup.
However the upgrade had set 'URL' to 'Website Name' which was causing the issue.
Fixed now.
Thank you for the software and maintaining it.
 
After doing some additional experimentation, I discovered that the indexing feature for
"public_html" in my database was switched to "no indexing" after I made the update causing all of my
images to be broken and not show up.

After hours of trial and error, simply right clicking on "public_html", clicking "manage indices",
then switching it from "no indexing" to "inherit" did the trick.

Ofcourse, you have to make sure the path is correct at Dashboard > Settings > Asset Storage but this was the remedy!!
I can now upload the images for my avatar and background 😁🎉

All I can say is prayer works because I am a complete beginner with the most basic understanding of all of this lol.
 
Last edited:
Visiting Dashboard > Settings > Asset Storage showed me what was wrong for my setup.
However the upgrade had set 'URL' to 'Website Name' which was causing the issue.
Fixed now.
Thank you for the software and maintaining it.
How is it supposed to look like?

I cannot update my logo as well, how do I fix this issue?
 
How is it supposed to look like?

I cannot update my logo as well, how do I fix this issue?

it seems like the chevereto gallery is for people who know about deeper backend settings and technical aspects of permissions, php settings and who knows what else. And the documentation is crap in my opinion. You're not the only one with these problems.
 
Chevereto does come with a few technical requirements that can be challenging, especially with things like server permissions and PHP settings, which are crucial for stability and performance.

We’re actively working on improving the documentation to make it as clear and useful as possible for all users, regardless of their technical background. In the meantime, I’m here to help answer questions or walk you through any part of the setup. Your feedback is valuable, and we'll keep working to make Chevereto more accessible.

Thanks for sharing your thoughts!
 
Chevereto does come with a few technical requirements that can be challenging, especially with things like server permissions and PHP settings, which are crucial for stability and performance.

We’re actively working on improving the documentation to make it as clear and useful as possible for all users, regardless of their technical background. In the meantime, I’m here to help answer questions or walk you through any part of the setup. Your feedback is valuable, and we'll keep working to make Chevereto more accessible.

Thanks for sharing your thoughts!
I am able to go through server settings, end of the day - chatgpt exists that will guide you through everything, especially ubuntu/php/mysql.

What is the URL/destination for storage supposed to look like?

Give me the location where this setting is, I'll use winscp or putty to ssh into the files and manually change it.
 
@Jeison

It all depends on where you want to store these assets. For Docker we need to mount storage at /images so we re-use that by default. The demo has the following setup (demo runs Dockerized Chevereto):

1730987736908.png

For other setups (VPS, etc) you don't need to mount anything, so in these cases you can use any public path. By default 4.2.2 will use:
  • Path: /var/www/html/
  • URL: /
To clarify, you can set any path there long as it is writable. The URL can also include the protocol+domain (useful if you are using custom CDN).

I strongly recommend using a custom folder and not /, just to keep things more organized.
 
@Jeison

It all depends on where you want to store these assets. For Docker we need to mount storage at /images so we re-use that by default. The demo has the following setup (demo runs Dockerized Chevereto):

View attachment 6217

For other setups (VPS, etc) you don't need to mount anything, so in these cases you can use any public path. By default 4.2.2 will use:
  • Path: /var/www/html/
  • URL: /
To clarify, you can set any path there long as it is writable. The URL can also include the protocol+domain (useful if you are using custom CDN).

I strongly recommend using a custom folder and not /, just to keep things more organized.
Could you perhaps tell me what exactly must I fill in the path so that my logo and watermark is working again?

I tried to copy from your image, but it says it's not writeable, I'm using ubuntu 24.04

tried;
sudo chmod -R 777 /var/www/html/images/ and sudo chmod -R 777 /var/www/html/

as well as: sudo chown -R www-data:www-data /var/www/html/

am I doing something wrong? Who do I grant read/write access.
 
@Jeison

Under no circumstances should you follow any guide suggesting chmod 777 permissions—our documentation does not endorse this practice at all.

Instead, use chown -R www-data: /var/www/html/images and set the asset path to /var/www/html/images/_assets with the asset URL /images/_assets.

I've left some comments in installer.php that might help clarify these paths: installer.php on GitHub.

The old path was /var/www/html/ and URL / which you should use if you are upgrading from previous versions.
 
The problem of user avatars still exists for me. Chevereto is placed on a regular purchased hosting installed by the service in cpanel. I don't have docker, I don't have Linux or others, I don't have ssh. Only access via ftp and the hosting panel. The administrator of my hosting is also interested in what chevereto requires for proper operation.

Chevereto administrator account - adding photos and avatars works.

User account - adding photos works, adding avatars doesn't work

Assets configuration:
asset2.jpg

I set the 777 attribute for directories and subdirectories /content/images/users

If I change the user account permissions to admin -> everything works. However, if the user has regular access rights, they cannot change the avatar or profile background, but they can add photos.

WHY? What am I doing wrong?
 
What am I doing wrong?
I wish it could be that simple to answer, but without a deeper inspection, it's impossible for me to provide a definitive solution at this time.

The common factor seems to be the use of a shared environment, which we can't predict. We welcome all hosting providers to provide us with developer accounts to try Chevereto, but unfortunately, we have zero test accounts at this time.

🥲
 
So chevereto doesn't work properly on hosting systems in the cpanel installation service. I don't know what else can be configured to make it work. It's a shame because it looks good but I'm afraid of more surprises. I spent hours on it, also translating the interface into my language 🙁 I won't pay for solving gallery operation problems on the chevereto side. It should just work. Without doing magic tricks.
 
Back
Top