linuxserver / docker-nextcloud

GNU General Public License v3.0
677 stars 128 forks source link

[BUG] issue with update 27 #324

Closed stanthewizzard closed 1 year ago

stanthewizzard commented 1 year ago

Is there an existing issue for this?

Current Behavior

After update I have inside administration settings

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the [documentation ↗]

The files incriminated:

`Technical information

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

Raw output

Array ( [core] => Array ( [EXTRA_FILE] => Array ( [dist/files_trashbin-files_trashbin.js] => Array ( [expected] => [current] => 24e537aff151f18ae18af31152bcfd7de9c96f0f6fdcca4c1ad975ece80bb35a2ab7d51c257af6a9762728d7688c9ba37a5359a950eb1e9f401d4b9d875d92b2 )

                [dist/files_trashbin-files_trashbin.js.LICENSE.txt] => Array
                    (
                        [expected] => 
                        [current] => 2e40e4786aa1f3a96022164e12a5868e0c6a482e89b3642e1d5eea6502725061e2077786c6cd118905e499b56b2fc58e4efc34d6810ff96a56c54bf990790975
                    )

                [dist/files_trashbin-files_trashbin.js.map] => Array
                    (
                        [expected] => 
                        [current] => 65c2a7ddc654364d8884aaee8af4e506da87e54ae82f011989d6b96a625b0dbfba14be6d6af545fa074a23ccf2cc29043a411dc3ac1f80a24955c8a9faa28754
                    )

                [lib/public/WorkflowEngine/IOperationCompat.php] => Array
                    (
                        [expected] => 
                        [current] => 6c09c15e9d855343cc33a682b95a827546fa56c20cc6a249774f7b11f75486159ebfe740ffcba2c9fa9342ab115e7bf99b8c25f71bb490c5d844da251b9751ed
                    )

                [lib/public/WorkflowEngine/IEntityCompat.php] => Array
                    (
                        [expected] => 
                        [current] => ea1856748e5fcf8a901597871f1708bdf28db69d6fa8771c70f38212f028b2ff744b04019230721c64b484675982d495a2c96d1175453130b4563c6a61942213
                    )

                [lib/private/Updater/ChangesResult.php] => Array
                    (
                        [expected] => 
                        [current] => d2e964099dfd4c6d49ae8fc2c6cbc7d230d4f5c19f80804d5d28df5d5c65786a37ea6f554deacecad679d39dbba0d6bd6e4edadca292238f45f18f080277dad0
                    )

                [lib/private/Files/ObjectStore/NoopScanner.php] => Array
                    (
                        [expected] => 
                        [current] => 62d6c5360faf2c7fca90eaafa0e92f85502794a42a5993e2fe032c58b4089947773e588ad80250def78f268499e0e1d9b6b05bc8237cc946469cd6f1fb0b590c
                    )

                [core/js/tests/specs/appsSpec.js] => Array
                    (
                        [expected] => 
                        [current] => cf1ff76b5129943a1ffd6ea068ce6e8bc277718b9d0c81dccce47d723e1f290be20f197b6543f17f3b2ac78d8d4986354db4103de2b5e31c76e00e248984605b
                    )

                [core/l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 55e09a16c917b20c1bba2d5458aab6d4eb4c9a80a0480c7ca309db67a522c83682264d12fcfe6eb54d4120d04b4b90249a03d268b3adf2e7046db8a6229ce586
                    )

                [core/l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => 675629231727e9b6bc16463489466626476ae9571c5179c78c881e599e3ea991cec4dd9931c3c53bd731f8e0c57312fd31c6503a0b633a579c6bc9a71b5ecb3e
                    )

            )

    )

[photos] => Array
    (
        [EXTRA_FILE] => Array
            (
                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js] => Array
                    (
                        [expected] => 
                        [current] => f40b2f75d11246dada565e8bb55c6ca69315eb0029a8afb1b79c1d0ad4f1a91ae62880e30d6f3082aef3826d6aed51d94a63978bb7fbe5eda95505966675892c
                    )

                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js] => Array
                    (
                        [expected] => 
                        [current] => 8d63fbed4bd4a819d1b0a6ba0df92b7b1d8a909dc760d050be447d571e6af6373332e34876319503aaaacc595331ff66ed78220dafbab8ae70e274ec37a2c796
                    )

                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js.map] => Array
                    (
                        [expected] => 
                        [current] => 12506f4a3f3de1509cd5a2226d80d38916cd48ae188f5c18d676d32d866fd0a92428e2fae3cac2d265232f8eb86cf707c5766d07cac4af7718e3ed99e0fc9ddd
                    )

                [js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js.map] => Array
                    (
                        [expected] => 
                        [current] => ec0fbdfdf75214d0dc3fd6c706c6d03da9f794beb1533fed746a292efcbac81f3291fbe28872d94664d9019b28db39f198e6766f5d195c05d1c2bb874da8964b
                    )

                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js] => Array
                    (
                        [expected] => 
                        [current] => 3b39fab493e1f0f81a9627c57f502b88b4202ef977ec118b9b5b2e577e9a086a1340ab74f807a0c5ecebdb09e170bcf0b32e47e360c0e469bbc88662a2d2c704
                    )

                [js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js] => Array
                    (
                        [expected] => 
                        [current] => ea266383ff8080075076a09f5db9760245d3df299f04327cbeffd714740997477db5831f50c578f98340c1a1a4a3a93826aa2e8f8b2f4af42f0cfff6eacd635a
                    )

                [js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js.map] => Array
                    (
                        [expected] => 
                        [current] => 169457dcd162a8ad78fa203cc9d7a21e65afdd00b1f3ecce5ae9a695b5584a6bef39d89b5069b0d85dfdb64bf693f93fa524a51a5c8bfcfa09a6f2da36955bcd
                    )

                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js.map] => Array
                    (
                        [expected] => 
                        [current] => b942b79fc91746a4ac1c200144502be520542d9376dea4c1a9082e4ccd269ca83a42555362539b4126498be79d302139860bedd635dd3416ad4afeb0ba67203d
                    )

                [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js.map] => Array
                    (
                        [expected] => 
                        [current] => 278aec063e12d913473a56035d078b790af63e5facc85f104a84c1b414165e7f2bc72c05d9834ab9d47c40d49542460fd9b0c31ac879b5a83e4e79f677e4f1a3
                    )

                [js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js] => Array
                    (
                        [expected] => 
                        [current] => 00bf3027a85fbbd85e32348db8445e767275391ed238ebe139d0cc05549a8472807a1dab6e0569a40ba0d0ba56492cd1b66b8a3ef1ed45ab048192b3fe3b60dd
                    )

            )

    )

[user_status] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 33593bf781ae3d3e162c4f05472b70b3c34c80d2e0d261b5e93c43222a183e2cfd66af42b81d518b33c9fc5d87e33f81b76ced1f1aa0dcb94fd10ec8167435e8
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => da0843766f9241d4e96bc8902dd829aa9db845f54bc58d2c2081316f5203d133ef319a8af46ae110f9249e1c0646092c496486998f7b7acd85ed70c88f82586d
                    )

            )

    )

[weather_status] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 5d0183bc8521f0cc31253571115e4714105e62fcbe703b3422109d1fb8cdff7006b7be9b1d449ace53c93150f659dea3d463a231d707e2b0476c936f2aeccdc8
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => ae32acb379e11f4ccbe3156a369d143fde19756c7a383ba7783781bb40d5789cc609e75dcc211867a5a2dc3c04e021bf948a74a61c6f9493b5815bd1feccdf87
                    )

            )

    )

[lookup_server_connector] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 09e28c83961ac7ab3ae1953e87898886f67e19d9df3033d40582214e9d5ef621b0a4364cf64fd9b5e7391489ecdb22fec6c8d1df128581ffea3de54bd713e4c7
                    )

                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => 7dea6dc0fd9a0c6f84d9d1724fe94f8ab97d97edae6f4329ab69c2d1807e91ce46511f8f1cc6271596375b98d0cb4f2b0a474945d0fd6c381cc47c60a112a395
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => dc44e2ed32b6ff14f14dcfb8a44a048e4175155caee1ac155759bf48f0249302c541a4638f6116ae723ca3f5ab787d54d68931ab73cddd8839e2529c88755ec8
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 225c8412813649f0ac285383d63f70c90850899881cd062cd6473dbc067be84a596b63cf4f0d0c78cdf736be0b051bfb29029ac58fbc8fd24a307427829c0d3b
                    )

            )

    )

[encryption] => Array
    (
        [EXTRA_FILE] => Array
            (
                [templates/mail.php] => Array
                    (
                        [expected] => 
                        [current] => c8244a5bd79b8881c556e926c359ca3976f706b484b9c5703f8e99608e3ea08129203b31ef2494914c8edb96f89bda1e9919460bcda5f993690c263de6ef4ac0
                    )

                [templates/altmail.php] => Array
                    (
                        [expected] => 
                        [current] => b42b51938dcfa614c798e004bb381cb024509cfd3e519caa2e42684ef8c95575e2e7235152b3545eae013497fe1784ef8f22557e79839d6554a13d96c2f8eab5
                    )

            )

    )

[files_pdfviewer] => Array
    (
        [EXTRA_FILE] => Array
            (
                [js/files_pdfviewer-workersrc.js.LICENSE.txt] => Array
                    (
                        [expected] => 
                        [current] => 33d76141aff0e634ceebc005e0d160862ead5c92bb9ddfa007ff68a2f7c33c1499afaa22b95c4d9d7e4fabeaef5d44aea76d196889f7b672e405e011b675c030
                    )

            )

    )

[recommendations] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 641eb58142947ed69f157170722c2cb2f5a67f026e16b9ab9746d16abecd04b63f64c349060e27583b35e79193fec25af3bada1f3eeb3540cdcca3ac95a8fbce
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => 138677f4a46a5dc760a805194d5a63b6c004275c4369384a2639457dd2a773aecc167ae4230fc54cd147c442907698579bf0ce46ed4d769f69a9adf055acc8f8
                    )

            )

    )

[files_trashbin] => Array
    (
        [EXTRA_FILE] => Array
            (
                [lib/Sabre/PropfindPlugin.php] => Array
                    (
                        [expected] => 
                        [current] => 601e9c68d9d2e1bf8a04558b4c1bbd7cb85b159edce9ba2f61d8676d5fab75116cc0d486ce874cff0d8b2db9fc01e0b679275928714baa452fa34ad239621836
                    )

            )

    )

[suspicious_login] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => b2376b37e1d1743cec04167d285046b1b17c5839a64d8eb625427c99d275fe405964ffa85d261e6ccd11c6a983bfab8b8a1b346cc1f64d5dbb025d36d4cf1387
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => ddb1819e1a4bf02137a8b90e5488558608626474d1b0e686f88d2fc3f6ea6e5fcdfab497cece538ce83c866efc82e17c01a2a0baa44724eafd27b8291e27ab68
                    )

            )

    )

[survey_client] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/uk.js] => Array
                    (
                        [expected] => 
                        [current] => a3c367a39a8c93954b5be817c527c05e6bff0ca17357eeb1c6d745bc21754e4221f600321aaf72e98184de5af6789004d9acc0ec774e0a1fce9498376b8d9a34
                    )

                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => adb1a875441b612b35e6126d019db4fd019e365a6e91ca5bf9ee6626fcd5578752f057aec28a05677df3cfff87b7ea202947321f9f2be44aa0e97ba31a9eece6
                    )

                [l10n/uk.json] => Array
                    (
                        [expected] => 
                        [current] => b9eaef594602739dc09be33f4f19bd84a88d38c2bea0c6faba047cc5ab43d0d63c1062e73489d962f2ed085e08c6e05098592abf7193dfe0ae86f30bc7f26be2
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 83fd7060b0d6e26c97ca60707c9b3cd0ef6412a52a8a96dd6e2970320736b199831f99229c7acf50d281b96ab7d36984932678a36519fc0e2ec21d995a0c00ff
                    )

            )

    )

[circles] => Array
    (
        [EXTRA_FILE] => Array
            (
                [lib/Controller/DeprecatedController.php] => Array
                    (
                        [expected] => 
                        [current] => 1dbacffa32299a01d4cb23b5828594b7136e3f2f6628f71e1bfd19c0dd7eba2a0868f8179c1e4252553c69c6d0ad936c598f5486c2d41339cc74bded39475f89
                    )

            )

    )

[contactsinteraction] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => 52e995735dd6a47a9f96e67413c088f25fab0763a35787ae99bb719ee1b2cdb4552b10e1b3c794bd4b53746c517aa719ecb82239421ecf0716321c3ec3503fcf
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 2614fc1a43bc98f7c99228b4b8e13c4fb828fe7dd04117a3c0f696e5d0af1e7588277915fde8aadf30c1ac0b54f60ce6e146169afe99d50f08a0e2d3a6aa5862
                    )

            )

    )

[cloud_federation_api] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => eb0aa3e74fb466d140da732af8f9ef3440d1c9aa9a5266eacb9b3e43c85c201a0ed137df788a5ae8b1b6712abcd9438b411caf0af96c28e779e6e37806b3bc55
                    )

                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => 04acd18edb2854764043d66efe4f6fac5605bca1d54e477bcb656cf095763745f7aaeba171474111f268cdd4a4a1a1db84f7a7066378f2c9e944139f49fefb49
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => 05d6794a8c5d32e42d99608a415d6bc3cf5589a9c5a11888df161e96b92a9ee35a8f3f63f311be6a13a1b0f3210e137428b28a3c0dea10c9dffd5f971676a865
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 071728e288aedb3a8d3a7c5983270d872e608bc5bbb424e20b3d16b067ae890edf66bb6d89ce64dae839b2e8ca014748182b45712e933af95f783c6afe25d9de
                    )

            )

    )

[provisioning_api] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => 1971ce46c62cb508b45c1927f3d74e31e42f4d7c6386f228c8a689a54809405cfe9ef1ef16d91234039caf92ec30a9b4dc68f84ecb8a6ee8fee8894b9607e632
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 0b45d1535f1c466024d734f1f0940c21070d105e08c4c418c44a76213a37f4bf339f9e12e0e2f001910aead56e8ef96668d2130ce39f5bff96b2a996e620f05f
                    )

            )

    )

[twofactor_backupcodes] => Array
    (
        [EXTRA_FILE] => Array
            (
                [l10n/et_EE.js] => Array
                    (
                        [expected] => 
                        [current] => 4899736f35de24a26ad0b549a714fb372f5dbd591a1d3ccfbaa5cb1b5eb3437d1dc35e8670dee21971f41925d07ca084de9e78609c65a4e08858af08a9aff256
                    )

                [l10n/ar.js] => Array
                    (
                        [expected] => 
                        [current] => 247dd87e22812c0117212069e93e41bff8399d322bba0771811f7f4bd003f6772e5f0ed574d8cd7d5e0bff6029e7ce1e74c21bd39d593eef39e8b33acc0eab9b
                    )

                [l10n/et_EE.json] => Array
                    (
                        [expected] => 
                        [current] => e8fc6ccc2050c086d7e401bad9a912f62197201e7bfe329b498c7fedc351f369de4a0d1488a4101aa2196b8719952382f008f79b0bbdb8ff1e620014fa8c81c7
                    )

                [l10n/ar.json] => Array
                    (
                        [expected] => 
                        [current] => 7f3cc0aa47939e7c8bdd2f0057e8eff3b5b4133ecca4258b3b32f4c6490579171fea0c9d51d95bb9af18a0b375ea8e2899a1b11fc5a1cb7a4fc1558274de25c2
                    )

            )

    )

)`

Expected Behavior

Green flag

Steps To Reproduce

Update to the new container nextcloud 27

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
    volumes:
      - ./config:/config
      - ./data:/data
      - /mnt/NAS/:/opt/NAS
    ports:
      - 5010:80
      - 5011:443
    depends_on:
      - mariadb
    restart: unless-stopped
  mariadb:
    image: mariadb:latest
    container_name: nextcloud_mariadb
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxxxxx
      - TZ=Europe/Paris
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=xxxxxxxxxxxxxxxxx
    volumes:
      - ./mariadb:/var/lib/mysql
    restart: unless-stopped

Container logs

none
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

nemchik commented 1 year ago

With the exception of the files listed under core each of the sections named should be a folder inside /config/www/nextcloud/apps/ and the files listed under that section should exist within. You will need to manually remove those files.

To remove the files under the core section, you will need to recreate the container (not just restart). If you're using docker compose, you can run docker compose down and then docker compose up

This issue seems to be happening to everyone, but the files listed depend on the apps installed in each individual nextcloud instance, so I haven't found a way to automate cleanup yet.

bernardovalente commented 1 year ago

I'm also having the same issue, running in a docker on unraid. Should I expect a future fix patch or am I required to take action to solve the issue?

flowermoron commented 1 year ago

same here, just updated on unraid and now im seeing this :(

nemchik commented 1 year ago

https://github.com/linuxserver/docker-nextcloud/pull/325 should fix the integrity check issue A test image is available here: lspipepr/nextcloud:27.0.0-pkg-34240624-dev-06ca2ef0a15179a65b6a1d869563b3729cf93cbb-pr-325 Before running the image, run the following command to force the init logic to reinstall the files (which should fix the integrity check): docker exec nextcloud touch /config/www/nextcloud/config/needs_migration

I've tested this on my personal instance, and a few other team members plan to test as well, but additional confirmations would be great. We'll merge these changes and release a stable build as soon as we have enough confirmations.

stanthewizzard commented 1 year ago

That’s what I did. Removed photo. Reup. Worked. And did that for all the apps

flowermoron commented 1 year ago

325 should fix the integrity check issue A test image is available here: lspipepr/nextcloud:27.0.0-pkg-34240624-dev-06ca2ef0a15179a65b6a1d869563b3729cf93cbb-pr-325 Before running the image, run the following command to force the init logic to reinstall the files (which should fix the integrity check): docker exec nextcloud touch /config/www/nextcloud/config/needs_migration

I've tested this on my personal instance, and a few other team members plan to test as well, but additional confirmations would be great. We'll merge these changes and release a stable build as soon as we have enough confirmations.

does this work on unraid?

can i safely use nextcloud even if i don't fix this error?

GuiPoM commented 1 year ago

I had this issue yesterday and reverted to a backup. I was wondering if my issue was not to upgrade from a docker image defining nextcloud 26 to one on nextcloud 27 without upgrading first nextcloud. Should both be kept to the same version. I am currently stuck, Maps application cannot be upgraded to a version greater than 26.0.2 and OpenID connect is not yet mark as functionnal for 27.

I reverted the installation to the 26.0.2-ls248 image, and a 20.0.2 installation on my mount. I guess this is the safest bet here.

nemchik commented 1 year ago

does this work on unraid?

yes

can i safely use nextcloud even if i don't fix this error?

yes

nemchik commented 1 year ago

I had this issue yesterday and reverted to a backup. I was wondering if my issue was not to upgrade from a docker image defining nextcloud 26 to one on nextcloud 27 without upgrading first nextcloud. Should both be kept to the same version. I am currently stuck, Maps application cannot be upgraded to a version greater than 26.0.2 and OpenID connect is not yet mark as functionnal for 27.

I reverted the installation to the 26.0.2-ls248 image, and a 20.0.2 installation on my mount. I guess this is the safest bet here.

If you have apps that require specific compatibility, your best bet is to pin your docker image to a specific version that is compatible with all your apps, and if that version is below 27 you should manually update the install files to that version of nextcloud. If you delete /config/www/nextcloud/index.php while using an image tagged for 26 or below and then restart the container it should reinstall the core files to the tagged version. You would then also want to run occ upgrade inside the container to be sure everything is up to date for the version you're on.

koelle25 commented 1 year ago

325 should fix the integrity check issue A test image is available here: lspipepr/nextcloud:27.0.0-pkg-34240624-dev-06ca2ef0a15179a65b6a1d869563b3729cf93cbb-pr-325 Before running the image, run the following command to force the init logic to reinstall the files (which should fix the integrity check): docker exec nextcloud touch /config/www/nextcloud/config/needs_migration

I've tested this on my personal instance, and a few other team members plan to test as well, but additional confirmations would be great. We'll merge these changes and release a stable build as soon as we have enough confirmations.

Didn't work for me unfortunately. This is what I did:

  1. Executed touch /config/www/nextcloud/config/needs_migration inside the Docker container
  2. Changed image from lscr.io/linuxserver/nextcloud:27.0.0 to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-06ca2ef0a15179a65b6a1d869563b3729cf93cbb-pr-325
  3. Re-created the container (I'm on UNRAID, so this happens automatically after saving the changed image tag)

I also did it twice (second time just restarting the container instead of changing the image tag), as I wasn't sure if I forgot creating the needs_migration file at the first try. But also after the second try, the integrity check still fails.

This is the output (seems to only be about not-preinstalled apps):

Integrity check output (From "https://cloud.mydomain.com/settings/integrity/failed") Technical information ===================== The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them. Results ======= - serverinfo - EXTRA_FILE - l10n/ug.json - l10n/lo.js - l10n/ug.js - l10n/bs.json - l10n/cy_GB.js - l10n/ta.js - l10n/cy_GB.json - l10n/bs.js - l10n/fo.json - l10n/ta.json - l10n/lo.json - l10n/fo.js - l10n/kn.js - l10n/kn.json - encryption - EXTRA_FILE - templates/mail.php - templates/altmail.php - files_trashbin - EXTRA_FILE - lib/Sabre/PropfindPlugin.php - photos - EXTRA_FILE - js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js - js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js.map - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js.map - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js.map - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js - js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js - js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js.map - js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js.map - l10n/si.json - l10n/ps.json - l10n/ur_PK.js - l10n/si.js - l10n/ur_PK.json - l10n/tk.json - l10n/ps.js - l10n/tk.js - lib/Listener/NodeDeletedListener.php - lib/Listener/GroupDeletedListener.php - lib/Listener/GroupUserRemovedListener.php - files_pdfviewer - EXTRA_FILE - js/files_pdfviewer-workersrc.js.LICENSE.txt Raw output ========== ``` Array ( [serverinfo] => Array ( [EXTRA_FILE] => Array ( [l10n/ug.json] => Array ( [expected] => [current] => abf662b0d32040f67f5e593ad23dc25a89fb096237315df92a9c732bdf8623e8723da440621d00cd20a740622c5198a1f822d7cacf0f38c5488c37ae34c489dd ) [l10n/lo.js] => Array ( [expected] => [current] => 0c1588a17264a3114f82592b3a0e82003e61a2739d360e622dcf14c5df1d2092d744972c59a984b1cf89f3a794e8127c9c7dd58b9db210eaa6eee1b1b12db42a ) [l10n/ug.js] => Array ( [expected] => [current] => 6ca0be0ef850fc6b6aae34d91c9a5c2674174ceef2a52e92b61b527d4fad2fed01256bdc120d875a04103a617abd547f0ad479072874cfa73df660f3600f822c ) [l10n/bs.json] => Array ( [expected] => [current] => 7f5a1c2e71e2a8f94269bd06e81645abc2641cffd2c502657449bd2de4ea11716f7907fe1efbc940e2ad2e96a63c01f32726e96ca669223513ff567110b0a071 ) [l10n/cy_GB.js] => Array ( [expected] => [current] => 3fbcfc202db25eee1e04b0c4a824c7f620346e72ee49343b441e4f6a4dd0e6a8181b63a98d2d626919142f8228cb1abb3deaad26152c1c7c20bcce3c151bf0f8 ) [l10n/ta.js] => Array ( [expected] => [current] => 8d1823ad0bdccf749a825068b18dd1afd3146bf65ea133691de8befa0ad4cf20aadf784252e51183a1716df48d8589731b3334e81deaebd5194986c368efc719 ) [l10n/cy_GB.json] => Array ( [expected] => [current] => 03e5bc4a3675ef09cabcb162042ee96088759d65cfe4f6494f866bef139a3dda612c6d595d94f26ec0fd0ea9e39e2778652406886d15d38ef7c5560a66bd0859 ) [l10n/bs.js] => Array ( [expected] => [current] => 772a5511fb81c659a87eeccb6d2b25f89ab0316074b0117c2287328188f5e90c166041df32e2978a5762678707bfbc090f518f5391d05089daf8df82ca194c37 ) [l10n/fo.json] => Array ( [expected] => [current] => 4bfb13f409e84630ad298aa806436fc215c1414946c31058146b7bd646c9c59b4fb15409484c6c20e694ff5387d3182059c1e0a24e0f5f6c70f9ba3b59f7eb24 ) [l10n/ta.json] => Array ( [expected] => [current] => a4ffe199ab37f97d8576b9efd5c6d4371a670e8b1d9a868b5886839f7302cd6f747ffe24e1d9422cd0eaa5d4575f12a4ce4b2af9b235326ac898e9d2dda83664 ) [l10n/lo.json] => Array ( [expected] => [current] => a3676f0f1633a84ac9ddd1e51f96110d8f2aaac47ad387e3418e644403fa53c9b69e1d38707d335aea2f7b23eb2e43fa9f70aa770819e305b2500354426151eb ) [l10n/fo.js] => Array ( [expected] => [current] => d9a38ad17bd79a0f71fe482f21fa3bd869d5f7d27cfd0f0c95c07086494d380b6ad48212efae88740d88135d91dc64dfce8addb7a1b5a90234d3b2041429ec1c ) [l10n/kn.js] => Array ( [expected] => [current] => d2273c847eae12e2e9776e6c937316fbdb152f4fbe42638e7951512a50c04892a620a9d8eee8d75f9d4285ef9704c52777bf886ee3ddf984e233680f82462de9 ) [l10n/kn.json] => Array ( [expected] => [current] => 0e04c02cd35b2f86eace4e748d4b8985979b10fadad6371b928543055f22bcfe898c56578b5ca2cd1fae2dd7ad5c4b652fb7e8ddddf4dacaf3e2091da16b81af ) ) ) [encryption] => Array ( [EXTRA_FILE] => Array ( [templates/mail.php] => Array ( [expected] => [current] => c8244a5bd79b8881c556e926c359ca3976f706b484b9c5703f8e99608e3ea08129203b31ef2494914c8edb96f89bda1e9919460bcda5f993690c263de6ef4ac0 ) [templates/altmail.php] => Array ( [expected] => [current] => b42b51938dcfa614c798e004bb381cb024509cfd3e519caa2e42684ef8c95575e2e7235152b3545eae013497fe1784ef8f22557e79839d6554a13d96c2f8eab5 ) ) ) [files_trashbin] => Array ( [EXTRA_FILE] => Array ( [lib/Sabre/PropfindPlugin.php] => Array ( [expected] => [current] => 601e9c68d9d2e1bf8a04558b4c1bbd7cb85b159edce9ba2f61d8676d5fab75116cc0d486ce874cff0d8b2db9fc01e0b679275928714baa452fa34ad239621836 ) ) ) [photos] => Array ( [EXTRA_FILE] => Array ( [js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js] => Array ( [expected] => [current] => 00bf3027a85fbbd85e32348db8445e767275391ed238ebe139d0cc05549a8472807a1dab6e0569a40ba0d0ba56492cd1b66b8a3ef1ed45ab048192b3fe3b60dd ) [js/photos-vendors-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_A-0d7f22.js.map] => Array ( [expected] => [current] => ec0fbdfdf75214d0dc3fd6c706c6d03da9f794beb1533fed746a292efcbac81f3291fbe28872d94664d9019b28db39f198e6766f5d195c05d1c2bb874da8964b ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js.map] => Array ( [expected] => [current] => d81fbf9ed88fa0d13f7a03c6acf24472abc7ceb9b9fda80a812610868b1ef805607b3331dfab05025e48946e382a4fcab217262ae9b63610711458c4499141ae ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js.map] => Array ( [expected] => [current] => b942b79fc91746a4ac1c200144502be520542d9376dea4c1a9082e4ccd269ca83a42555362539b4126498be79d302139860bedd635dd3416ad4afeb0ba67203d ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js] => Array ( [expected] => [current] => f40b2f75d11246dada565e8bb55c6ca69315eb0029a8afb1b79c1d0ad4f1a91ae62880e30d6f3082aef3826d6aed51d94a63978bb7fbe5eda95505966675892c ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js] => Array ( [expected] => [current] => 8d63fbed4bd4a819d1b0a6ba0df92b7b1d8a909dc760d050be447d571e6af6373332e34876319503aaaacc595331ff66ed78220dafbab8ae70e274ec37a2c796 ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js] => Array ( [expected] => [current] => 261b1668e0a72b60060431331ca6576e2013f36f3f60f9f8f898247401c86499801455a45dd272c230bcd3c65b17f7c4aac06a97403239177b4b6d7e222fcba2 ) [js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js] => Array ( [expected] => [current] => ea266383ff8080075076a09f5db9760245d3df299f04327cbeffd714740997477db5831f50c578f98340c1a1a4a3a93826aa2e8f8b2f4af42f0cfff6eacd635a ) [js/photos-node_modules_nextcloud_sharing_dist_index_js-node_modules_vue-material-design-icons_AccountGr-e8a447.js.map] => Array ( [expected] => [current] => 169457dcd162a8ad78fa203cc9d7a21e65afdd00b1f3ecce5ae9a695b5584a6bef39d89b5069b0d85dfdb64bf693f93fa524a51a5c8bfcfa09a6f2da36955bcd ) [js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2a64fd.js.map] => Array ( [expected] => [current] => 278aec063e12d913473a56035d078b790af63e5facc85f104a84c1b414165e7f2bc72c05d9834ab9d47c40d49542460fd9b0c31ac879b5a83e4e79f677e4f1a3 ) [l10n/si.json] => Array ( [expected] => [current] => b7a0710e4579b66534b671725022c14a34817beae841550665268cbf82d15af7f1bab12bdeca47419c6e5124d4aaf5e6217b017d88f899cec7d6fe26436f7406 ) [l10n/ps.json] => Array ( [expected] => [current] => d90e82d5f0f1d7881f294b8adff11d70b5ec59a88242fe289311a3cdfb2c655cd8c1e444b35a6731c1b750097ac50d6e122524f92859d02ec5cbbbeb7c031f01 ) [l10n/ur_PK.js] => Array ( [expected] => [current] => 0144e305861c6351b3ccc47e940f32070c90618fc915f817412babad05fae38aa7383f9afec726b66734ad5a1d9ab4974d8289be73dfef205926a0028da123f2 ) [l10n/si.js] => Array ( [expected] => [current] => aca57ab4ff948a399d41cf889a2e231f0c9f866b4ebbf1ea548157fb7288659e2729e69b99c0f6d5846af1b28e808c9a6df30db3fd2856afb25dce2a778976b5 ) [l10n/ur_PK.json] => Array ( [expected] => [current] => e0e54b9dbd4fddf94096b99cf12309b7a623a7b8ec7afca767c44ad6edccfe3521438260668a18c34565353794163ed2d433a45ae0b5a2960aa1efb66cc016b0 ) [l10n/tk.json] => Array ( [expected] => [current] => 9477cdee70f42fbf7a6e9772c5593f1bd9e9593f97a7717642845359579a435cd500d95b910ea0d34afa366a6b15835a34f86a60d3fe643402f1daab8f9c3f6d ) [l10n/ps.js] => Array ( [expected] => [current] => e3c8bbc66df0a1acb84a09370d82decd198b1962653b008c18fdf20d906d00b4535144e1ce66a381573165754f1a500929eefd8e5e0ebf7b2af9351e64dab441 ) [l10n/tk.js] => Array ( [expected] => [current] => 594fdae47e9fca04dc224735ca1a9c625de6cf839320548b3699b4021d40c19c762d7067d6176002f4872be9f2907b8f3d93020706a6311d9d42d823c9f475c4 ) [lib/Listener/NodeDeletedListener.php] => Array ( [expected] => [current] => dd0d2a74eab07fbdfd62e11ea299e0a84c07e3f4cf2334847959bbf57de326e3ae2a7284b2f167dcdc07674857f71e52cb73d24fc21bcf1425385d07b1d79e60 ) [lib/Listener/GroupDeletedListener.php] => Array ( [expected] => [current] => 8606c79d02cb48e472e8b5ed353e0441135d95f285879c80a5367ba9d3654cdcc3743f661bd49ad58b6d863739fcb9eb2f8648cc32a6ec52c51f280f260e75a2 ) [lib/Listener/GroupUserRemovedListener.php] => Array ( [expected] => [current] => fa0e4de16f0b792a8fe92834e093166ad0acd5aa1c5747cb0854a0ef06bd49fb65045df15f6853437c3be8ccdf5227330178758785e4650acc399c7fc7184136 ) ) ) [files_pdfviewer] => Array ( [EXTRA_FILE] => Array ( [js/files_pdfviewer-workersrc.js.LICENSE.txt] => Array ( [expected] => [current] => 33d76141aff0e634ceebc005e0d160862ead5c92bb9ddfa007ff68a2f7c33c1499afaa22b95c4d9d7e4fabeaef5d44aea76d196889f7b672e405e011b675c030 ) ) ) ) ```
nemchik commented 1 year ago

@koelle25 can you try re-running touch /config/www/nextcloud/config/needs_migration and then switching the image to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325 (new) and then if you have issues, post your container log, nextcloud log (from /data), and any error messages from the web admin status page here?

rexzhang commented 1 year ago

@koelle25 can you try re-running touch /config/www/nextcloud/config/needs_migration and then switching the image to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325 (new) and then if you have issues, post your container log, nextcloud log (from /data), and any error messages from the web admin status page here?

It's work, thanks.

my env: TrueNAS-SCALE-22.12.3.1 not installed in TN's app store

my flow:

  1. docker exec -it k8s_ix-chart_nextcloud-ix-chart-fc56cd8fc-l2x69_ix-nextcloud_zxy /bin/bash
  2. touch /config/www/nextcloud/config/needs_migration
  3. chown abc:abc /config/www/nextcloud/config/needs_migration
  4. switching the image to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  5. restart container
  6. click Rescan twice(I have no idea)
  7. finished!
rexzhang commented 1 year ago

Next question: Can i switch image back to ghcr.io/linuxserver/nextcloud:latest, now?

nemchik commented 1 year ago

Next question: Can i switch image back to ghcr.io/linuxserver/nextcloud:latest, now?

Yes

bogdanioanliviu commented 1 year ago

I have the same problem. Did the touch /config/www/nextcloud/config/needs_migration change the img to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325 Recreated the pod inside Kubernetes, but still the same error.

Then I did hit Rescan and the error it's fixed.

This is part of the logs after the change:

using keys found in /config/keys Initializing nextcloud 27.0.0.8 (this can take a while) ... Upgrading nextcloud from 27.0.0.8 ... Setting permissions Nextcloud is already latest version Initializing finished

AndreaPro commented 1 year ago

Did the same, switched back to

325 should fix the integrity check issue A test image is available here: lspipepr/nextcloud:27.0.0-pkg-34240624-dev-06ca2ef0a15179a65b6a1d869563b3729cf93cbb-pr-325 Before running the image, run the following command to force the init logic to reinstall the files (which should fix the integrity check): docker exec nextcloud touch /config/www/nextcloud/config/needs_migration

I've tested this on my personal instance, and a few other team members plan to test as well, but additional confirmations would be great. We'll merge these changes and release a stable build as soon as we have enough confirmations.

Tested and now everything appears to work fine, so I switched back the image to lscr.io/linuxserver/nextcloud:latest

emillassen commented 1 year ago

I'm running the container on my server using Unraid and after performing the fix listed in the above the error went away, but now I can no longer run the OCC command.

Running: docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ

Results in: Could not open input file: /config/www/nextcloud/occ

haywiremk commented 1 year ago

OK had and issue in unraid docker. I guess the upgrade is not as automatic as letting the container upgrade. I went back to the 26 major version (lscr.io/linuxserver/nextcloud:version-26.0.2). Dont mess with the web interface upgrade always getting errors. Open a console and run "occ upgrade". Then goto next version and run again.

nemchik commented 1 year ago

I'm running the container on my server using Unraid and after performing the fix listed in the above the error went away, but now I can no longer run the OCC command.

Running: docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ

Results in: Could not open input file: /config/www/nextcloud/occ

docker exec -it nextcloud occ should work. You don't need the extra bits.

nemchik commented 1 year ago

OK had and issue in unraid docker. I guess the upgrade is not as automatic as letting the container upgrade. I went back to the 26 major version (lscr.io/linuxserver/nextcloud:version-26.0.2). Dont mess with the web interface upgrade always getting errors. Open a console and run "occ upgrade". Then goto next version and run again.

The process you did is correct to get current. Once you're running Nextcloud 27 you can use the latest image and all future updates should be automatic when you update the container image.

nemchik commented 1 year ago

This should be resolved now with the new image release.

swiss01 commented 12 months ago

@koelle25 can you try re-running touch /config/www/nextcloud/config/needs_migration and then switching the image to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325 (new) and then if you have issues, post your container log, nextcloud log (from /data), and any error messages from the web admin status page here?

Thanks. It work for unraid Docker...

flowermoron commented 12 months ago

@koelle25 can you try re-running touch /config/www/nextcloud/config/needs_migration and then switching the image to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325 (new) and then if you have issues, post your container log, nextcloud log (from /data), and any error messages from the web admin status page here?

Thanks. It work for unraid Docker...

it say "No such file or directory"

swiss01 commented 12 months ago

it say "No such file or directory"

Step by Step

  1. Open Docker Console from Nextcloud
  2. execute the command touch /config/www/nextcloud/config/needs_migration
  3. Close the Console
  4. Edit the Docker
  5. copy the original Repository link and save it
  6. Replace the Repository to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  7. Push applay
  8. Go to nextcloud and did hit Rescan and the error it's fixed.
  9. Back to the Docker Editor and change the Repository Link back to the original where you copy in point five. in my case it is linuxserver/nextcloud:latest
  10. Push applay

if the docker disappears for some reason, you specified the repository incorrectly. The Docker can then disappear. But don't worry, just go to ADD Container at the bottom of the docker and select Nextcloud and adjust the repository again.

Good luck!

nemchik commented 12 months ago

The changes to fix the integrity check have been merged. The best option now is to run the latest image lscr.io/linuxserver/nextcloud:latest and run in the server terminal (not the container terminal)

docker exec -it nextcloud touch /config/www/nextcloud/config/needs_migration
docker restart nextcloud

That should make the init script cleanup the files, and then you can trigger a rescan in the nextcloud admin status page by clicking rescan.

flowermoron commented 12 months ago

it say "No such file or directory"

Step by Step

  1. Open Docker Console from Nextcloud
  2. execute the command touch /config/www/nextcloud/config/needs_migration
  3. Close the Console
  4. Edit the Docker
  5. copy the original Repository link and save it
  6. Replace the Repository to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  7. Push applay
  8. Go to nextcloud and did hit Rescan and the error it's fixed.
  9. Back to the Docker Editor and change the Repository Link back to the original where you copy in point five. in my case it is linuxserver/nextcloud:latest
  10. Push applay

if the docker disappears for some reason, you specified the repository incorrectly. The Docker can then disappear. But don't worry, just go to ADD Container at the bottom of the docker and select Nextcloud and adjust the repository again.

Good luck!

Worked! Thank you!

koelle25 commented 12 months ago

it say "No such file or directory"

Step by Step

  1. Open Docker Console from Nextcloud
  2. execute the command touch /config/www/nextcloud/config/needs_migration
  3. Close the Console
  4. Edit the Docker
  5. copy the original Repository link and save it
  6. Replace the Repository to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  7. Push applay
  8. Go to nextcloud and did hit Rescan and the error it's fixed.
  9. Back to the Docker Editor and change the Repository Link back to the original where you copy in point five. in my case it is linuxserver/nextcloud:latest
  10. Push applay

if the docker disappears for some reason, you specified the repository incorrectly. The Docker can then disappear. But don't worry, just go to ADD Container at the bottom of the docker and select Nextcloud and adjust the repository again.

Good luck!

Thanks @swiss01 , now it worked for me too. I also already changed back to the release tag (lscr.io/linuxserver/nextcloud:27.0.0).

stanthewizzard commented 11 months ago

@nemchik

WORKS flawlessly thanks

awhitworth06 commented 11 months ago

it say "No such file or directory"

Step by Step

  1. Open Docker Console from Nextcloud
  2. execute the command touch /config/www/nextcloud/config/needs_migration
  3. Close the Console
  4. Edit the Docker
  5. copy the original Repository link and save it
  6. Replace the Repository to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  7. Push applay
  8. Go to nextcloud and did hit Rescan and the error it's fixed.
  9. Back to the Docker Editor and change the Repository Link back to the original where you copy in point five. in my case it is linuxserver/nextcloud:latest
  10. Push applay

if the docker disappears for some reason, you specified the repository incorrectly. The Docker can then disappear. But don't worry, just go to ADD Container at the bottom of the docker and select Nextcloud and adjust the repository again.

Good luck!

EDIT: Nevermind. It works.

Waynepain commented 11 months ago

it say "No such file or directory"

Step by Step

  1. Open Docker Console from Nextcloud
  2. execute the command touch /config/www/nextcloud/config/needs_migration
  3. Close the Console
  4. Edit the Docker
  5. copy the original Repository link and save it
  6. Replace the Repository to lspipepr/nextcloud:27.0.0-pkg-34240624-dev-d151fd013f86933409d88dbdd26222232842031f-pr-325
  7. Push applay
  8. Go to nextcloud and did hit Rescan and the error it's fixed.
  9. Back to the Docker Editor and change the Repository Link back to the original where you copy in point five. in my case it is linuxserver/nextcloud:latest
  10. Push applay

if the docker disappears for some reason, you specified the repository incorrectly. The Docker can then disappear. But don't worry, just go to ADD Container at the bottom of the docker and select Nextcloud and adjust the repository again. Good luck!

EDIT: Nevermind. It works.

Same here, in the end it worked, dont be irritated if the failure is still present after the first edit, in my case it was gone after going back to the latest one.

cafedelmar01 commented 11 months ago

Hi All!

Got here the same error and was hoping i could you this fix to.. but i'm running a newer version atm.. 27.0.1.2

Can't start Nextcloud because the version of the data (27.0.1.2) is higher than the docker image version (27.0.0.8) and downgrading is not supported. Are you sure you have pulled the newest image version?

Is there any way to fix this ?

cafedelmar01 commented 11 months ago

Hi All!

Got here the same error and was hoping i could you this fix to.. but i'm running a newer version atm.. 27.0.1.2

Can't start Nextcloud because the version of the data (27.0.1.2) is higher than the docker image version (27.0.0.8) and downgrading is not supported. Are you sure you have pulled the newest image version?

Is there any way to fix this ?

Update: Cheated the system a little...

Edited the config.php file to bypass this error, bring up the new container and is worked! did a semi manuel update by browser, switches back to the common version and all was back on track! Love it! Thanks!

nemchik commented 11 months ago

From this point, don't update nextcloud via the web. Just update the container image when we release new versions (usually within an hour or so after nextcloud releases a new version).

cafedelmar01 commented 11 months ago

From this point, don't update nextcloud via the web. Just update the container image when we release new versions (usually within an hour or so after nextcloud releases a new version).

Thanks for the reply! What would be the right way to update? Got nextcloud running by docker-compose but every time i do a "docker-compose up -d" i get an error bla bla permission denied... had to kill it en restart the complete environment

nemchik commented 11 months ago

From this point, don't update nextcloud via the web. Just update the container image when we release new versions (usually within an hour or so after nextcloud releases a new version).

Thanks for the reply! What would be the right way to update? Got nextcloud running by docker-compose but every time i do a "docker-compose up -d" i get an error bla bla permission denied... had to kill it en restart the complete environment

That sounds like an issue how you have set up your compose or file permissions. Updating via docker compose up should be all you need to update nextcloud.

cafedelmar01 commented 11 months ago

From this point, don't update nextcloud via the web. Just update the container image when we release new versions (usually within an hour or so after nextcloud releases a new version).

Thanks for the reply! What would be the right way to update? Got nextcloud running by docker-compose but every time i do a "docker-compose up -d" i get an error bla bla permission denied... had to kill it en restart the complete environment

That sounds like an issue how you have set up your compose or file permissions. Updating via docker compose up should be all you need to update nextcloud.

Thanks! The "-d" is causing the permission denied error from docker ?

nemchik commented 11 months ago

no, the -d means daemon which runs the containers in the background and returns you to a prompt. Without it, you have to keep the terminal running or the containers stop (they won't run in the background).

cafedelmar01 commented 11 months ago

no, the -d means daemon which runs the containers in the background and returns you to a prompt. Without it, you have to keep the terminal running or the containers stop (they won't run in the background).

What could be the cause of the error? Pid user rights?

nemchik commented 11 months ago

Could you post the full log here from when you run the command?

cafedelmar01 commented 11 months ago

Could you post the full log here from when you run the command?

Something simple as: sudo docker stop nextcloud Error response from daemon: cannot stop container: nextcloud: permission denied

compose config:

version: "2.1" services: nextcloud: image: lscr.io/linuxserver/nextcloud:latest container_name: nextcloud environment:

Could it be the PUID PGID ?

Root hass 0 and Common user has the 1000 ?

nemchik commented 11 months ago

That seems like your user isn't in the docker group. You could add your user to the docker group or run the command with sudo.