No webadmin access or Admins?

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.014
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

Unable to access webadmin. Wrong password or user is the response.

I have SSH access. I can access my apps. I have reset root password. I have checked the users and groups. There are no users in the Admins group? There doesn’t seem to be an Admins group.

Perhaps the migration 0026_new_admins_group didn’t run correctly. If I try to run the migration again, there is nothing to run. I’ve tried to create the Admins group and add a user, but I get an LDAP error.

Could not update the group ‘admins’: error during LDAP update operation with:
rdn=‘cn=admins,ou=groups’, attr_dict={‘member’:
[‘uid=mca,ou=users,dc=yunohost,dc=org’], ‘memberUid’: [‘mca’]}, new_rdn=False and
exception: {‘msgtype’: 103, ‘msgid’: 6, ‘result’: 65, ‘desc’: ‘Object class violation’, ‘ctrls’: ,
‘info’: “attribute ‘member’ not allowed”}

I asked for help from ClaudeAI because I tried so many of the things posted in the forum and was afraid I missed something. After attempting to create the Admins group myself and add a user, Claude noticed that the Admins group I created is missing an object class, groupOfNamesYh.

Any thoughts or help would be much appreciated. I have spent hours trying to solve this by combing the forum and I cannot seem to find a solution by myself.

Share relevant logs or error messages

yunohost user group list

groups:
all_users:
members:
- adrock
- mca
- miked
visitors:
members:

and (removed my actual domain below)

yunohost user group info admins

mail-aliases:

  • admin@[mydomain]
  • abuse@[mydomain]
  • root@[mydomain]
  • admins@[mydomain]
  • webmaster@[mydomain]
  • postmaster@[mydomain]

What makes you think that?

yunohost user group create admins
yunohost user group add admins someuser

?

What makes you think that?
From reading about similar issues on this very forum.

yunohost user group add admins someuser

Yes. And that didn’t work. As seen in my original post the error states:

Could not update the group ‘admins’: error during LDAP update operation with:
rdn=‘cn=admins,ou=groups’, attr_dict={‘member’:
[‘uid=mca,ou=users,dc=yunohost,dc=org’], ‘memberUid’: [‘mca’]}, new_rdn=False and
exception: {‘msgtype’: 103, ‘msgid’: 6, ‘result’: 65, ‘desc’: ‘Object class violation’, ‘ctrls’: ,
‘info’: “attribute ‘member’ not allowed”}

I appreciate you trying to help.

Can you share the diagnosis?
Does yunohost tools regen-conf --dry-run --with-diff report something?

The output of regen- conf is a “Success!” listing about 40 nameservers.

Diagnosis Report:

DNS records (dnsrecords)

[WARNING] Some DNS records are missing or incorrect for domain [Redacted] (category basic)

  • Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records.
  • The following DNS record does not seem to follow the recommended configuration:
    Type: A
    Name: 777
    Current value: [‘[Redacted]’, ‘[Redacted]’]
    Expected value: [Redacted]
  • The following DNS record does not seem to follow the recommended configuration:
    Type: AAAA
    Name: 777
    Current value: [Redacted]
    Expected value: None

[ERROR] Some DNS records are missing or incorrect for domain [Redacted] (category mail)

  • Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records.
  • According to the recommended DNS configuration, you should add a DNS record with the following info.
    Type: TXT
    Name: @
    Value: “v=spf1 a mx -all”

[WARNING] Some DNS records are missing or incorrect for domain [Redacted] (category extra)

  • Please check the documentation at https://yunohost.org/dns_config if you need help configuring DNS records.
  • The following DNS record does not seem to follow the recommended configuration:
    Type: A
    Name: *
    Current value: [‘[Redacted]’, ‘[Redacted]’]
    Expected value: [Redacted]
  • The following DNS record does not seem to follow the recommended configuration:
    Type: AAAA
    Name: *
    Current value: [Redacted]
    Expected value: None
  • According to the recommended DNS configuration, you should add a DNS record with the following info.
    Type: CAA
    Name: @
    Value: 0 issue “letsencrypt.org

=================================
Ports exposure (ports)

[ERROR] Port 25 is not reachable from the outside.

  • Exposing this port is needed for email features (service postfix)
  • To fix this issue, you most probably need to configure port forwarding on your internet router as described in https://yunohost.org/isp_box_config

=================================
Email (mail)

[ERROR] The SMTP mail server cannot send emails to other servers because outgoing port 25 is blocked in IPv4.

[ERROR] The SMTP mail server is unreachable from the outside on IPv4. It won’t be able to receive emails.

[ERROR] Reverse DNS is not correctly configured for IPv4. Some emails may fail to get delivered or be flagged as spam.

  • Current reverse DNS: [Redacted]
    Expected value: [Redacted]
  • You should first try to configure reverse DNS with [Redacted] in your internet router interface or your hosting provider interface. (Some hosting providers may require you to send them a support ticket for this).

[ERROR] Your IP or domain [Redacted] is blacklisted on Spamhaus ZEN

If I do a clean install, I won’t be able to restore the backup because I will just inherit the issue, correct?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.