# CMS colllection show local but not on AL2023 server

**URL:** <https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830>\
**Category:** Elements\
**Created:** [March 3, 2026, 1:42am UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830 "2026-03-03T01:42:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfroelicher](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@pfroelicher](https://forums.realmacsoftware.com/u/pfroelicher)\
**Post date:** [March 3, 2026, 1:42am UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830/1 "2026-03-03T01:42:37Z")

</div>

I have CMS and site/blog page.  
Testing locally this works fine. When I upload to a Amazon Linux 2023 server the blog entries, the collection does not show anything.  
This has worked before.. I just checked out v2 of Elements.  
I checked php, checked the collections settings, set to the right /cms/posts folder. etc. etc. But I cannot make it work.  
Any hints?

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [March 3, 2026, 8:43am UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830/2 "2026-03-03T08:43:04Z")

</div>

Worth checking the php version…

Elements CMS [requires PHP 8.4](https://docs.realmacsoftware.com/elements-docs/cms/getting-started/system-requirements) to be installed on your server.

We also have a log manager that may shed some light on the situation (If you’re running PHP 8.4 and it’s still not working).

---

<div class="post-metadata">

**Author:** ![pfroelicher](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@pfroelicher](https://forums.realmacsoftware.com/u/pfroelicher)\
**Post date:** [March 3, 2026, 12:33pm UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830/3 "2026-03-03T12:33:12Z")

</div>

Hi dan,

It is 8.4, being amazon linux 2023.

I also run two other sites on the same server, you helped me convert from Classic at the time.

The others work.

It might have to do with permissions or with groups or owners…

---

<div class="post-metadata">

**Author:** ![pfroelicher](https://avatars.discourse-cdn.com/v4/letter/p/dec6dc/32.png) [@pfroelicher](https://forums.realmacsoftware.com/u/pfroelicher)\
**Post date:** [March 3, 2026, 7:32pm UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830/4 "2026-03-03T19:32:37Z")

</div>

Gemini be thanked

1. Set directory permissions and the ‘setgid’ bit

sudo chmod 2775 /var/www  
find /var/www -type d -exec sudo chmod 2775 {} ;

# 2. Set file permissions

find /var/www -type f -exec sudo chmod 0664 {} ;  
did the trick

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [March 3, 2026, 9:40pm UTC](https://forums.realmacsoftware.com/t/cms-colllection-show-local-but-not-on-al2023-server/54830/5 "2026-03-03T21:40:39Z")

</div>

So glad you got it sorted, and yes ChatGPT/Gemini are pretty damn good at helping resolve these kinds of issues ☺
