Repository navigation
20.0.5 onwards: Certificate is not valid on all apps #25243
Copy link
Copy link
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug
Description
After the upgrade to 20.0.5 all apps fail integrity check with:
Results
=======
- core
- EXCEPTION
- OC\IntegrityCheck\Exceptions\InvalidSignatureException
- Certificate is not valid.
......
Raw output
==========
Array
(
[core] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Certificate is not valid.
)
)
The documentation page does not give any hints on how to fix this issue.
Server configuration
Operating system: CentOS Stream
Web server: Caddy 2.3.0
Database: MariaDB 10.3.17
PHP version: 7.4.14
Nextcloud version: 20.0.5++
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status: In the main body
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbug
Activity
muhviehstah commentedon Jan 21, 2021
same here on latest 21 beta
layz89 commentedon Jan 21, 2021
Exactly, the same in version 21 beta 7
AlexG-78 commentedon Jan 21, 2021
Same here on 21. Beta 7
AnnabellaRenee87 commentedon Jan 21, 2021
Getting the same thing on 21, beta 7 as well.
tcitworld commentedon Jan 22, 2021
Should be fixed by #25214 for 21, not sure about 20.0.5
LecrisUT commentedon Jan 22, 2021
Seems like it would be fixed as early as 21 beta 8. If 21 is still a long way from release, either the breaking changes in 20.0.5 should be reverted, or all of the changes for this PR should be merged.
It is becoming a breaking bug, since some apps can have bugs (e.g. I am not able to login via social login due to a bug) and we cannot update them due to the certificate issue, leaving us in a limbo until then.
tcitworld commentedon Jan 22, 2021
I meant the 21 release cycle, so 21 beta 8, not 21's final first release.
LecrisUT commentedon Jan 25, 2021
For now just applying these 2 commits will solve this issue:
I suggested these to be integrated in 20.0.6 20.0.6 #25294
bmunro-peralex commentedon Feb 3, 2021
So it looks like those commits didn't make it to 20.0.7 either, by looking at the source
fuomag9 commentedon Oct 20, 2022
Same here after updating to nextcloud 25
wiesty commentedon Oct 20, 2022
Same after 25 update:
Technical information
muhviehstah commentedon Oct 20, 2022
same here after 25 update
MarslMarcello commentedon Oct 20, 2022
+1
zenhighzer commentedon Oct 21, 2022
same here after 25 update (via docker container)
xenophil90 commentedon Oct 22, 2022
Same here.
codewithelvin commentedon Oct 24, 2022
The same issue here with NC 25 Docker
MitchT1966 commentedon Oct 25, 2022
...and: same here. NC 25.0.0 with Docker. Any idea how this can be fixed and when?
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
(
[related_resources] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Signature data not found.
)
)
wiesty commentedon Oct 28, 2022
successfully updated to 25.0.1 RC1 and it fixed all errors.
MitchT1966 commentedon Oct 28, 2022
A question: is there a way to install rc1 (or any other beta) in docker and if so, how? Sorry if this doesn't fit into this stream - any help appreciated
muhviehstah commentedon Oct 29, 2022
for me updating the apps fixed the Problem without updating to RC1