Skip to content

Unable to configure user_external properly #105

@michelmay

Description

@michelmay

Hello everybody,

I know, this is not the most sophisticated bug report but I am not an expert at all so please bear with me. What I'm asking for, basically, are the simple most instructions that I must follow in order to get user_external working again after updating to 0.6.4. I have been reading here on github and tempering with my server for 3 days straight, completely crashing our NC and now I simply don't have the nerve anymore - no offence intended.

My issue in short:

  • I want to allow login from the localhost IMAP server. It runs at mail.mydomain.de (same server, like i said).
  • I want to preserve the former (IMAP) user accounts. There are lots of files on them.
  • We have a Let's encrypt certificate, so SSL should work
  • There is nothing in the nextcloud.log. I set NC to DEBUG level logging, but there has not been a singly entry by user_external after the day i updated.
  • I have tried a stupid amount of configurations, but none worked. I'll post the current one below.
  • I tried updating my own (IMAP) account in the database to mail.mydomain.de to no effect.
  • I removed my own (IMAP) account from the users_external db
  • I was never able to log in again.

Current config.php:

  'user_backends' => 
  array (
    0 => 
    array (
      'class' => 'OC_User_IMAP',
      'arguments' => 
      array (
 	'127.0.0.1', 993, 'ssl', 'mydomain.de', false, false
      ),
    ),
  ),

Note: For testing purposes, I removed user_external from the app_install_overwrite array. Was that good / bad / unimportant?

Please help! I'm close to killing myself or others. Haven't decided yet.

Server configuration

User External App version: (see Nextcloud apps page)
0.6.4

Operating system:
CentOS Linux release 7.6.1810 (Core)

Web server:
Apache/2.4.6 (CentOS)

Database:
Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1

PHP version:
7.1 (Used via PLESK)

Nextcloud version: (see Nextcloud admin page)
16.0.4

Updated from an older Nextcloud/ownCloud or fresh install:
15.x ? dunno

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions