How to enable the app : The backend <OCA\User_LDAP\User_Proxy> does not exist

My cPanel Cron job =
*/15 * * * * /usr/local/bin/ea-php73 /my-domain/public_html/owncloud/occ user:sync -vvv -n --missing-account-action=“disable” -r “OCA\User_LDAP\User_Proxy”

I received an email notification =
« The backend <OCA\User_LDAP\User_Proxy> does not exist. Did you forget to enable the app? »

Someone know how to enable the app?

The command is correct, the quotes are wrong.

Use " instead of

This works:

occ user:sync -vvv -n --missing-account-action="disable" -r "OCA\User_LDAP\User_Proxy"

you can also shorten it to

occ user:sync -vvv -n --m disable -r "OCA\User_LDAP\User_Proxy"
1 Like

Thank you. I am french (Québec) … :wink:

1 Like

You are very welcome. I am german (Nuremberg) :slight_smile:

1 Like