# ownCloud: can't reset the admin password, can't find 'occ' binary

**URL:** https://forum.yunohost.org/t/owncloud-cant-reset-the-admin-password-cant-find-occ-binary/43102
**Category:** Support apps
**Tags:** owncloud, english
**Created:** [October 1, 2026, 1:35pm UTC](https://forum.yunohost.org/t/owncloud-cant-reset-the-admin-password-cant-find-occ-binary/43102 "2026-10-01T13:35:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![imzy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/imzy/32/13981_2.png) [@imzy](https://forum.yunohost.org/u/imzy)
#### Post date: [October 1, 2026, 1:35pm UTC](https://forum.yunohost.org/t/owncloud-cant-reset-the-admin-password-cant-find-occ-binary/43102/1 "2026-10-01T13:35:40Z")

</div>

### I have searched the forum for similar issues

on

### This category is for issues regarding specific apps, _NOT_ general issues with YunoHost.

on

### This form is written in English but feel free to write in French if you’re more comfortable!

on

### What app is this about, and its version

owncloud, 8.2.0~ynh1

### What YunoHost version are you running

12.1.41.2

### What type of hardware are you using

Old laptop or computer

### Describe your issue

hi hello

i lost the admin password of my ownCloud, so i was trying to recover it. Apparently, i have to use the “occ” binary, but it doesn’t exist anywhere on my machine. I tried:  
`$ docker compose exec owncloud occ user:resetpassword admin` → command “docker” doesn’t exist  
and `$ php occ user:resetpassword admin` → “Could not open input file: occ”  
both as the ‘owncloud’ user.

i see that there is the ‘ocis’ binary, but idk if it’s supposed to be able to reset the admin password and i didn’t find anything about it..

thanks for the help

### Share relevant logs or error messages

(it’s not a specific error with logs associated, not sure what to put here)

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [October 1, 2026, 3:12pm UTC](https://forum.yunohost.org/t/owncloud-cant-reset-the-admin-password-cant-find-occ-binary/43102/2 "2026-10-01T15:12:27Z")

</div>

Hello @imzy  
First, update your version to 8.2.0~ynh2

```auto
yunohost app upgrade owncloud -u https://github.com/YunoHost-Apps/owncloud_ynh

```

Then

```auto
systemctl stop owncloud 
yunohost app shell owncloud
./ocis idm resetpassword -u admin
# set the new admin password
exit
systemctl start owncloud

```

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [October 16, 2026, 3:12pm UTC](https://forum.yunohost.org/t/owncloud-cant-reset-the-admin-password-cant-find-occ-binary/43102/3 "2026-10-16T15:12:50Z")

</div>

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