New Install - Unable to login to created user

I was told to go legit and get nextcloud’s official docker image. I have installed Nextcloud into MariaDB but I am unable to login to the user I just created. The page refreshes with a redirect in the address bar. But it just shows the login page nothing beyond it. Any help would be appreciated.

:wave: Could you clarify exact steps you’ve taken to install Nextcloud.

Try restarting your browser. You might not have set a trusted domain or a number of other steps.

What does this refer to? A different installation method?

Hi @qw3r7yju4n,
You are missing the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

Copy paste this into your post and please fill it out.

Support intro

Nextcloud version (eg, 20.0.5): docker nextcloud:latest
Operating system and version (eg, Ubuntu 20.04): Unraid 6.11.5
Apache or nginx version (eg, Apache 2.4.25): docker nextcloud:latest
PHP version (eg, 7.4): docker nextcloud:lateste

The issue you are facing: Im unable to login to login to the nextcloud instance

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Cant Login

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'ocv30segxva5',
  'passwordsalt' => 'securityreasons',
  'secret' => 'securityreasons',
  'trusted_domains' => 
  array (
    0 => '192.168.1.112:8666',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '26.0.0.11',
  'overwrite.cli.url' => 'http://192.168.1.112:8666',
  'dbname' => 'securityreasons',
  'dbhost' => 'securityreasons',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'securityreasons',
  'installed' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

Not sure where this is refering to. Inside the container I assume, but nothing in that directory

PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Again, nothing in that folder matches this statement. Inside the contatainer that is.

I downloaded the container and ran it from the UnRAID app store. I was having problems with my current install. That was using Linuxserver.io’s docker image. Very different than the official one. So I decided to go legit this weekend and go straight to the source for my home server (nextcloud:latest)

All I have done is created a DB in MariaDB, and ran the Nextcloud:latest docker. Installed by putting in my username and password for the admin user. and the DB info. Nextcloud installs and drop0s me at the login. I try to login with the account i just created and it goes right back to the login, but adding /login?redirect_url=/index.php/core/apps/recommended&direct=1&user=qw3r7yju4n to the address bar.

This was corrected by restarting my browser

1 Like