Elements CMS works locally but not on Synology Web Station (only first components visible)

Description:

Hi everyone,

I’m using Elements by Realmac with the new CMS component.
Locally everything works perfectly, all CMS elements are displayed as expected.

However, once I deploy the project to my Synology NAS (Web Station, DSM 7, PHP 8.2), only the first static components show up. All CMS-driven content remains empty.


What I’ve already checked:

  • Running PHP 8.2 (assigned via Web Station profile)

  • mbstring extension is active (phpinfo() confirms → mbstring support enabled)

  • All CMS pages are exported as .php (not .html)

  • Full folder structure uploaded (cms/, cms-data/, rw_common/, resources/)

  • cms-data folder has proper write permissions for the webserver user

  • Virtual Host points to the export folder, index.php is set as index file

  • info.php test shows PHP 8.2 is working and mbstring is loaded


Question to the community:

Has anyone successfully run Elements CMS on Synology Web Station?
Could I be missing another PHP extension (like pdo_sqlite, json, …) or a specific Apache/Nginx setting (rewrite/module) required for the CMS?
Or does Elements CMS need a particular adjustment to run smoothly on Synology?


Thanks a lot in advance for any advice! :folded_hands:
Patrik

1 Like

I haven’t got a Synology device.

That said, does the PHP log on you Synology device shows anything when you access the web page with your CMS entries?

I fixed the issue :white_check_mark:

It wasn’t PHP or missing extensions – the problem was simply file permissions on Synology. Elements CMS (Monolog) couldn’t write to app.log inside the logs folder.

Fix:
Give the Synology webserver user (http) ownership and write access to the logs folder:

sudo chown -R http:http /volume1/web/fdpkandidaten/rw/elements/com.realmac.corepack/api/logs \
&& sudo chmod -R 775 /volume1/web/fdpkandidaten/rw/elements/com.realmac.corepack/api/logs

After this change, Elements CMS runs perfectly on Web Station. :rocket:

2 Likes

That’s great to know, and I’m glad you got it working :smiling_face_with_three_hearts:

1 Like

Hello @donbusci

Thank you for sharing info :clap: