Advertisement

stuck installing joomla on ubuntu 22.04 Topic is solved

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
franko384
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Aug 01, 2023 12:06 pm

stuck installing joomla on ubuntu 22.04

Post by franko384 » Tue Aug 01, 2023 12:51 pm

Hi,

I would need some help please to complete the setup on Joomla on a server ubuntu 22.04.

When I open the website to setup Joomla I get a big error in red background saying:

Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong."

I don't see any error in the apache or joomla logs but may be I didn't look correctly or in the right place.

I know the server apache with PHP is running fine and I configured mysql with a database and username for joomla though I didn't get the opportunity of telling joomla what to use for the database connection.

I ran the FPA and now I got all green except for the database connection that apparently it cannot detect. I tested separately with a php script and the connection to the mysql works correctly by giving explicitly the database name, username and password.

Here the output of FPA:
Forum Post Assistant (v1.6.6) : 1-Aug-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.3.3-Stable (Bora) 11-July-2023
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 5.15.0-78-generic | Technology: x86_64 | Web Server: Apache/2.4.52 (Ubuntu) | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 45.47 GiB |

PHP Configuration :: Version: 8.1.2-1ubuntu2.13 | PHP API: fpm-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Database Credentials incomplete or not available Nothing to display.
Missing credentials detected: Connection Type missing | Database Name missing |MySQL Host missing | Table Prefix missing | Database Username missing | Database Password missing |User Privileges : Unknown
Detailed Environment :: wrote:PHP Extensions :: Core (8.1.2-1ubuntu2.13) | date (8.1.2-1ubuntu2.13) | libxml (8.1.2-1ubuntu2.13) | openssl (8.1.2-1ubuntu2.13) | pcre (8.1.2-1ubuntu2.13) | zlib (8.1.2-1ubuntu2.13) | filter (8.1.2-1ubuntu2.13) | hash (8.1.2-1ubuntu2.13) | json (8.1.2-1ubuntu2.13) | Reflection (8.1.2-1ubuntu2.13) | SPL (8.1.2-1ubuntu2.13) | session (8.1.2-1ubuntu2.13) | standard (8.1.2-1ubuntu2.13) | sodium (8.1.2-1ubuntu2.13) | cgi-fcgi (8.1.2-1ubuntu2.13) | mysqlnd (mysqlnd 8.1.2-1ubuntu2.13) | PDO (8.1.2-1ubuntu2.13) | calendar (8.1.2-1ubuntu2.13) | ctype (8.1.2-1ubuntu2.13) | mbstring (8.1.2-1ubuntu2.13) | FFI (8.1.2-1ubuntu2.13) | fileinfo (8.1.2-1ubuntu2.13) | ftp (8.1.2-1ubuntu2.13) | gettext (8.1.2-1ubuntu2.13) | iconv (8.1.2-1ubuntu2.13) | exif (8.1.2-1ubuntu2.13) | mysqli (8.1.2-1ubuntu2.13) | pdo_mysql (8.1.2-1ubuntu2.13) | Phar (8.1.2-1ubuntu2.13) | posix (8.1.2-1ubuntu2.13) | readline (8.1.2-1ubuntu2.13) | shmop (8.1.2-1ubuntu2.13) | sockets (8.1.2-1ubuntu2.13) | sysvmsg (8.1.2-1ubuntu2.13) | sysvsem (8.1.2-1ubuntu2.13) | sysvshm (8.1.2-1ubuntu2.13) | tokenizer (8.1.2-1ubuntu2.13) | Zend OPcache (8.1.2-1ubuntu2.13) | Zend Engine (4.1.2) |
Potential Missing Extensions :: xml | zip | curl | gd |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_media (3.0.0) ? | com_login (4.0.0) ? | com_cache (4.0.0) ? | com_admin (4.0.0) ? | com_mails (4.0.0) ? | com_fields (4.0.0) ? | com_finder (4.0.0) ? | com_content (4.0.0) ? | com_contenthistory (4.0.0) ? | com_checkin (4.0.0) ? | com_config (4.0.0) ? | com_templates (4.0.0) ? | com_cpanel (4.0.0) ? | com_banners (4.0.0) ? | com_newsfeeds (4.0.0) ? | com_messages (4.0.0) ? | com_users (4.0.0) ? | com_postinstall (4.0.0) ? | com_plugins (4.0.0) ? | com_joomlaupdate (4.0.3) ? | com_menus (4.0.0) ? | com_modules (4.0.0) ? | com_redirect (4.0.0) ? | com_privacy (3.9.0) ? | com_categories (4.0.0) ? | com_ajax (4.0.0) ? | com_actionlogs (3.9.0) ? | com_scheduler (4.1.0) ? | com_workflow (4.0.0) ? | com_tags (4.0.0) ? | com_wrapper (4.0.0) ? | com_installer (4.0.0) ? | com_guidedtours (4.3.0) ? | com_associations (4.0.0) ? | com_languages (4.0.0) ? |
3rd Party::

Modules :: Site ::
Core :: mod_feed (3.0.0) ? | mod_articles_popular (3.0.0) ? | mod_articles_categories (3.0.0) ? | mod_articles_category (3.0.0) ? | mod_custom (3.0.0) ? | mod_whosonline (3.0.0) ? | mod_articles_latest (3.0.0) ? | mod_tags_similar (3.1.0) ? | mod_banners (3.0.0) ? | mod_related_items (3.0.0) ? | mod_finder (3.0.0) ? | mod_menu (3.0.0) ? | mod_wrapper (3.0.0) ? | mod_articles_news (3.0.0) ? | mod_stats (3.0.0) ? | mod_footer (3.0.0) ? | mod_tags_popular (3.1.0) ? | mod_articles_archive (3.0.0) ? | mod_random_image (3.0.0) ? | mod_breadcrumbs (3.0.0) ? | mod_users_latest (3.0.0) ? | mod_syndicate (3.0.0) ? | mod_languages (3.5.0) ? | mod_login (3.0.0) ? |
3rd Party::

Modules :: Admin ::
Core :: mod_feed (3.0.0) ? | mod_quickicon (3.0.0) ? | mod_custom (3.0.0) ? | mod_user (4.0.0) ? | mod_guidedtours (4.3.0) ? | mod_logged (3.0.0) ? | mod_privacy_status (4.0.0) ? | mod_submenu (3.0.0) ? | mod_latestactions (3.9.0) ? | mod_version (3.0.0) ? | mod_menu (3.0.0) ? | mod_privacy_dashboard (3.9.0) ? | mod_toolbar (3.0.0) ? | mod_multilangstatus (3.0.0) ? | mod_messages (4.0.0) ? | mod_loginsupport (4.0.0) ? | mod_post_installation_messages (4.0.0) ? | mod_latest (3.0.0) ? | mod_sampledata (3.8.0) ? | mod_title (3.0.0) ? | mod_popular (3.0.0) ? | mod_stats_admin (3.0.0) ? | mod_frontend (4.0.0) ? | mod_login (3.0.0) ? |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_webservices_redirect (4.0.0) ? | plg_webservices_users (4.0.0) ? | plg_webservices_messages (4.0.0) ? | plg_webservices_modules (4.0.0) ? | plg_webservices_languages (4.0.0) ? | plg_webservices_config (4.0.0) ? | plg_webservices_media (4.1.0) ? | plg_webservices_installer (4.0.0) ? | plg_webservices_content (4.0.0) ? | plg_webservices_plugins (4.0.0) ? | plg_webservices_newsfeeds (4.0.0) ? | plg_webservices_templates (4.0.0) ? | plg_webservices_tags (4.0.0) ? | plg_webservices_menus (4.0.0) ? | plg_webservices_banners (4.0.0) ? | plg_webservices_privacy (4.0.0) ? | plg_task_site_status (4.1) ? | plg_task_requests (4.1) ? | plg_task_check_files (4.1) ? | plg_task_demo_tasks (4.1) ? | plg_captcha_recaptcha (3.4.0) ? | plg_captcha_recaptcha_invisible (3.8) ? | plg_user_contactcreator (3.0.0) ? | plg_user_terms (3.9.0) ? | plg_user_joomla (3.0.0) ? | plg_user_token (3.9.0) ? | plg_user_profile (3.0.0) ? | plg_behaviour_taggable (4.0.0) ? | plg_behaviour_versionable (4.0.0) ? | plg_actionlog_joomla (3.9.0) ? | plg_editors-xtd_readmore (3.0.0) ? | plg_editors-xtd_image (3.0.0) ? | plg_editors-xtd_pagebreak (3.0.0) ? | plg_editors-xtd_menu (3.7.0) ? | plg_editors-xtd_article (3.0.0) ? | plg_editors-xtd_fields (3.7.0) ? | plg_editors-xtd_module (3.5.0) ? | plg_system_highlight (3.0.0) ? | plg_system_redirect (3.0.0) ? | plg_system_schedulerunner (4.1) ? | plg_system_remember (3.0.0) ? | plg_system_logout (3.0.0) ? | plg_system_skipto (4.0.0) ? | plg_system_debug (3.0.0) ? | plg_system_updatenotification (3.5.0) ? | plg_system_actionlogs (3.9.0) ? | plg_system_privacyconsent (3.9.0) ? | plg_system_task_notification (4.1) ? | plg_system_languagefilter (3.0.0) ? | plg_system_guidedtours (4.3.0) ? | plg_system_webauthn (4.0.0) ? | plg_system_httpheaders (4.0.0) ? | plg_system_languagecode (3.0.0) ? | plg_system_logrotation (3.9.0) ? | plg_system_sessiongc (3.8.6) ? | plg_system_jooa11y (4.2.0) ? | plg_system_sef (3.0.0) ? | plg_system_cache (3.0.0) ? | plg_system_stats (3.5.0) ? | plg_system_fields (3.7.0) ? | plg_system_shortcut (4.2.0) ? | plg_system_log (3.0.0) ? | plg_system_accessibility (4.0.0) ? | plg_sampledata_multilang (4.0.0) ? | plg_installer_override (4.0.0) ? | plg_installer_packageinstaller (3.6.0) ? | plg_installer_folderinstaller (3.6.0) ? | plg_installer_webinstaller (4.0.0) ? | plg_installer_urlinstaller (3.6.0) ? | plg_content_joomla (3.0.0) ? | plg_content_pagebreak (3.0.0) ? | plg_content_finder (3.0.0) ? | plg_content_vote (3.0.0) ? | plg_content_confirmconsent (3.9.0) ? | plg_content_pagenavigation (3.0.0) ? | plg_content_emailcloak (3.0.0) ? | plg_content_loadmodule (3.0.0) ? | plg_content_fields (3.7.0) ? | plg_api-authentication_basic (4.0.0) ? | plg_api-authentication_token (4.0.0) ? | plg_extension_namespacemap (4.0.0) ? | plg_extension_joomla (3.0.0) ? | plg_extension_finder (4.0.0) ? | plg_finder_contacts (3.0.0) ? | plg_finder_content (3.0.0) ? | plg_finder_newsfeeds (3.0.0) ? | plg_finder_categories (3.0.0) ? | plg_finder_tags (3.0.0) ? | plg_media-action_rotate (4.0.0) ? | plg_media-action_crop (4.0.0) ? | plg_media-action_resize (4.0.0) ? | plg_authentication_ldap (3.0.0) ? | plg_authentication_cookie (3.0.0) ? | plg_authentication_joomla (3.0.0) ? | plg_quickicon_phpversioncheck (3.7.0) ? | plg_quickicon_downloadkey (4.0.0) ? | plg_quickicon_joomlaupdate (3.0.0) ? | plg_quickicon_overridecheck (4.0.0) ? | plg_quickicon_extensionupdate (3.0.0) ? | plg_quickicon_privacycheck (3.9.0) ? | plg_fields_imagelist (3.7.0) ? | plg_fields_user (3.7.0) ? | plg_fields_list (3.7.0) ? | plg_fields_sql (3.7.0) ? | plg_fields_usergrouplist (3.7.0) ? | plg_fields_media (3.7.0) ? | plg_fields_integer (3.7.0) ? | plg_fields_editor (3.7.0) ? | plg_fields_textarea (3.7.0) ? | plg_fields_calendar (3.7.0) ? | plg_fields_color (3.7.0) ? | plg_fields_text (3.7.0) ? | plg_fields_subform (4.0.0) ? | plg_fields_radio (3.7.0) ? | plg_fields_checkboxes (3.7.0) ? | plg_fields_url (3.7.0) ? | plg_privacy_message (3.9.0) ? | plg_privacy_actionlogs (3.9.0) ? | plg_privacy_user (3.9.0) ? | plg_privacy_content (3.9.0) ? | plg_privacy_consents (3.9.0) ? | plg_filesystem_local (4.0.0) ? | plg_multifactorauth_yubikey (3.2.0) ? | plg_multifactorauth_totp (3.2.0) ? | plg_multifactorauth_fixed (4.2.0) ? | plg_multifactorauth_webauthn (4.2.0) ? | plg_multifactorauth_email (4.2.0) ? | plg_workflow_publishing (4.0.0) ? | plg_workflow_featuring (4.0.0) ? | plg_workflow_notification (4.0.0) ? |
3rd Party:: plg_editors_codemirror (5.65.12) ? | plg_editors_tinymce (5.10.7) ? |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) ? |
Templates :: Admin :: atum (1.0) ? |
Last edited by toivo on Tue Aug 01, 2023 1:02 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

Advertisement
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17574
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: stuck installing joomla on ubuntu 22.04

Post by toivo » Tue Aug 01, 2023 1:14 pm

Welcome to the Joomla forum!

The database name and the credentials need to be entered as part of the installation process.

franko384 wrote: Tue Aug 01, 2023 12:51 pmI don't see any error in the apache or joomla logs
The location of the PHP error log has not been configured. Ask your host to configure that or give you access to the PHP error log.

franko384 wrote: Tue Aug 01, 2023 12:51 pmMax. Upload Size: 2M | Max. POST Size: 8M | Memory Limit: 128M
Change the upload and POST values in the php.ini file to 64M and the memory limit preferably to 256M.

franko384 wrote: Tue Aug 01, 2023 12:51 pmPotential Missing Extensions :: xml | zip | curl | gd
Enable the missing PHP extensions in the cPanel or similar, provided by your host, or ask your host to enable these PHP extensions.
Toivo Talikka, Global Moderator

franko384
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Aug 01, 2023 12:06 pm

Re: stuck installing joomla on ubuntu 22.04

Post by franko384 » Tue Aug 01, 2023 2:11 pm

Thank you very much for the help. I have adjusted the PHP limits as you suggested but that was not the problem. It begun to work the moment I installed the missing PHP extensions.

Please consider a possible Joomla improvement to provide some feedback about the reason of the problem. Even FPA didn't say the missing modules was an error but just said "possibly missing modules" or something like that. I thought they were required only for special purpose applications.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9975
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: stuck installing joomla on ubuntu 22.04

Post by AMurray » Tue Aug 01, 2023 9:38 pm

Joomla does give some feedback in its installation process about server settings and whether your web host meets those specific settings but it's not an extensive list.

If you left those PHP settings the FPA reported as they were, you would have indeed run into other problems.

One reference point to find technical explanations for PHP settings such as file upload or post limits or memory limit etc., is https://www.php.net.
Regards - A Murray
General Support Moderator

brabant32
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 23, 2024 12:55 pm

Re: stuck installing joomla on ubuntu 22.04

Post by brabant32 » Sun Jun 23, 2024 3:25 pm

Hello,
I am a completely new Joomla user and it was difficult to install. I have Ubuntu 22.04 as well which came with PHP8.3. As a database I have Postgresql.
After I found out about and ran the FPA tool it indicated that possible 9 php modules for Apache2 where missing. Most of them I could install by adding 'php-' to the module name. F.i. the 'zip' module was missing.
sudo apt install libapache2-mod-php php-zip
sudo systemctl restart apache2
sudo phpenmod zip
sudo systemctl restart apache2
Some modules where not found by adding 'php-' but they were not needed after all.

Not the subject for this issue, but it may help someone too. For Postgresql I used these:
GRANT ALL ON DATABASE "joomladb" TO joomladbuser;
GRANT ALL ON Schema Public "joomladb" TO joomladbuser;

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44233
Joined: Sat Apr 05, 2008 9:58 pm

Re: stuck installing joomla on ubuntu 22.04

Post by Webdongle » Mon Jun 24, 2024 4:10 am

It's a file Ownership issue. There are no database credentials showing because Joomla doesn't have Ownership. Thus it can't write the configuration.php file.

https://docs.joomla.org/Installing_Joom ... bian_Linux will help
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

brabant32
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 23, 2024 12:55 pm

Re: stuck installing joomla on ubuntu 22.04

Post by brabant32 » Tue Jun 25, 2024 5:45 am

brabant32 wrote: Sun Jun 23, 2024 3:25 pm A correction: I'am on Ubuntu 24.04 LTS instead of Ubuntu 22

Advertisement

Post Reply

Return to “Installation Joomla! 4.x”