Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post_user_delete error when deleting admin user from yunohost #162

Open
obrenckle opened this issue Mar 10, 2023 · 1 comment
Open

post_user_delete error when deleting admin user from yunohost #162

obrenckle opened this issue Mar 10, 2023 · 1 comment

Comments

@obrenckle
Copy link

Describe the bug

After upgrading from yunohost 11.0 to 11.1, I deleted the "admin" user from Yunohost, but got an error for the FreshRSS post_user_delet_hook.
It didn't block the user suppression process.
As far as I remember, admin wasn't allowed to use FreshRSS or among the FreshRSS users at all (not in the all_users group and no specific authorization).
Might be related to #124 ?

Context

  • Hardware: Other ARM board, A20-OLinuXino-Lime2
  • YunoHost version: 11.1.14
  • I have access to my server: everything
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: Yunohost installed over a fresh armbian
  • Using, or trying to install package version/branch: 1.20.2~ynh1

Steps to reproduce

  • Delete admin user from Yunohost after upgrading from yunohost 11.0 to 11.1
  • (non blocking) error in log:
    • FreshRSS error: username not found “admin”
    • Échec de l'exécution du script : /etc/yunohost/hooks.d/post_user_delete/50-freshrss

Expected behavior

No error.

Logs

https://paste.yunohost.org/raw/copalosige

@lapineige
Copy link
Member

Good catch, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants