Hello!
Fresh OwnCloud onstallation (docker-compose mode)
- Admin can login, can upload/download files
- User with password set by admin can login, can upload/download files
Problems:
1. Users cannot set password from welcome email (Your ownCloud account was created). After opening link from email, in “Set new password” form, after pressing “set password” button it changes to spinning balls and hang in this state forever.
Different browsers, different plaforms (PC, android) - same result
Looks like Owncloud server is not recieving new password from this form
- Email “Password changed successfully” is not sent
- User cannot login with new password
Looks like password change form not send any data to owncloud server at all, or truying to send it somewhere else
2. In “I forget my password” form ( request password changeform itself works fine, the mail is sent successfully), after pressing “reset password” button form reloads with empty password fields and active “reset password” button
Owncloud itself did not recieving new password from this form
Email “Password changed successfully” is not sent
User cannot login with new password
Looks like “reset password” form not send any data to owncloud server at all, but not hangs in eternal spin cicle, as in problem #1
Enviroment
- Owncloud, docker-compose install, debian 10 VM, 4 cores 8 gb mem, 40 gb HDD
- “Files” volume on external CIFS storage
- NGINX reverse proxy for certificates and standard port usage
For the first look, its no any errors or unusual behavior in nginx logs
What i doing wrong?
Config.php
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' =>
array (
0 => '192.168.xxx.xxx',
1 => 'owncloud.mydomain.com',
),
'datadirectory' => '/mnt/data/files',
'dbtype' => 'mysql',
'dbhost' => 'mariadb:3306',
'dbname' => 'owncloud',
'dbuser' => 'owncloud',
'dbpassword' => 'owncloud',
'dbtableprefix' => 'oc_',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'en',
'overwrite.cli.url' => 'https://owncloud.mydomain.com/',
'overwritehost' => 'owncloud.mydomain.com',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'mysql.utf8mb4' => true,
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => '6379',
),
'passwordsalt' => '**DELETED**',
'secret' => '**DELETED**',
'version' => '10.10.0.3',
'allow_user_to_change_mail_address' => '',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => '**DELETED**',
'mail_domain' => 'mydomain.com',
'mail_from_address' => 'sender',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'mail.mydomain.com',
'mail_smtpport' => '587',
'mail_smtpname' => 'sender@mydomain.com',
'mail_smtppassword' => '**DELETED**',
);
NGINX config
server {
listen 443 ssl http2;
server_name owncloud.mydomain.com;
access_log /var/log/nginx/mydomain.com.OwnCloud.access.log;
error_log /var/log/nginx/mydomain.com.OwnCloud.error.log error;
location / {
proxy_pass http://192.168.xxx.xxx:8080;
}
ssl_certificate /etc/letsencrypt/live/owncloud.mydomain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/owncloud..mydomain.com/privkey.pem; # managed by Certbot
}
server {
if ($host = owncloud.mydomain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name owncloud.mydomain.com;
return 404; # managed by Certbot
}