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
[/details]
Nextcloud version (eg, 12.0.2): 17.0.0
Operating system and version (eg, Ubuntu 17.04): Unknown Linux (Web Host Stack)
Apache or nginx version (eg, Apache 2.4.25): cpsrvd 11.82.0.17
PHP version (eg, 7.1): 7.2.7
The issue you are facing:
I have downloaded 17.0.0 and successfully completed a checksum on the zip file.
I have locally unpacked the zip file and then transferred content to my ISP using FileZilla.
I have completed the configuration to my provided MariaDB
I have the site up and running and can add content, create users, etc.
When I perform a “Security & Setup” check using the Admin Overview, I get the “Some files have not passed the integrity check” warning.
When I click the link to show the actual errors, I get the response pasted between the snippets, below:-
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
- core/doc/admin/_static/img/note_pencil.svg
- core/doc/admin/_static/img/warning.svg
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[core/doc/admin/_static/img/note_pencil.svg] => Array
(
[expected] => 78b9df57afe9468145e6e375cd1f61274b269b9c3019726a99e043ae952367acf53cf471cbc5b3dcca2e68367c2c4422d4a9f9a9fdbb11f9b962845ac77857de
[current] => 97117ce2827cc1b742678b52fc100de1e7d3fdb1adeea04a301c012e7f95b66e10a369c6a83ba89a707c4232b5e31fba3d5e58b0e0d970f22031d0704eebb5a9
)
[core/doc/admin/_static/img/warning.svg] => Array
(
[expected] => e8647b47ef1531b8c2fcdd51f76996fe85476467fc694540f3dcf8ce7e7da489e99edae5a158742da71c07dc09ccfaf721f01c1c4bda3f5bae9b711981b71a1b
[current] => 85687f19cf204716e9b1c608682aa22c045b6f8284a3496db07f13200952491bfea54deee7ef11115c0dedfd87443c7022ef05792892a8a984866752c8ec5726
)
)
)
)
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
No replication attempt at this point - see below…
The output of your Nextcloud log in Admin > Logging:
Can provide if needed - see question below...
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc2zpfy2zr20',
'passwordsalt' => '5rPxtzkZ0PwlGc9C7QpDrnlt//i2fX',
'secret' => '### removed ###',
'trusted_domains' =>
array (
0 => '##.######.org',
),
'datadirectory' => '/home/######/public_html/######/nc/data',
'dbtype' => 'mysql',
'version' => '17.0.0.9',
'overwrite.cli.url' => 'http://##.######.org',
'dbname' => 'sauriano_NextCloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'sauriano_NextCloud',
'dbpassword' => '### Removed ###',
'installed' => true,
'maintenance' => false,
'mail_from_address' => 'nc',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '### removed ###',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'chimail.uk2.net',
);
The output of your Apache/nginx/system log in /var/log/____
:
Don't have access to this ...
OK, the question is this…
As per the Security & Status warning of the “Administration: Overview” function, there is a reported error with 2 Scalable Vector Graphics files. As stated, I checked the integrity of the downloaded zip file before expanding and before attempting upload and found no issues.
Given that the reported errors are very narrow in scope and relate to svg files, would it be safe to…
- re-download the NextCloud Zip File or tarball…
- Expand the archive on a local file system…
- Find the 2 files being reported as corrupted by the integrity check…
- Manually ftp just those 2 files back to the web space…
- Re-run the integrity check?
If I follow this process, is appropriate to replace the existing files, or is it safe to temporarily rename them “_orig” and then revert if this does not fix the problem.
Please note that I do not have the ability to disable the web server whilst performing these checks…
Guidance much appreciated, thank you…