r/hexos • u/DangerParticles • 1d ago
Support request OpenCloud fails installation
I wanted to try out OpenCloud but it fails to startup and complete installation.
Went into the TrueNAS UI to check what was going on and found this error in the log:
2026-12-04 09:28:58.066536+00:00Starting OpenCloud... 2026-12-04 09:28:59.700440+00:00{"level":"error","service":"opencloud","event":"opencloud: Failed service 'search' (1.000000 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":true,"failures":1,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"} 2026-12-04 09:28:59.723120+00:00{"level":"error","service":"opencloud","event":"opencloud: Failed service 'search' (1.999476 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":true,"failures":1.9994759998628475,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"} 2026-12-04 09:28:59.723780+00:00{"level":"error","service":"opencloud","event":"opencloud: Failed service 'search' (2.999439 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":true,"failures":2.999438633660238,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"} 2026-12-04 09:28:59.724493+00:00{"level":"error","service":"opencloud","event":"opencloud: Failed service 'search' (3.999394 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":true,"failures":3.999393967561059,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"} 2026-12-04 09:28:59.725066+00:00{"level":"error","service":"opencloud","event":"opencloud: Failed service 'search' (4.999334 failures of 5.000000), restarting: true, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":true,"failures":4.999333960077695,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"} 2026-12-04 09:28:59.725753+00:00{"level":"fatal","service":"opencloud","event":"opencloud: Failed service 'search' (5.999257 failures of 5.000000), restarting: false, error: error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","service":"search","supervisor":"opencloud","restarting":false,"failures":5.9992572704507054,"threshold":5,"error":"error parsing mapping JSON: unexpected end of JSON input\nmapping contents:\n","time":"2026-12-04T09:28:59Z","message":"service terminated"}
3
Upvotes
5
u/Nick_HexOS HexOS Staff 1d ago
Hi, thanks for posting the log. That error tells us what went wrong.
OpenCloud keeps a small search index in its app folder. If the very first start gets cut off while it is making that index, the index is left half written. After that, every start stops on "error parsing mapping JSON" and OpenCloud never comes up. The index is safe to remove, because OpenCloud builds a new one.
Since OpenCloud never got going, the easiest fix is a clean reinstall:
If it fails again with the same error, please reply with:
- How much memory (RAM) your server has
- Whether you turned on "Search inside documents" during install
- The first 30 or so lines of the new install's log, from the top, not the end
That will show us what cut the first start off.
Thanks