Skip to content

Notes version 0.1.6 not working #49

Open

Description

@HHUBSS

My opencloud version is rolling 9.0.0. I installed NoteS version 0.1.6, added the code in apps.yml, but it's showing 0.1.4 in the apps menu. I changed the version in manifest to 0.1.6 but no avail. I'm getting this error on opencloud:

Image

I'm also getting this error in devs tools:

Image

I tried to download Notes 0.1.4 eventually to test, but it's the same error. Not sure what to do. Can you please check? Thank you.

Activity

  1. gnacho commented on Nov 12, 2026

    @gnacho
    Owner

    Found the cause of the "0.1.4 in the apps menu" and it is on us, not on your setup.

    What happened

    The release asset notes-0.1.6.zip was published with a wrong version inside. Unzipping it:

    notes/manifest.json -> { "name": "web-app-notes", "version": "0.1.4", "entrypoint": "js/remoteEntry-UU2OYUkD.mjs" }
    

    The release workflow takes the version for the file name from the git tag (notes-v0.1.6 -> notes-0.1.6.zip) but the version inside manifest.json comes from extension/package.json at that commit, and at notes-v0.1.6 that file still said 0.1.4. So the zip is labelled 0.1.6 and declares itself 0.1.4.

    OpenCloud builds the external_apps list from each manifest.json when the opencloud service starts, so the apps menu shows whatever the manifest says. That is why you see 0.1.4 with the 0.1.6 zip installed, and why editing the value by hand did not change anything: the list is cached in memory at startup. The official docs are explicit that a manifest should not be edited manually either.

    The same mistake affected other releases at the time (news-v0.1.8 and news-v0.2.0 shipped 0.1.0, ocphotos-v1.2.0/v1.4.0 shipped 1.1.0). The current latest of all three is correct, and notes-v0.1.7 ships a proper 0.1.7 manifest.

    What to do

    Install the current release, which does not have the problem:

    ocapps-ext install notes
    # or, if it is already installed:
    ocapps-ext update --force notes

    Then check, on the server:

    cat /etc/opencloud/web/assets/apps/notes/manifest.json

    It must say "version": "0.1.7". Restart OpenCloud once (systemctl restart opencloud) and the apps menu will show 0.1.7. Without the restart the in-memory list keeps the old version, so 0.1.4 is expected until you do it.

    About the errors in your screenshots

    I cannot see the two images from here, but "0.1.4 in the menu" plus errors in the console is the expected combination when the manifest is wrong: the entrypoint it declares (remoteEntry-UU2OYUkD.mjs in the 0.1.6 zip) belongs to that old build, so if the folder you installed does not match, the remote fails to load and the app throws in the console. Once the manifest and the folder come from the same release (0.1.7) both symptoms should go away.

    If after that you still get errors, paste the console text and the output of systemctl status opencloud --no-pager | tail -20, and open the two images again in a comment so they are readable. I will take it from there.

    Fixed on our side

    • The docs issue for the install path is open (the backend being a separate piece from the extension).
    • I am going to make the release workflow fail when the tag version and extension/package.json disagree, so this cannot ship again. notes-0.1.6 stays as it is: replacing an asset of a published release would change a file people may have already downloaded, and 0.1.7 supersedes it.

    Sorry for the waste of time. Your report is what surfaced this.

    Mobile app

    This server also has a native Android client, ocnotes-android (Kotlin + Jetpack Compose, AGPL-3.0). It speaks the same Notes API v1.4, so it works against this backend out of the box: log in with your server URL, your user name and an app token (not your account password). Signed APK in the latest release. The README of ocnotes now documents it.

  2. HHUBSS commented on Nov 12, 2026

    @HHUBSS
    Author

    I updated to 0.1.7 but still showing the error from the screenshot. I asked chatgpt and I need to install ocapps. I then install and it works now. I'm just a normal user.

    Is there a mobile app for iOS?

  3. gnacho commented on Nov 12, 2026

    @gnacho
    Owner

    Good to hear ocapps sorted it out. That piece is easy to miss, and it is on our side to make the install path clearer.

    On iOS: there is no client and no plan for one in the short term. The Android app (ocnotes-android) is fairly new, and I do not own an iPhone or a Mac, so I cannot build or test an iOS client. If someone with the hardware and the time wants to take that on, I am happy to hand over the baton: the backend speaks the standard Notes API v1.4, so an iOS client is just another consumer of it, and I will link it from here and from the README.

    There are native Android clients for the other two apps as well: ocnews-android and ocphotos-android. They are still being polished, but they are quite usable already.

  4. gnacho commented on Nov 12, 2026

    @gnacho
    Owner

    The release guard I mentioned (fail when the tag and the manifest disagree) is tracked in #56.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions