<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Failed to mount (inactive): mount error(13) when mounting CIFS from Synology]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">When I try mouting a CIFS (Samba) share from my Synology Diskstation NAS, I get the following error:</p>
<pre><code>Failed to mount (inactive): mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
</code></pre>
<p dir="auto">My logs tell me that no dialect is specified and that I should manually specify it. However, this is all via GUI and I wanted to avoid messing with command line stuff to keep things simple. What should I do to resolve this? :s</p>
<pre><code>[173190.444124] CIFS: Attempting to mount //192.168.2.199/piwigo
[173190.444141] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
[173190.533535] Status code returned 0xc000006d STATUS_LOGON_FAILURE
[173190.533543] CIFS VFS: \\192.168.2.199 Send error in SessSetup = -13
[173190.533614] CIFS VFS: cifs_mount failed w/return code = -13
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/6577/failed-to-mount-inactive-mount-error-13-when-mounting-cifs-from-synology</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 11:24:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6577.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Mar 2022 12:52:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Sun, 05 Feb 2023 13:35:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jayonrails" aria-label="Profile: jayonrails">@<bdi>jayonrails</bdi></a> SSH and SAMBA access haven’t been enabled yet, therefore it didn’t worked. After enabling it, everything works perfectly.</p>
]]></description><link>https://forum.cloudron.io/post/61474</link><guid isPermaLink="true">https://forum.cloudron.io/post/61474</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sun, 05 Feb 2023 13:35:08 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Sat, 04 Feb 2023 14:07:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> does key mean the password I received for the login? Or does it mean the authentication with an SSH Private / public key pair?</p>
<p dir="auto">This would also be possible on Hetzner Storage Box, but is not what I have configured. I am curious because in my understanding a password cannot be revoked, while a private key <em>could</em> be revoked, but is nothing I am using right now.</p>
<p dir="auto">I will check the credentials again and will let you know the results.</p>
<p dir="auto">Best<br />
Jay</p>
]]></description><link>https://forum.cloudron.io/post/61442</link><guid isPermaLink="true">https://forum.cloudron.io/post/61442</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sat, 04 Feb 2023 14:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Sat, 04 Feb 2023 12:57:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jayonrails" aria-label="Profile: jayonrails">@<bdi>jayonrails</bdi></a> said in <a href="/post/61439">Failed to mount (inactive): mount error(13) when mounting CIFS from Synology</a>:</p>
<blockquote>
<p dir="auto">Key has been revoked</p>
</blockquote>
<p dir="auto">I think the error is coming from Hetzner . Did you possible revoke your existing key? Maybe you can generate new keys and try?</p>
]]></description><link>https://forum.cloudron.io/post/61440</link><guid isPermaLink="true">https://forum.cloudron.io/post/61440</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 04 Feb 2023 12:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Sat, 04 Feb 2023 12:41:23 GMT]]></title><description><![CDATA[<p dir="auto">I have a similar issue when connecting to a Hetzner StorageBox system:</p>
<pre><code>Failed to mount (inactive): mount error(128): Key has been revoked Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
</code></pre>
<p dir="auto">My settings are the following:</p>
<p dir="auto"><img src="/assets/uploads/files/1675514452490-bildschirm-foto-2023-02-04-um-13.40.00.png" alt="Bildschirm­foto 2023-02-04 um 13.40.00.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Any tips on how to get this fixed? The git commit is some months old so I thought this might be already included in the latest Cloudron release?</p>
<p dir="auto">Best<br />
Jay</p>
]]></description><link>https://forum.cloudron.io/post/61439</link><guid isPermaLink="true">https://forum.cloudron.io/post/61439</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Sat, 04 Feb 2023 12:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Wed, 30 Mar 2022 04:29:58 GMT]]></title><description><![CDATA[<p dir="auto">I have tried to fix this with <a href="https://git.cloudron.io/cloudron/box/-/commit/dbb803ff5e3e837a7c8f49c4890bccc5329946d5" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/dbb803ff5e3e837a7c8f49c4890bccc5329946d5</a> . Let's see if the situation is better in the next release.</p>
]]></description><link>https://forum.cloudron.io/post/45472</link><guid isPermaLink="true">https://forum.cloudron.io/post/45472</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 30 Mar 2022 04:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Tue, 15 Mar 2022 12:46:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thank you <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/44722</link><guid isPermaLink="true">https://forum.cloudron.io/post/44722</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Tue, 15 Mar 2022 12:46:28 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Mon, 14 Mar 2022 16:38:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> ha ha, sorry about that. Let me see if I can make a patch instead and test locally with special characters, might be easier.</p>
]]></description><link>https://forum.cloudron.io/post/44659</link><guid isPermaLink="true">https://forum.cloudron.io/post/44659</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 14 Mar 2022 16:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Thu, 10 Mar 2022 21:51:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> OK, slowly for those of us who don't read too well ;D</p>
<p dir="auto">Do you mean /etc/fstab or some other way to put the options line in? I am familiar with the former but even after DuckDuckGoing for 2min not that much more clued in about the latter.</p>
<p dir="auto">What do I do in the GUI?</p>
]]></description><link>https://forum.cloudron.io/post/44539</link><guid isPermaLink="true">https://forum.cloudron.io/post/44539</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Thu, 10 Mar 2022 21:51:57 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Thu, 10 Mar 2022 18:13:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":-(" alt="😞" /> thanks for trying! If you don't mind trying one more approach:</p>
<ul>
<li>Create a credentials file like:</li>
</ul>
<pre><code>username=username
password=password
</code></pre>
<ul>
<li>Then in the systemd mount file, do <code>Options=credentials=/path/to/credentialsfile,..other options...</code></li>
</ul>
<p dir="auto">See articles like <a href="https://askubuntu.com/questions/1119819/how-do-i-use-a-credential-file-for-cifs-in-etc-fstab" target="_blank" rel="noopener noreferrer nofollow ugc">https://askubuntu.com/questions/1119819/how-do-i-use-a-credential-file-for-cifs-in-etc-fstab</a></p>
<p dir="auto">I think we should do one of these:</p>
<ul>
<li>
<p dir="auto">When complex passwords are entered in UI, we can inform the user about this limitation, so they don't end up with your situation.</p>
</li>
<li>
<p dir="auto">If credential file works, we will fix the code to use that approach.</p>
</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/44532</link><guid isPermaLink="true">https://forum.cloudron.io/post/44532</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 10 Mar 2022 18:13:21 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Thu, 10 Mar 2022 10:10:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/44413">Failed to mount (inactive): mount error(13) when mounting CIFS from Synology</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> ok, <a href="https://www.freedesktop.org/software/systemd/man/systemd.syntax.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.freedesktop.org/software/systemd/man/systemd.syntax.html</a> has some more.</p>
<p dir="auto">Can you please try <code>systemd-escape &lt;your-password&gt;</code> and use that instead of quoting in the mount file? If that works, I can fix up our code accordingly.</p>
</blockquote>
<p dir="auto">Sadly, this did not work. I also tried MD5 hashing but the only reliable way is to use a password without special characters so far <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":-/" alt="😕" /></p>
]]></description><link>https://forum.cloudron.io/post/44517</link><guid isPermaLink="true">https://forum.cloudron.io/post/44517</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Thu, 10 Mar 2022 10:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Thu, 10 Mar 2022 09:57:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> thanks both. The previous password contained: @ &amp; ^</p>
<p dir="auto">It works OK on the command line, where I can escape it using double quotes or just pasting it in the prompt when running interactively.</p>
<p dir="auto">I will have a go with a test user and suitably complex password and report back, after trying the 'system-escape' option.</p>
]]></description><link>https://forum.cloudron.io/post/44515</link><guid isPermaLink="true">https://forum.cloudron.io/post/44515</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Thu, 10 Mar 2022 09:57:40 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Mon, 07 Mar 2022 19:09:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> ok, <a href="https://www.freedesktop.org/software/systemd/man/systemd.syntax.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.freedesktop.org/software/systemd/man/systemd.syntax.html</a> has some more.</p>
<p dir="auto">Can you please try <code>systemd-escape &lt;your-password&gt;</code> and use that instead of quoting in the mount file? If that works, I can fix up our code accordingly.</p>
]]></description><link>https://forum.cloudron.io/post/44413</link><guid isPermaLink="true">https://forum.cloudron.io/post/44413</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 07 Mar 2022 19:09:46 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Mon, 07 Mar 2022 19:08:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> Can you tell us what special characters it has? Does it have a comma or double/single quote ? From what I read from the man pages:</p>
<p dir="auto"><a href="https://manpages.debian.org/testing/systemd/systemd.mount.5.en.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://manpages.debian.org/testing/systemd/systemd.mount.5.en.html</a> says <code>Mount options to use when mounting. This takes a comma-separated list of options. This setting is optional. Note that the usual specifier expansion is applied to this setting, literal percent characters should hence be written as "%%".</code> . <a href="https://www.man7.org/linux/man-pages/man5/systemd-system.conf.5.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.man7.org/linux/man-pages/man5/systemd-system.conf.5.html</a> has the specifier table. It has no special meaning for double quotes AFAICT.</p>
<p dir="auto"><a href="https://linux.die.net/man/8/mount.cifs" target="_blank" rel="noopener noreferrer nofollow ugc">https://linux.die.net/man/8/mount.cifs</a> says <code>Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly. </code> . So, maybe we have to create a credentials file for this to be reliable.</p>
]]></description><link>https://forum.cloudron.io/post/44412</link><guid isPermaLink="true">https://forum.cloudron.io/post/44412</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 07 Mar 2022 19:08:11 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Mon, 07 Mar 2022 14:40:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> ah so you wrapped it in quotes in the .mount file for systemd? If this is the case, I guess we should always add quotes when generating this file.</p>
]]></description><link>https://forum.cloudron.io/post/44391</link><guid isPermaLink="true">https://forum.cloudron.io/post/44391</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 07 Mar 2022 14:40:16 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Sun, 06 Mar 2022 11:29:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> found it!</p>
<p dir="auto">It doesn't like my super strong password, which contains special characters <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">When I wrap the password in "..." it accepts it!</p>
]]></description><link>https://forum.cloudron.io/post/44348</link><guid isPermaLink="true">https://forum.cloudron.io/post/44348</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Sun, 06 Mar 2022 11:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to mount (inactive): mount error(13) when mounting CIFS from Synology on Wed, 02 Mar 2022 12:59:28 GMT]]></title><description><![CDATA[<p dir="auto">The mount file is generated with the options mentioned at <a href="https://git.cloudron.io/cloudron/box/-/blob/master/src/mounts.js#L93" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/blob/master/src/mounts.js#L93</a></p>
<p dir="auto">Can you maybe try to adjust this (after editing that file, which is at <code>/home/yellowtent/box/src/...</code>, run <code>systemctrl restart box</code>) with options recommended by your Synology?</p>
]]></description><link>https://forum.cloudron.io/post/44165</link><guid isPermaLink="true">https://forum.cloudron.io/post/44165</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 02 Mar 2022 12:59:28 GMT</pubDate></item></channel></rss>