Hide integrity check or Disable it?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 13.0.4
Operating system and version Linux Shared Hosting
PHP version: 7.0.25

The issue you are facing:

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[.htaccess] => Array
(
[expected] => 60cb065543a840e650166fdb80dae8315e8d62f843947b34e080fbeb5d61780f78d1a875d0320876f6ae5ca607e192d24972a6017bcaa530dd487c7f3cf81f9c
[current] => d281df9dc08ec8d4900a6766a8c8df31b7e3dff7a3d448a44d0331e19c6c40dd3d867635317071c50551096ff6f9f05229d3f93ebfeff580fc1168799ee4ba1f
)

                [core/templates/layout.user.php] => Array
                    (
                        [expected] => 7b58fa7ab49c643dfb70c28d11defb4e434c95b56f3bd057d96e3529574f1393527f6f519724859c7e2b1664bcece34044e260c16eeaa04f08f097b3760a1c65
                        [current] => 83230c352adae99e3d46c05fc831614750ecde9475a85dc1055ea15d29be5581e603627a91738137292c217a0bff57be1582ed7d4c9033a305227cc2a102199f
                    )

            )

        [EXTRA_FILE] => Array
            (
                [ocs/error_log] => Array
                    (
                        [expected] => 
                        [current] => 4baeb0f70783b84d18fa904e5abe067627497510a0303da8a604ff39d1f8fc754946a6e20eaadc252cde06e84ecb7f3580cc4ad45036cf39a52f3008f99f38b7
                    )

                [php.ini] => Array
                    (
                        [expected] => 
                        [current] => eecd4be4adbadd45aad88fe4c95a8311bcbd5ee7dea6d48b92b13c00ad73189a6e06b8a3d72c4b883568d8f8a360d4965b1d86dfd98e823c17e30573ca776bdb
                    )

                [favicon.ico] => Array
                    (
                        [expected] => 
                        [current] => 8909024da72786dc7f7a205d833cfcc49c1cc365a35aa770d901fc7079a1c7d88fdbdb508d5ef9c8699419776b0669fed30ac76c673f9a7fa29b64362950173f
                    )

                [error_log] => Array
                    (
                        [expected] => 
                        [current] => 912fe7f1ce4abd1b675c2e827b541b89c1dbc63c8bae99503ba323707b60c7dd7861ba77ba22f410d585fb75e06739ff8d1b77424dfb6ca1a7853ba51a0f3a67
                    )

            )

    )

)

Is this the first time you’ve seen this error? N
Since i installed it 3 days ago

Steps to replicate it:

  1. Install - saw the problem
  2. try to Change php to 7.0
  3. The shared host made his own htaccess,
    So I try to add " # Use PHP70CGI as default AddHandler fcgid70-script .php" To make it work with server.

The output of your Nextcloud log in Admin > Logging:
Only some

Trusted domain error.

There is option to disable it ? i don’t find any solutine’s that can help me in this situation…

The integrity check is supposed to tell you, if there are all required files and if they have been modified as well as additional files. And no “error” does not have to be the default for you.

It’s probably due to your provider that you have an error_log and php.ini in your folder. There is nothing wrong about it, it’s not right for everybody but in your case yes.

.htaccess can be related to specific configuration but it is easily forgotten during updates since some file transfer clients don’t transmit hidden files per default. So you might check the difference between the standard .htaccess and yours.

Did you change the template? layout.user.php
If you want to change the theme, try to do it in the docs rather than changing the default theme: Theming — Nextcloud 13 Administration Manual 13 documentation

If you manually change files, make sure after each upgrade that the file itself did not change. Mixing files from different versions will often result in errors (that was one reason to put the integrity check).

On Nextcloud server changelog, you can find archives of all released versions in case you need the original files for comparison.

Use the information the integrity check provides you!

If you want to change the theme, try to do it in the docs rather than changing the default theme

I just removed Contacts, there is no really nice way to do that.

.htaccess can be related to specific configuration but it is easily forgotten during updates since some file transfer clients don’t transmit hidden files per default. So you might check the difference between the standard .htaccess and yours.

The problem is I need to add
# Use PHP70CGI as default
AddHandler fcgid70-script .php
In my htaccess file.

There is no way to figure it out ?

You can take every time the original .htaccess and add your stuff manually. Or you use tools like diff and if the only difference is your additional line, then it is ok.