<?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[installing Drupal 9 fails]]></title><description><![CDATA[<p dir="auto">Anyone else with this problem?<br />
I've tried it via drupal.tgz and composer. Both installations ended up with <strong>The website encountered an unexpected error. Please try again later.</strong> and nothing useful in the logs.</p>
]]></description><link>https://forum.cloudron.io/topic/4457/installing-drupal-9-fails</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 19:28:58 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4457.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Feb 2021 15:27:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to installing Drupal 9 fails on Mon, 15 Feb 2021 16:07:42 GMT]]></title><description><![CDATA[<p dir="auto">Here is my workaround for the Drupal  9.1.4 installation on the Cloudron LAMP app  (Paket v1.4.0-1).</p>
<ul>
<li>Install the LAMP app on your Cloudron</li>
<li>Update the app ressources to minimal 1.5 GB RAM</li>
<li>open the terminal</li>
<li>switch to the www-data user <code>su www-data</code></li>
<li>change directory to /app/data <code>cd /app/data</code></li>
<li>install drupal via composer <code>composer create-project drupal/recommended-project</code></li>
<li>move everything from inside recommended-project into the root of /app/data <code>mv recommended-project/* .</code> &amp; <code>mv recommended-project/.* .</code></li>
<li>remove the default public folder and make a symbolic link <code>rm -rf public</code>&amp; <code>ln -s web public</code></li>
<li>open your browser and install drupal</li>
<li>the last submit ends with an error</li>
<li>in the terminal install drush via composer <code>composer require drush/drush</code></li>
<li>clear the cache <code>php vendor/bin/drush cr</code></li>
<li>open your drupal installation again. #yippie</li>
</ul>
<p dir="auto">Maybe there is an unknown error in the drupal installation process or something between mysql/drupal/cloudron. No hints in the logfiles. But this workflow works for me.</p>
]]></description><link>https://forum.cloudron.io/post/25874</link><guid isPermaLink="true">https://forum.cloudron.io/post/25874</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Mon, 15 Feb 2021 16:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Fri, 15 Oct 2021 12:03:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shai" aria-label="Profile: shai">@<bdi>shai</bdi></a></p>
<p dir="auto">What is the latest on deploying Drupal using Cloudron everybody?</p>
]]></description><link>https://forum.cloudron.io/post/37808</link><guid isPermaLink="true">https://forum.cloudron.io/post/37808</guid><dc:creator><![CDATA[LoudLemur]]></dc:creator><pubDate>Fri, 15 Oct 2021 12:03:15 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Tue, 17 Aug 2021 23:15:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a>  =&gt; here is my slight riff on your great work.</p>
<p dir="auto">I don't like composer.json and composer.lock to be at the cloudron data root <code>/app/data</code></p>
<p dir="auto">So I <strong>removed</strong> this bullet from the instruction:</p>
<p dir="auto"><s>* move everything from inside recommended-project into the root of /app/data<br />
<code>mv recommended-project/* . &amp; mv recommended-project/.* .</code></s></p>
<p dir="auto">And then I changed<br />
<code>rm -rf public &amp; ln -s web public</code><br />
to<br />
<code>rm -rf public &amp; ln -s recommended-project/web public</code></p>
<p dir="auto">I find it much easier to manage version control this way.</p>
<p dir="auto">Your pioneering work made it so much easier for me. Thanks.</p>
]]></description><link>https://forum.cloudron.io/post/35425</link><guid isPermaLink="true">https://forum.cloudron.io/post/35425</guid><dc:creator><![CDATA[Shai]]></dc:creator><pubDate>Tue, 17 Aug 2021 23:15:41 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Mon, 15 Feb 2021 16:07:42 GMT]]></title><description><![CDATA[<p dir="auto">Here is my workaround for the Drupal  9.1.4 installation on the Cloudron LAMP app  (Paket v1.4.0-1).</p>
<ul>
<li>Install the LAMP app on your Cloudron</li>
<li>Update the app ressources to minimal 1.5 GB RAM</li>
<li>open the terminal</li>
<li>switch to the www-data user <code>su www-data</code></li>
<li>change directory to /app/data <code>cd /app/data</code></li>
<li>install drupal via composer <code>composer create-project drupal/recommended-project</code></li>
<li>move everything from inside recommended-project into the root of /app/data <code>mv recommended-project/* .</code> &amp; <code>mv recommended-project/.* .</code></li>
<li>remove the default public folder and make a symbolic link <code>rm -rf public</code>&amp; <code>ln -s web public</code></li>
<li>open your browser and install drupal</li>
<li>the last submit ends with an error</li>
<li>in the terminal install drush via composer <code>composer require drush/drush</code></li>
<li>clear the cache <code>php vendor/bin/drush cr</code></li>
<li>open your drupal installation again. #yippie</li>
</ul>
<p dir="auto">Maybe there is an unknown error in the drupal installation process or something between mysql/drupal/cloudron. No hints in the logfiles. But this workflow works for me.</p>
]]></description><link>https://forum.cloudron.io/post/25874</link><guid isPermaLink="true">https://forum.cloudron.io/post/25874</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Mon, 15 Feb 2021 16:07:42 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Sun, 14 Feb 2021 20:10:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> But my site IS loading and working! (After receiving the same error message as yours.)</p>
]]></description><link>https://forum.cloudron.io/post/25798</link><guid isPermaLink="true">https://forum.cloudron.io/post/25798</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Sun, 14 Feb 2021 20:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Sun, 14 Feb 2021 20:07:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scooke" aria-label="Profile: scooke">@<bdi>scooke</bdi></a> Thank you for trying the Drupal installation. Some of your experiences are "normal", but most of them are not a typical Drupal experience <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=13d69e59554" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
I will give the installation another chance tomorrow.</p>
]]></description><link>https://forum.cloudron.io/post/25796</link><guid isPermaLink="true">https://forum.cloudron.io/post/25796</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sun, 14 Feb 2021 20:07:20 GMT</pubDate></item><item><title><![CDATA[Reply to installing Drupal 9 fails on Sun, 14 Feb 2021 19:46:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> I'll give it a whirl and let you know....</p>
<p dir="auto">I've uploaded the zip (Drupal-9.1.4.zip).<br />
Then I just went to the url.<br />
Had an immediate error: <code>The directory sites/default/files does not exist</code>, so I made it, as well as the copying the missing settings.php.<br />
I then had to change ownership of the files directory, recursively.<br />
Then the changes were recognized by the web installer and I went to the next step.<br />
I entered the MySQL info from the LAMP-provided info, and the next install step started.<br />
I was then brought to the Configure Site page, entered all the details, pressed ok... and</p>
<p dir="auto">The same message you received!</p>
<p dir="auto">So, I thought I could trick myself into the site and so I appended an admin url to my domain, /admin/config/system/site-information, and what do you know, my site's admin page loaded.</p>
<p dir="auto">Interestingly, none of my details which I entered in the Configure Site page were displayed, and the home page was actually <a href="https://mydomain/node" target="_blank" rel="noopener noreferrer nofollow ugc">https://mydomain/node</a>, so I removed the /node.</p>
<p dir="auto">I then tried to visit the root domain but got a new url, <a href="https://mydomain.com/user/1" target="_blank" rel="noopener noreferrer nofollow ugc">https://mydomain.com/user/1</a>, so something is still out of wack.</p>
<p dir="auto">I then shortened the admin url to just /admin, and that page loaded. In fact, I could change the theme, and do a bunch of stuff, so Drupal is installed. It might be a permissions thing, so I am going to post this for now while I look around more.</p>
<p dir="auto">OK, my site is now working. Unfortunately I did a few steps, any of which may have done the trick.</p>
<p dir="auto">Going in reverse:</p>
<p dir="auto">Someone at <a href="https://www.drupal.org/forum/support/post-installation/2016-12-06/the-website-encountered-an-unexpected-error-please-try" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.drupal.org/forum/support/post-installation/2016-12-06/the-website-encountered-an-unexpected-error-please-try</a> suggested appending /update.php to the root domain as a means to trigger some kind of refresh or update. I did it, and it seemed it was basically a database update. Once it was finished, my site was accessible.</p>
<p dir="auto">However, before that I hand-tweaked the settings.php file, and activated a few settings:</p>
<ol start="3">
<li>
<p dir="auto"><code>#$settings['config_sync_directory'] = '/some/directory/you-chose</code> was like this, so I removed the # and added the actual config sync directory. Seemed important.</p>
</li>
<li>
<p dir="auto">I removed the # from <code>$settings['allow_authorize_operations'] = TRUE;</code></p>
</li>
<li>
<p dir="auto">I removed the # from <code>$settings['file_public_path'] = 'sites/default/files';</code></p>
</li>
</ol>
<p dir="auto">Any or all of these steps might have done the trick, but I only restarted the app and checked if it was loading after adding /update.php to the domain, <a href="https://mydomain.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://mydomain.com/</a>.</p>
<p dir="auto">For what it's worth, I tried restarting the app several times from the Dashboard, but strangely enough I couldn't tell if it had or not. After I had edited those 3 above, and before I added /update.php I had restarted the app from within apps File Manager window - there are three horizontal dots beside "UPLOAD" which give you three options, one of which is Restart App. I restarted the app from there and there was an immediate header at the top of the browser window telling me the app was restarting. Maybe it hadn't before.</p>
<p dir="auto">Drupal voodoo.</p>
]]></description><link>https://forum.cloudron.io/post/25778</link><guid isPermaLink="true">https://forum.cloudron.io/post/25778</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Sun, 14 Feb 2021 19:46:26 GMT</pubDate></item></channel></rss>