Support intro
Sorry to hear you’re facing problems
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
Nextcloud version : 20.8.0.1
Operating system and version : Ubuntu 20.04.2_LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.4): PHP 7.4.16
The issue you are facing:
There are like quite a few to be honest. All of these issues happened because I had to change ( as a precaution due to the Exchange Exploit ) My Windows Domain Password. Strange thing is, I never joined this Ubuntu computer to the domain, I only added the LDAP settings so that users could access my shared drives on one of my windows servers.
To list a few:
When ever I run a PHP command (such as occ that I had to run to get my nextcloud version) I get the following Error Message:
PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/lib/php/20190902/smbclient.so (/usr/lib/php/20190902/smbclient.so: undefined symbol: smbc_setOptionProtocols, version SMBCLIENT_0.2.3), /usr/lib/php/20190902/smbclient.so.so (/usr/lib/php/20190902/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
I have (as this is ALL OVER the forums) tried a few of the suggestions (like removing all older versions of PHP, and making sure all the config files like regis are pointing to the correct version) But I will paste any config you want to check them out
But the main issue I am having, is that when you launch the Web UI, I cannot log in. Even with local accounts. In-Fact, I can use test / test and get the same result:
It it was not for the local IP in the error I would swear this is a password scraping site lol!
But yeah it is that bad.
Is this the first time you’ve seen this error? (Y/N): been going on for over 3 weeks
Steps to replicate it:
The output of your Nextcloud log in Admin > Logging:
Since I only have access to command line, here is the output of
sudo tail /var/www/html/nextcloud/data/nextcloud.log
{"reqId":"s8L6kNnczjFOb9WXOzGO","level":3,"time":"2020-02-11T04:46:59+00:00","remoteAddr":"181.214.185.195","user":"--","app":"PHP","method":"GET","url":"/","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/html/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18","userAgent":"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0","version":""}
{"reqId":"D0rG0dNZvGonOQWiUkt9","level":3,"time":"2020-02-11T05:42:36+00:00","remoteAddr":"10.1.20.83","user":"--","app":"PHP","method":"GET","url":"/","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/html/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36","version":""}
{"reqId":"iJSZarA5xqSZoujiGICM","level":3,"time":"2020-02-11T05:45:10+00:00","remoteAddr":"10.1.20.83","user":"CloudAdmin","app":"PHP","method":"POST","url":"/index.php","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/html/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36","version":"18.0.0.10"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc47d5povif4',
'passwordsalt' => ******,
'secret' => '******,
'trusted_domains' =>
array (
0 => 'cloud.hixfamily.us',
),
'datadirectory' => '/media/data',
'dbtype' => 'mysql',
'version' => '20.0.8.1',
'overwrite.cli.url' => 'https://cloud.hixfamily.us',
'dbname' => '******',
'dbhost' => '******',
'htaccess.RewriteBase' => '/',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '******',
'dbpassword' => '******',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_from_address' => 'cloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'hixfamily.us',
'mail_smtphost' => 'mail.hixfamily.us',
'mail_smtpport' => '25',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'keeweb',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
/var/log/apache2$ tail errora.log
PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/lib/php/20190902/smbclient.so (/usr/lib/php/20190902/smbclient.so: undefined symbol: smbc_setOptionProtocols, version SMBCLIENT_0.2.3), /usr/lib/php/20190902/smbclient.so.so (/usr/lib/php/20190902/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Mon Apr 19 00:00:02.483851 2021] [ssl:warn] [pid 1034] AH01909: cloud.hixfamily.us:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 19 00:00:02.485099 2021] [mpm_prefork:notice] [pid 1034] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Apr 19 00:00:02.485119 2021] [core:notice] [pid 1034] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 19 17:48:25.204022 2021] [mpm_prefork:notice] [pid 1034] AH00169: caught SIGTERM, shutting down
[Mon Apr 19 17:48:45.167395 2021] [ssl:warn] [pid 908] AH01909: cloud.hixfamily.us:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /usr/lib/php/20190902/smbclient.so (/usr/lib/php/20190902/smbclient.so: undefined symbol: smbc_setOptionProtocols, version SMBCLIENT_0.2.3), /usr/lib/php/20190902/smbclient.so.so (/usr/lib/php/20190902/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Mon Apr 19 17:48:45.785000 2021] [ssl:warn] [pid 995] AH01909: cloud.hixfamily.us:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 19 17:48:45.795067 2021] [mpm_prefork:notice] [pid 995] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Apr 19 17:48:45.795138 2021] [core:notice] [pid 995] AH00094: Command line: '/usr/sbin/apache2'
e]0;administrator@cloud: /var/log/apache2aadministrator@cloud:/var/log/apache2$
It almost feels like it cannot access the database that has user names and passwords. I checked the database password (even reset it to what is in the config) and it did not make any change.
I really am sorry, but I do not have a lot of Linux Command line experience and am struggling to recall basic commands to get you more data from the logs. Please feel free to throw suggestions in if you have any that you think would help others.
Again, all of this happened because I changed the Windows Domain Administrator Password
thank you for any help