<?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[wp db import : file missing or not readable]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">On my others hosting system, I sued to use WP-CLI to manage my WordPress websites.<br />
To import DB I'm using <a href="https://developer.wordpress.org/cli/commands/db/import/" target="_blank" rel="noopener noreferrer nofollow ugc">https://developer.wordpress.org/cli/commands/db/import/</a></p>
<p dir="auto">On my Cloudron WordPress developer, I can't use this command.</p>
<pre><code>root@b8b274fd-2cfa-49b9-a088-fb2f905ba032:/app/data/public# wp db import backup.sql 
Error: Import file missing or not readable: backup.sql
root@b8b274fd-2cfa-49b9-a088-fb2f905ba032:/app/data/public# ls -la
total 85896
drwxr-xr-x  6 www-data www-data     4096 Jan 15 06:40 .
drwxr-xr-x  4 www-data www-data     4096 Jan 15 06:27 ..
-rw-r--r--  1 www-data www-data 87625537 Jan 15 06:39 backup.sql
-rw-r--r--  1 www-data www-data      405 Jan 15 06:26 index.php
-rw-r--r--  1 www-data www-data    19903 Jan 15 06:26 license.txt
-rw-r--r--  1 www-data www-data     7425 Jan 15 06:26 readme.html
-rw-r--r--  1 www-data www-data     7349 Jan 15 06:26 wp-activate.php
drwxr-xr-x  9 www-data www-data     4096 Jan 15 06:26 wp-admin
-rw-r--r--  1 www-data www-data      351 Jan 15 06:26 wp-blog-header.php
-rw-r--r--  1 www-data www-data     2323 Jan 15 06:26 wp-comments-post.php
-rw-r--r--  1 www-data www-data     3339 Jan 15 06:26 wp-config-sample.php
-rw-rw-r--  1 www-data www-data     3690 Jan 15 06:27 wp-config.php
drwxr-xr-x 17 www-data www-data     4096 Jan 15 06:51 wp-content
drwxr-xr-x  6 www-data www-data     4096 Jan 15 06:27 wp-content-old
-rw-r--r--  1 www-data www-data     5617 Jan 15 06:26 wp-cron.php
drwxr-xr-x 31 www-data www-data    16384 Jan 15 06:26 wp-includes
-rw-r--r--  1 www-data www-data     2493 Jan 15 06:26 wp-links-opml.php
-rw-r--r--  1 www-data www-data     3937 Jan 15 06:26 wp-load.php
-rw-r--r--  1 www-data www-data    51437 Jan 15 06:26 wp-login.php
-rw-r--r--  1 www-data www-data     8727 Jan 15 06:26 wp-mail.php
-rw-r--r--  1 www-data www-data    31055 Jan 15 06:26 wp-settings.php
-rw-r--r--  1 www-data www-data    34516 Jan 15 06:26 wp-signup.php
-rw-r--r--  1 www-data www-data     5214 Jan 15 06:26 wp-trackback.php
-rw-r--r--  1 www-data www-data     3205 Jan 15 06:26 xmlrpc.php
root@b8b274fd-2cfa-49b9-a088-fb2f905ba032:/app/data/public# 
</code></pre>
<p dir="auto">Any idea why ?</p>
]]></description><link>https://forum.cloudron.io/topic/14898/wp-db-import-file-missing-or-not-readable</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 10:58:33 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14898.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Jan 2026 07:17:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 07:21:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a><br />
Have you tried using the full path to the file?</p>
<pre><code class="language-bash">wp db import /app/data/public/backup.sql
</code></pre>
]]></description><link>https://forum.cloudron.io/post/118552</link><guid isPermaLink="true">https://forum.cloudron.io/post/118552</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 15 Jan 2026 07:21:35 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 13:32:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--clap" style="height:23px;width:auto;vertical-align:middle" title="👏" alt="👏" /><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--clap" style="height:23px;width:auto;vertical-align:middle" title="👏" alt="👏" /><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--clap" style="height:23px;width:auto;vertical-align:middle" title="👏" alt="👏" /></p>
]]></description><link>https://forum.cloudron.io/post/118586</link><guid isPermaLink="true">https://forum.cloudron.io/post/118586</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Thu, 15 Jan 2026 13:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 12:44:55 GMT]]></title><description><![CDATA[<p dir="auto">oh! I'm sorry, i missed <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> answer. <code>wp db</code> command works with the full path</p>
]]></description><link>https://forum.cloudron.io/post/118584</link><guid isPermaLink="true">https://forum.cloudron.io/post/118584</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Thu, 15 Jan 2026 12:44:55 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 12:23:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/p44" aria-label="Profile: p44">@<bdi>p44</bdi></a> said in <a href="/post/118577">wp db import : file missing or not readable</a>:</p>
<blockquote>
<p dir="auto">did you try to upload file in TMP folder and then, from command line, point to that file?</p>
</blockquote>
<p dir="auto">or just the full path as suggested by <a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> ?</p>
]]></description><link>https://forum.cloudron.io/post/118580</link><guid isPermaLink="true">https://forum.cloudron.io/post/118580</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 15 Jan 2026 12:23:58 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 12:05:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a> Thanks for your feedback: I’m glad that method works.</p>
<p dir="auto">About your original question, did you try to upload file in TMP folder and then, from command line, point to that file?</p>
]]></description><link>https://forum.cloudron.io/post/118577</link><guid isPermaLink="true">https://forum.cloudron.io/post/118577</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Thu, 15 Jan 2026 12:05:36 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 12:01:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/p44" aria-label="Profile: p44">@<bdi>p44</bdi></a> tip works but it's really easier to launch a <code>wp db import backup.sql</code> command.</p>
]]></description><link>https://forum.cloudron.io/post/118576</link><guid isPermaLink="true">https://forum.cloudron.io/post/118576</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Thu, 15 Jan 2026 12:01:47 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 09:23:01 GMT]]></title><description><![CDATA[<p dir="auto">Yes, my question was, why this specific import method from WPCLi (which is easier than a SQL query) doesn't work.<br />
I do not know if I'm doing something wrong or if it's a limitation of the WordPress developer Cloudron app.</p>
<p dir="auto">but thank you for your tip <a class="plugin-mentions-user plugin-mentions-a" href="/user/p44" aria-label="Profile: p44">@<bdi>p44</bdi></a></p>
]]></description><link>https://forum.cloudron.io/post/118564</link><guid isPermaLink="true">https://forum.cloudron.io/post/118564</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Thu, 15 Jan 2026 09:23:01 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 08:26:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> Method I suggested is "half way" between wp-cli and Cloudron. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto"><em>«All roads lead to Rome»</em></p>
<p dir="auto">Let’s see if works also for <a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a> scenario</p>
]]></description><link>https://forum.cloudron.io/post/118557</link><guid isPermaLink="true">https://forum.cloudron.io/post/118557</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Thu, 15 Jan 2026 08:26:51 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 08:07:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/p44" aria-label="Profile: p44">@<bdi>p44</bdi></a><br />
This is one way.<br />
It is also documented <a href="https://docs.cloudron.io/guides/import-mysql" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/guides/import-mysql</a></p>
<p dir="auto">But I know that <a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a> knows about this documentation from his latest <a class="plugin-mentions-category plugin-mentions-a" href="/category/107/dolibarr" aria-label="Profile: dolibarr">@<bdi>dolibarr</bdi></a> migration.<br />
So I guess his question is specific to the wp-cli.</p>
]]></description><link>https://forum.cloudron.io/post/118556</link><guid isPermaLink="true">https://forum.cloudron.io/post/118556</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 15 Jan 2026 08:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 08:02:21 GMT]]></title><description><![CDATA[<p dir="auto">I don’t know your use case, but please try to follow these steps, from Cloudron instance command line.</p>
<p dir="auto">Note that the old DB will be totally deleted.</p>
<p dir="auto">Before, upload mysqldump.sql to TMP folder</p>
<p dir="auto">Then, open MySQL command line and type:</p>
<pre><code class="language-php">STATUS; //to know database name
DROP DATABASE cfda74f223139c8; //delete old DB
CREATE DATABASE cfda74f223139c8; //create a new DB
USE cfda74f223139c8; //use new created DB
SOURCE mysqldump.sql; //import DB
</code></pre>
<p dir="auto"><em>cfda74f223139c8</em> is only for demo purpose, instead, you’ve to put your DB Name that comes from STATUS command.</p>
<p dir="auto">Check if DB is imported:</p>
<pre><code>show tables;
</code></pre>
<p dir="auto">Let us know if everything works good.</p>
]]></description><link>https://forum.cloudron.io/post/118553</link><guid isPermaLink="true">https://forum.cloudron.io/post/118553</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Thu, 15 Jan 2026 08:02:21 GMT</pubDate></item><item><title><![CDATA[Reply to wp db import : file missing or not readable on Thu, 15 Jan 2026 07:21:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a><br />
Have you tried using the full path to the file?</p>
<pre><code class="language-bash">wp db import /app/data/public/backup.sql
</code></pre>
]]></description><link>https://forum.cloudron.io/post/118552</link><guid isPermaLink="true">https://forum.cloudron.io/post/118552</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 15 Jan 2026 07:21:35 GMT</pubDate></item></channel></rss>