Import Users: Unexpected server error

Hello, I’m having issues when trying to import csv with 1 user. I first exported the users and replaced the information of this new user: username, firstname, password, mail, mail-forward, groups

I’m getting the “Unexpected server error”:

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.8.2 (stable).
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : I enabled a firewall with UFW. Here is the status output:
root@server:~# sudo ufw status verboseStatus: activeLogging: on (low)Default: deny (incoming), allow (outgoing), disabled (routed)New profiles: skipTo Action From-- ------ ----22/tcp ALLOW IN Anywhere 80/tcp ALLOW IN Anywhere 443 ALLOW IN Anywhere 22/tcp (v6) ALLOW IN Anywhere (v6) 80/tcp (v6) ALLOW IN Anywhere (v6) 443 (v6) ALLOW IN Anywhere (v6)

Description of my issue

Hello, I’m having issues when trying to import csv with 1 user. I first exported the users and replaced the information of this new user: username, firstname, password, mail, mail-forward, groups

I’m getting the “Unexpected server error”:

Logs: https://paste.yunohost.org/raw/aduqubogah

Many thanks for any help!


This probably has not relation to the current issue but I would expect this to heavily conflict with Yunohost’s firewall …

Regarding the error, can you share the log which may be available in Tools > Logs ?

Hi livelongandprosper,

I can’t help you, but I do like to let you know that you just taught me a feature that I was unaware of,
image

Thanks :slight_smile:

Looking at the format, there is the column mail-alias, is there anything there that you did not change (and which would cause a duplicate email address?)

Good luck solving your problem!

hmm there is nothing there related to the user import. I was trying the user import yesterday and the Tools>Logs has the most recent entry from 2 days ago.

Thanks! I just double checked and I kept the mail-alias empty.

You were right, disabling the UFW wasn’t the reason for this error. I disabled UFW and the same error appeared.

Your VPS should come with SSH access. Can you figure out how to use that?

You could then try uploading the CSV to your server and then yunohost user import file.csv? Maybe the command line gives a clue as to what the problem is.

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