# Ssh command is not recognized

**URL:** https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452
**Category:** Existing Apps
**Tags:** nextcloud
**Created:** [7 July 2024 07:33 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452 "2024-07-07T07:33:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)
#### Post date: [7 July 2024 07:33 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/1 "2024-07-07T07:33:08Z")

</div>

![grafik](https://global.discourse-cdn.com/free1/uploads/syncloud/original/1X/bc3f5d8e3ea5f9ba8a8a981df378e45eeb65009f.png)

How can I solve this?

---

<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: [7 July 2024 08:41 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/2 "2024-07-07T08:41:42Z")

</div>

You need to connect to the device using SSH: [SSH · syncloud/platform Wiki · GitHub](https://github.com/syncloud/platform/wiki/SSH)

1. Logreader has to be disabled:

```auto
snap run nextcloud.occ app:disable logreader

```

1. Try the suggested command:

```auto
snap run nextcloud.occ maintenance:repair --include-expensive

```

---

<div class="post-metadata">

### Author: ![shire](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/shire/32/291_2.png) [@shire](https://syncloud.discourse.group/u/shire)
#### Post date: [7 July 2024 09:26 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/3 "2024-07-07T09:26:29Z")

</div>

> [@boris](#):
>
> `snap run nextcloud.occ maintenance:repair --include-expensive`

Worked for me. Thanks.

---

<div class="post-metadata">

### Author: ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)
#### Post date: [7 July 2024 09:43 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/4 "2024-07-07T09:43:57Z")

</div>

Do I have to switch on the logreader again?  
If so, with which command?

---

<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: [7 July 2024 09:52 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/5 "2024-07-07T09:52:35Z")

</div>

Not really, log reader never worked as logs are stored in system journal on syncloud device and logreader nextcloud app does not support it.

---

<div class="post-metadata">

### Author: ![Christoph](https://avatars.discourse-cdn.com/v4/letter/c/eb8c5e/32.png) [@Christoph](https://syncloud.discourse.group/u/Christoph)
#### Post date: [7 July 2024 09:56 UTC](https://syncloud.discourse.group/t/ssh-command-is-not-recognized/452/6 "2024-07-07T09:56:18Z")

</div>

Worked for me. Thanks Boris
