2 problems with NextcloudPI

i just switched to NextcloudPI, updated to 14.0.1 but now i have 2 problems.

  • Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the …
Samenvatting

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

  • core
    • INVALID_HASH
      • .user.ini
  • news
    • EXTRA_FILE
      • vendor/ezyang/htmlpurifier/maintenance/…htaccess.swp

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.user.ini] => Array
(
[expected] => 467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0
[current] => b7e50dee19607d3822c59654f21252d3916a45b1a705108495b3a01fe5c416545a4cf0adf48f846502b94b77adb29438869193dd3ce5fbfc670edb0cd99b4f4a
)

            )

    )

[news] => Array
    (
        [EXTRA_FILE] => Array
            (
                [vendor/ezyang/htmlpurifier/maintenance/..htaccess.swp] => Array
                    (
                        [expected] => 
                        [current] => 482025b12f3eb96a00468750ab003c34c3aff6e40004b125b1dfeb7159758cd6bfd14238a10619d11976bbdb1725bfc437cf41ad3583f06b10a96fdf11e9d413
                    )

            )

    )

)

and the next error;

The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running “occ db:add-missing-indices” those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.

  • Missing index “parent_index” in table “oc_share”.
  • Missing index “fs_mtime” in table “oc_filecache”.

Can anyone help me with those errors

use the NCP updater, it takes care of

  • the NC updater .user.ini bug
  • the News integrity check bug
  • the database indices and all the rest

In you case, do

sudo ncc db:add-missing-indices

it did fix the missing databases indexes,
but i still have the first error;

Samenvatting

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

  • core
    • INVALID_HASH
      • .user.ini
  • news
    • EXTRA_FILE
      • vendor/ezyang/htmlpurifier/maintenance/…htaccess.swp

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.user.ini] => Array
(
[expected] => 467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0
[current] => b7e50dee19607d3822c59654f21252d3916a45b1a705108495b3a01fe5c416545a4cf0adf48f846502b94b77adb29438869193dd3ce5fbfc670edb0cd99b4f4a
)

            )

    )

[news] => Array
    (
        [EXTRA_FILE] => Array
            (
                [vendor/ezyang/htmlpurifier/maintenance/..htaccess.swp] => Array
                    (
                        [expected] => 
                        [current] => 482025b12f3eb96a00468750ab003c34c3aff6e40004b125b1dfeb7159758cd6bfd14238a10619d11976bbdb1725bfc437cf41ad3583f06b10a96fdf11e9d413
                    )

            )

    )

)

Delete the .swp file, and look at this for the other one

Please check - https://intux.de/2018/09/fehlermeldungen-in-nextcloud-14/