<?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[Postgres error in Nextcloud app with volumes]]></title><description><![CDATA[<p dir="auto">I tried to move my Nextcloud app data to a block storage volume because I ran out of space, however, that failed.</p>
<p dir="auto">Now I keep getting this error inside the application: Error : Addons Error - Error setting up postgresql. Status code: 500 message: connect ECONNREFUSED 127.0.0.1:5432</p>
<p dir="auto">I cannot even import the last backup due to the same error.</p>
<p dir="auto">How can I get access again?</p>
]]></description><link>https://forum.cloudron.io/topic/7747/postgres-error-in-nextcloud-app-with-volumes</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 04:41:50 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7747.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Oct 2022 09:43:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 13:30:21 GMT]]></title><description><![CDATA[<p dir="auto">You don't need a second app. Copy the files your app is missing from your latest backup (without using Cloudrons "restore from backup" function). Take a look at my output. Compare with the files in your backup and the one in your (broken) live app.</p>
]]></description><link>https://forum.cloudron.io/post/54004</link><guid isPermaLink="true">https://forum.cloudron.io/post/54004</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Mon, 03 Oct 2022 13:30:21 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 13:19:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> That makes sense, however, I do not have the storage space in that Cloudron instance to do that with a second app, so I'll probably need to delete it and set it up again anyway then. But then re-implementing the backup from scratch might be even more helpful after I will have deleted it already.</p>
]]></description><link>https://forum.cloudron.io/post/54003</link><guid isPermaLink="true">https://forum.cloudron.io/post/54003</guid><dc:creator><![CDATA[ekevu123]]></dc:creator><pubDate>Mon, 03 Oct 2022 13:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 13:15:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekevu123" aria-label="Profile: ekevu123">@<bdi>ekevu123</bdi></a> you can copy over the missing files from your backup by hand and put them where they belong in the apps root dir ^^ Because you have no config.json etc. app is unable to start. These files should be small as data is the big chunk but be careful to not run out of space! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f986.png?v=d69db52af35" class="not-responsive emoji emoji-android emoji--duck" style="height:23px;width:auto;vertical-align:middle" title=":duck:" alt="🦆" /></p>
]]></description><link>https://forum.cloudron.io/post/54002</link><guid isPermaLink="true">https://forum.cloudron.io/post/54002</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Mon, 03 Oct 2022 13:15:54 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 12:48:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> I do not have all the options you have here, but this is my output:</p>
<pre><code>ls -la
total 12
drwxr-xr-x 3 yellowtent yellowtent 4096 Oct  3 09:41 .
drwxr-xr-x 3 yellowtent yellowtent 4096 Jun 26 11:40 ..
drwxrwx--- 9 www-data   www-data   4096 Sep 11 14:46 data

</code></pre>
<p dir="auto">I cannot reinstall the backup in the same instance because I ran out of space in the disk. Moving the data directory failed, so I cannot revert it either.</p>
<p dir="auto">My best alternative is to delete the app completely and then set it up again, either through backup or generally new, if I cannot solve this problem here. I was hoping to get access, though, so that I can still make the necessary changes.</p>
]]></description><link>https://forum.cloudron.io/post/54001</link><guid isPermaLink="true">https://forum.cloudron.io/post/54001</guid><dc:creator><![CDATA[ekevu123]]></dc:creator><pubDate>Mon, 03 Oct 2022 12:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 12:06:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekevu123" aria-label="Profile: ekevu123">@<bdi>ekevu123</bdi></a> okay so you moved <code>Default - /home/yellowtent/appsdata/9cff92f2-blah-blah-9455-5261ee1fe533</code> using the Cloudron storage UI.</p>
<p dir="auto">Have you tried to restore an older Nextcloud backup to a different subdomain? My first guess would be file permission related. I would suggest to stop the app, revert the data directory to its default location (/home/yellowtent/appsdata/ following the original app ID as folder name) and copy over the data that was moved to the volume by hand. Keep an eye on file permissions within the directory. My permissions look like this:</p>
<pre><code>root@my:/home/yellowtent/appsdata/9cff92f2-cf59-4a7e-9455-5261ee1fe533# ls -la
total 44028
drwxr-xr-x   3 yellowtent yellowtent     4096 Aug 19 01:32 .
drwxr-xr-x  27 yellowtent yellowtent     4096 Okt  1 08:46 ..
-rw-r--r--   1 yellowtent yellowtent     5892 Okt  3 02:02 config.json
drwxrwx--- 159 www-data   www-data       4096 Okt  1 03:09 data
-rw-r--r--   1 yellowtent yellowtent 24890717 Okt  3 02:02 dump.rdb
-rw-r--r--   1 root       root          64510 Mai 14 02:07 fsmetadata.json
-rw-r--r--   1 yellowtent yellowtent 20104904 Okt  3 02:02 postgresqldump
</code></pre>
]]></description><link>https://forum.cloudron.io/post/53999</link><guid isPermaLink="true">https://forum.cloudron.io/post/53999</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Mon, 03 Oct 2022 12:06:13 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 11:42:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subven" aria-label="Profile: subven">@<bdi>subven</bdi></a> I tried to move the data directory in the storage submenu of the Nextcloud application.</p>
]]></description><link>https://forum.cloudron.io/post/53998</link><guid isPermaLink="true">https://forum.cloudron.io/post/53998</guid><dc:creator><![CDATA[ekevu123]]></dc:creator><pubDate>Mon, 03 Oct 2022 11:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres error in Nextcloud app with volumes on Mon, 03 Oct 2022 11:23:40 GMT]]></title><description><![CDATA[<p dir="auto">What did you move? The whole app directory (including db etc.) or just appdata? Symlinks? More infos please <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=d69db52af35" 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/53997</link><guid isPermaLink="true">https://forum.cloudron.io/post/53997</guid><dc:creator><![CDATA[subven]]></dc:creator><pubDate>Mon, 03 Oct 2022 11:23:40 GMT</pubDate></item></channel></rss>