Erreur interne du serveur Le serveur est incapable d'exécuter votre requête. Si cela se reproduit, veuillez envoyer les détails techniques ci-dessous à l'administrateur du serveur. Le fichier journal du serveur peut fournir plus de renseignements

Please can you help

{“reqId”:“WXuKQYBmMbzId0LvSv11”,“level”:3,“time”:“2020-02-11T01:22:40+00:00”,“remoteAddr”:“41.213.143.10”,“user”:“pad”,“app”:“no app in context”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Something is wrong with your openssl setup: error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E064002:configuration file routines:CONF_load:system lib, error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E064002:configuration file routines:CONF_load:system lib”,“userAgent”:“Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36”,“version”:“17.0.1.1”}
{“reqId”:“WXuKQYBmMbzId0LvSv11”,“level”:3,“time”:“2020-02-11T01:22:40+00:00”,“remoteAddr”:“41.213.143.10”,“user”:“pad”,“app”:“index”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:{“Exception”:“RuntimeException”,“Message”:“OpenSSL reported a problem”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php",“line”:74,“function”:“newToken”,“class”:“OC\Authentication\Token\PublicKeyTokenProvider”,“type”:"->",“args”:["*** sensitive parameter replaced "," sensitive parameter replaced "," sensitive parameter replaced "," sensitive parameter replaced "," sensitive parameter replaced "," sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Token/Manager.php",“line”:64,“function”:“generateToken”,“class”:“OC\Authentication\Token\PublicKeyTokenProvider”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/html/nextcloud/lib/private/User/Session.php",“line”:659,“function”:“generateToken”,“class”:“OC\Authentication\Token\Manager”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/CreateSessionTokenCommand.php",“line”:54,“function”:“createSessionToken”,“class”:“OC\User\Session”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\CreateSessionTokenCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php",“line”:47,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\CompleteLoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php",“line”:50,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\LoggedInCheckCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php",“line”:58,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\EmailLoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php",“line”:54,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\UidLoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php",“line”:57,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:39,“function”:“process”,“class”:“OC\Authentication\Login\UserDisabledCheckCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php",“line”:52,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/Authentication/Login/Chain.php",“line”:108,“function”:“process”,“class”:“OC\Authentication\Login\PreLoginHookCommand”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/core/Controller/LoginController.php",“line”:298,“function”:“process”,“class”:“OC\Authentication\Login\Chain”,“type”:"->",“args”:[{“class”:“OC\Authentication\Login\LoginData”}]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:170,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:"->",“args”:[" sensitive parameters replaced ***"]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:99,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OC\Core\Controller\LoginController”},“tryLogin”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/App.php",“line”:126,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OC\Core\Controller\LoginController”},“tryLogin”]},{“file”:"/var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OC\Core\Controller\LoginController”,“tryLogin”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“core.login.tryLogin”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“core.login.tryLogin”}]},{“file”:"/var/www/html/nextcloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“core.login.tryLogin”}]},{“file”:"/var/www/html/nextcloud/lib/base.php",“line”:1000,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/login"]},{“file”:"/var/www/html/nextcloud/index.php",“line”:42,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/var/www/html/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php",“Line”:316,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36”,“version”:“17.0.1.1”}

Comme il est dit dans les logs :
Problème avec OpenSSL -> permission refusée.

Sur quel système d’exploitation tourne ce Nextcloud ?
Sur quel tutoriel t’es tu basé pour installer NextCloud ?

did u make it?

Bonjour merci de m’avoir répondu. J’ai installé nextcloud sur un serveur openmediavault debian 9
Tout fonctionnait très bien, j’ai essayé de réinstaller openssl mais je n’arrive pas à résoudre le problème pour l’instant, une idée sur les permissions peut être ?

chmod -R 665 /etc/ssl

a résolu mon problème merci

i tried this but got the same problem

i am using letsencrypt cert for ssl in nginx nextcloud.conf

i have installed my nextcloud on raspbian buster with nginx, php7.3, redis, mariadb

error i am getting is
[Exception]
Could not do request to updater server: error:0200100D:system library:
fopen:Permission denied

Please guide

Hi
Try permission on letsencrypt folder

aleardy tried that, but couldnt get result.

I’ve got the exact same problem, and I’ve tried the two solutions provided above:

  • chmod -R 665 /etc/ssl
  • chmod -R 665 /etc/letsencrypt/

None of them solved the problem.
I have installed nextcloud server on Ubuntu 20.04.3 LTS through a snap distribution, following this Digital Ocean tutorial.

Logs from nextcloud.log :

{"reqId":"Hw5JtFtJpamY55Wyg6pT","level":3,"time":"2021-10-11T08:48:50+00:00","remoteAddr":"192.168.1.254","user":"maxime","app":"no app in context","method":"POST","url":"/index.php/login","message":"Something is wrong with your openssl setup: error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E078002:configuration file routines:def_load:system lib, error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E078002:configuration file routines:def_load:system lib, error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E064002:configuration file routines:CONF_load:system lib, error:0200100D:system library:fopen:Permission denied, error:2006D002:BIO routines:BIO_new_file:system lib, error:0E064002:configuration file routines:CONF_load:system lib","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36","version":"22.2.0.2"}
{"reqId":"Hw5JtFtJpamY55Wyg6pT","level":3,"time":"2021-10-11T08:48:50+00:00","remoteAddr":"192.168.1.254","user":"maxime","app":"index","method":"POST","url":"/index.php/login","message":"OpenSSL reported a problem","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36","version":"22.2.0.2","exception":{"Exception":"RuntimeException","Message":"OpenSSL reported a problem","Code":0,"Trace":[{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Token/PublicKeyTokenProvider.php","line":87,"function":"newToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Token/Manager.php","line":70,"function":"generateToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/28586/htdocs/lib/private/User/Session.php","line":690,"function":"generateToken","class":"OC\\Authentication\\Token\\Manager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/CreateSessionTokenCommand.php","line":69,"function":"createSessionToken","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\CreateSessionTokenCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/CompleteLoginCommand.php","line":48,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\CompleteLoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/LoggedInCheckCommand.php","line":60,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\LoggedInCheckCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/EmailLoginCommand.php","line":58,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\EmailLoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/UidLoginCommand.php","line":54,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UidLoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/UserDisabledCheckCommand.php","line":58,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/ALoginCommand.php","line":40,"function":"process","class":"OC\\Authentication\\Login\\UserDisabledCheckCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/PreLoginHookCommand.php","line":53,"function":"processNextOrFinishSuccessfully","class":"OC\\Authentication\\Login\\ALoginCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Login/Chain.php","line":108,"function":"process","class":"OC\\Authentication\\Login\\PreLoginHookCommand","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/core/Controller/LoginController.php","line":314,"function":"process","class":"OC\\Authentication\\Login\\Chain","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"tryLogin","class":"OC\\Core\\Controller\\LoginController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/28586/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/snap/nextcloud/28586/htdocs/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/snap/nextcloud/28586/htdocs/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/snap/nextcloud/28586/htdocs/lib/private/Authentication/Token/PublicKeyTokenProvider.php","Line":372,"CustomMessage":"--"}}

Posts related :

Any guide or help on what I am missing would be greatly appreciated!
Thanks

That is not correct because directorys must be executable rwx (user),rwx (group),rwx (other): 755

chmod -R 775 /etc/ssl
chmod -R 775 /etc/letsencrypt

Also the user is perhaps wrong. But sorry i do not really know the correct user.

chown -R ...

Search the documentation. Perhaps the user is www-data, certbot or root.

1 Like

Thanks @devnull, your solution did the trick :slight_smile: !

The user did not seem to be wrong in my case.

1 Like