r/hexos • • 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 comments sorted by

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:

  1. In HexOS, go to Apps and find OpenCloud.
  2. Click Uninstall.
  3. Tick "Also remove application settings and config files", then click Uninstall. This removes OpenCloud's own app folder, which holds the broken index. Your files in your Documents folder are not touched.
  4. When the uninstall finishes, install OpenCloud again the same way you did before.
  5. If HexOS says "Previous installation detected", tick "Start clean".
  6. Give the first start a few minutes, and don't stop or restart the app while it is starting.

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

1

u/DangerParticles 1d ago edited 3h ago

Hi, thanks for the reply. I uninstalled via the HexOS command deck and tried installation again. This time with any extras turned off including "Search inside documents", "Calendars and contacts" and all web apps off as well. It's still isn't installing. This is the full error log before OpenCloud stopped automatically:

2026-12-05 00:30:37.659680+00:00Config file not found!
2026-12-05 00:30:37.824738+00:002026-12-05T00:30:37.824738789Z
2026-12-05 00:30:37.824789+00:00=========================================
2026-12-05 00:30:37.824801+00:00generated OpenCloud Config
2026-12-05 00:30:37.824810+00:00=========================================
2026-12-05 00:30:37.824818+00:00configpath : /etc/opencloud/opencloud.yaml
2026-12-05 00:30:37.824834+00:00user       : admin
2026-12-05 00:30:37.825028+00:00password   : [password]
2026-12-05 00:30:37.825040+00:002026-12-05T00:30:37.825040435Z
2026-12-05 00:30:37.830931+00:00Starting OpenCloud...
2026-12-05 00:30:39.113190+00:00The password of service user admin has not been set properly in your config for idm. Make sure your /etc/opencloud config contains the proper values (e.g. by using 'opencloud init --diff' and applying the patch or setting a value manually in the config/corresponding environment variable).

The HexOS install UI showed this error too: Makes your sign-in OpenCloud's administrator.: INSTALL_APP_STEP_INTERRUPTED

Edit: Forgot to say I have 32GB of ram

1

u/Nick_HexOS HexOS Staff 12h ago

Thanks for trying that. Turning off search and the extra features did not resolve it, so those settings and your 32 GB of RAM do not appear to be the cause.

I found a likely issue in HexOS’s OpenCloud setup. The TrueNAS app needs an initial administrator password before it starts, but HexOS is not currently passing that value through correctly. The later setup step then fails. Please pause further uninstall and reinstall attempts while we verify the fix.

One security note: the log you posted includes a generated password. Please edit your comment to remove that line, and treat that password as exposed. Please don’t post any more logs containing passwords or other secrets.

2

u/Nick_HexOS HexOS Staff 11h ago

We have a fix we have in testing. If all goes well it should be out by Tuesday night. Sorry for the delay. Thank you for bringing this to our attention. It really helps fix this going forward.

1

u/DangerParticles 1h ago

Great to hear! Thanks for looking into it. I'll give it another go sometime next week.