ZimaOS Photos not displaying photos in iOS app – Manticore errors

I’m experiencing an issue with the ZimaOS Photos feature in the Zima Client app on my iPhone.

Problem description:

When I open the Photos section in the iOS app, my photo library does not load and no photos are displayed.

Initially, the application showed a “Photo library unavailable” error, along with an incorrect asset count of approximately 380 quadrillion (380106020652847104).

I also discovered that the Manticore Search service was repeatedly crashing during startup.

Errors found in the system logs:

Manticore process exited during startup:
signal: segmentation fault (core dumped)
failed to create
photo_asset_relations.meta.new:
Too many open files

Technical findings:

  • Manticore Search version: 29.2.4

  • ZimaOS Photos service: zimaos-photos.service

  • Manticore index size: approximately 1.5 GB

  • Number of index files: 1,687

  • Original soft file descriptor limit: 1,024

  • Hard file descriptor limit: 524,288

I discovered that the systemd service was configured with a soft limit of only 1,024 file descriptors, which appeared to be insufficient for Manticore.

Troubleshooting performed:

  1. Checked the Manticore logs and confirmed repeated startup crashes.

  2. Identified the “Too many open files” errors.

  3. Attempted to configure max_open_files = 65535 in searchd.conf, but ZimaOS automatically overwrites this configuration during startup.

  4. Created a systemd override for zimaos-photos.service with:

    [Service]
    LimitNOFILE=65535:524288
    
  5. Confirmed that systemd now reports LimitNOFILESoft=65535.

  6. Restarted ZimaOS Photos.

Current situation:

After increasing the file descriptor limit, the Manticore errors appear to have stopped.

However, the Photos section in the Zima Client iOS app still does not display any photos.

The original startup errors seem to be resolved, but the photo library remains inaccessible or fails to load correctly.

Could you please help me investigate the following?

  • Why does ZimaOS Photos use a soft file descriptor limit of only 1,024 by default?

  • Could the previous Manticore crashes have affected the photo database or indexing state?

  • Is there a supported way to repair or rebuild the photo index without losing any original photos?

  • Are there any known issues with ZimaOS Photos or the iOS Zima Client that could explain why the library remains empty?

Screenshot from my iPhone showing the issue :

Thank you for your assistance!

Is your iOS version 1.8.2?

iOS 27.2.1 / zima client 1.8.2(603)

You can try our latest alpha version, which has fix it, if you want.

Please run the following command as root. Your device will automatically reboot after a successful installation:

rauc install https://casaos.oss-cn-shanghai.aliyuncs.com/IceWhaleTech/zimaos-rauc/extenal-package/zimaos-x86_64-1.8.1-alpha1.raucb && reboot

After updating, if the issue persists or you notice anything unusual, please let us know.
Thank you for your patience and help!

Before installing that alpha, it would help to confirm whether the package is for the ZimaOS server or the iOS client. Your Zima Client is already 1.8.2(603), while the package is 1.8.1-alpha1. If it is server-side, watch the zimaos-photos and Manticore logs after the update and check whether a photo index rebuild or rescan is needed; those logs should show whether the old crash left the index stale.

Thank you very much for your support and for pointing me to the 1.8.1-alpha1 update. I really appreciate your help and the work your team is doing to resolve this issue.

My ZimaOS server is running a fairly complex production environment, with numerous Docker containers, critical services, and a significant amount of application data spread across multiple storage drives.

Because of this, stability and data integrity are extremely important to me. Although I would really like to get the Photos functionality working properly again, I’ve decided to wait for the stable release rather than risk introducing new issues by installing an alpha version.

Fortunately, the rest of my system is functioning well, so I can afford to be patient.

I hope the fix will be included in the upcoming stable release. In the meantime, I’ll continue using my current setup and keeping an eye on future updates.

Thank you again for your assistance and for your continued work on improving ZimaOS. It’s great to see the community receiving direct support from the development team!

Thank you for your feedback. We fully understand and expect to release beta version 1.8.1 this week, followed by the official release a week later.