# Nextcloud occ command not work

**URL:** <https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320>\
**Category:** Existing Apps\
**Tags:** nextcloud\
**Created:** [10 March 2023 11:42 UTC](https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320 "2023-03-10T11:42:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karol](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/karol/32/25_2.png) [@Karol](https://syncloud.discourse.group/u/Karol)\
**Post date:** [10 March 2023 11:42 UTC](https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320/1 "2023-03-10T11:42:02Z")

</div>

I have the latest version of syncloud and all applications up to date. I get a command:  
snap run nextloud.occ

See error: cannot find current revision for snap nextloud: readlink /snap/nextloud/current: no such file or directory.

How to fix it?

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [10 March 2023 20:51 UTC](https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320/2 "2023-03-10T20:51:37Z")

</div>

Do you mean nextcloud? Not nextloud?

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [10 March 2023 20:52 UTC](https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320/3 "2023-03-10T20:52:46Z")

</div>

> **[Nextcloud](https://github.com/syncloud/platform/wiki/Nextcloud#command-line-tool-occ)**
>
> Run popular services on your device with one click - syncloud/platform

---

<div class="post-metadata">

**Author:** ![Karol](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/karol/32/25_2.png) [@Karol](https://syncloud.discourse.group/u/Karol)\
**Post date:** [10 March 2023 21:14 UTC](https://syncloud.discourse.group/t/nextcloud-occ-command-not-work/320/4 "2023-03-10T21:14:23Z")

</div>

Yes, nextcloud of course, typo error. After reinstalling nextcloud everything is ok. Thanks
