3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

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
steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Wed Aug 03, 2022 3:41 pm

I have encountered problems updating all my Joomla 3.10.10 sites to 4.1.5. The same problem even happens when I try to update a 'blank' 'pristine' 3.10.10 site newly created by my hosting services Softaculous App Installer. In all cases I carefully checked extensions etc first.

The installation goes 92% of the way through, then crashes and issues the following error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at xxxxxx to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I've compared the Joomla Update Log to that of a successful upgrade posted by ceford and all seems to be fine until the last 2 lines ... the following is the successful example ...


2022-03-11T09:00:24+00:00 INFO 127.0.0.1 update Ran query from file 4.1.0-2022-01-24. Query text: ALTER TABLE `#__redirect_links` DROP INDEX `idx_link_modifed`;.
2022-03-11T09:00:24+00:00 INFO 127.0.0.1 update Ran query from file 4.1.0-2022-01-24. Query text: ALTER TABLE `#__redirect_links` ADD INDEX `idx_link_modified` (`modified_date`);.
2022-03-11T09:00:24+00:00 INFO 127.0.0.1 update End of SQL updates.
2022-03-11T09:00:24+00:00 INFO 127.0.0.1 update Deleting removed files and folders.
2022-03-11T09:00:28+00:00 INFO 127.0.0.1 update Cleaning up after installation.
2022-03-11T09:00:29+00:00 INFO 127.0.0.1 update Update to version 4.1.0 is complete.

I get ...

2022-08-02T12:17:41+00:00 INFO 86.144.159.231 update Ran query from file 4.1.3-2022-04-07. Query text: UPDATE `#__mail_templates` SET `params` = '{"tags":["sitename","name","email".
2022-08-02T12:17:41+00:00 INFO 86.144.159.231 update Ran query from file 4.1.3-2022-04-08. Query text: UPDATE `#__update_sites` SET `name` = 'Joomla! Update Component' WHERE `name.
2022-08-02T12:17:41+00:00 INFO 86.144.159.231 update End of SQL updates.
2022-08-02T12:17:41+00:00 INFO 86.144.159.231 update Deleting removed files and folders.

In other words the crash seems to happen either when "Deleting removed files and folders" or "Cleaning up after installation".

As it happens ... as far as I can tell the new Joomla 4.1.5 site seems to work!! But obviously I'm nervous about not understanding what's happening.

Using PHP 7.4.

Any ideas?

Thanks.
Last edited by steve9000 on Wed Aug 03, 2022 4:43 pm, edited 1 time in total.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Wed Aug 03, 2022 3:51 pm

Thanks in advance for any help.

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4108
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by abernyte » Wed Aug 03, 2022 5:56 pm

Download a fresh 3.10.10 from Joomla https://downloads.joomla.org/cms and install it instead of the Softaculous version which may have some proprietary code that is causing your issue.
"Those who expect to reap the blessings of freedom must, like men, undergo the fatigue of supporting it." Thomas Paine

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Wed Aug 03, 2022 6:50 pm

Enable debug and see if you can get a stack trace for the update error. I suspect a problem with your php installation. Run the Forum Post Assistant and post results here. See this for more information:

https://docs.joomla.org/J4.x:FatalError

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Thu Aug 04, 2022 10:43 am

abernyte wrote:
Wed Aug 03, 2022 5:56 pm
Download a fresh 3.10.10 from Joomla https://downloads.joomla.org/cms and install it instead of the Softaculous version which may have some proprietary code that is causing your issue.
Thanks - good idea. I tried this but still the same problem.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Thu Aug 04, 2022 12:07 pm

ceford wrote:
Wed Aug 03, 2022 6:50 pm
Enable debug and see if you can get a stack trace for the update error. I suspect a problem with your php installation. Run the Forum Post Assistant and post results here. See this for more information:

https://docs.joomla.org/J4.x:FatalError
Thanks for you help. I recreated a 'blank' joomla 3.10.10 site and enabled debug and max error reporting in global config. I also selected the "Joomla next" option in the Joomla update page. This flagged up no issues. I then ran the Forum Post Assistant (I could see no errors) and have pasted its outcome below. I HAVE NOT AS YET TRIED TO UPDATE THE SITE TO JOOMLA 4 - but I'm pretty certain it will fail as per my post when I do. So the report below gives the health check of the site BEFORE trying to update. I'd also need help in how to get the 'stack trace'. Thanks again.
Forum Post Assistant (v1.6.5) : 4-Aug-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.10-Stable (Daraja) 18-June-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.10: Yes | Database Supports J! 3.10.10: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.42.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 466.61 GiB |

PHP Configuration :: Version: 7.4.30 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: No | Open Base: | Uploads: 1 | Max. Upload Size: 100M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 90 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.3.35-MariaDB (Client:mysqlnd 7.4.30) | Database Size: 4.22 MiB | #of Tables with config prefix:  78 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.30) | date (7.4.30) | libxml (7.4.30) | openssl (7.4.30) | pcre (7.4.30) | zlib (7.4.30) | filter (7.4.30) | hash (7.4.30) | pcntl (7.4.30) | readline (7.4.30) | Reflection (7.4.30) | SPL (7.4.30) | session (7.4.30) | standard (7.4.30) | cgi-fcgi (7.4.30) | bcmath (7.4.30) | bz2 (7.4.30) | calendar (7.4.30) | ctype (7.4.30) | curl (7.4.30) | dom (20031129) | mbstring (7.4.30) | fileinfo (7.4.30) | ftp (7.4.30) | gd (7.4.30) | gettext (7.4.30) | iconv (7.4.30) | imap (7.4.30) | intl (7.4.30) | json (7.4.30) | exif (7.4.30) | mysqlnd (mysqlnd 7.4.30) | PDO (7.4.30) | Phar (7.4.30) | posix (7.4.30) | pspell (7.4.30) | SimpleXML (7.4.30) | soap (7.4.30) | sockets (7.4.30) | sqlite3 (7.4.30) | tidy (7.4.30) | tokenizer (7.4.30) | xml (7.4.30) | xmlwriter (7.4.30) | xsl (7.4.30) | zip (1.15.6) | mysqli (7.4.30) | pdo_mysql (7.4.30) | pdo_sqlite (7.4.30) | xmlreader (7.4.30) | xmlrpc (7.4.30) | redis (5.3.7) | imagick (3.4.4) | mcrypt (1.0.4) | timezonedb (2021.1) | ionCube Loader (10.4.5) | Zend OPcache (7.4.30) | Zend Engine (3.4.0) |
Potential Missing Extensions ::
Disabled Functions :: passthru | system | dl | proc_open | proc_nice | proc_terminate | proc_get_status | proc_close | leak | apache_child_terminate | escape | shellcmd | escapeshellarg | shell_exec | crack_check | crack_closedict | crack_getlastmessage | crack_opendict | psockopen | php_u | symlink | ini_restore | posix_getpwuid | pfsockopen |

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/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 549562 | Threads: 94 | Questions: 73456993 | Slow queries: 967 | Opens: 463796 | Flush tables: 1 | Open tables: 2000 | Queries per second avg: 133.664 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_redirect (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_categories (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_ajax (3.2.0) 1 | com_media (3.0.0) 1 | com_associations (3.7.0) 1 | com_config (3.0.0) 1 | com_privacy (3.9.0) 1 | com_installer (3.0.0) 1 | com_search (3.0.0) 1 | com_users (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_menus (3.0.0) 1 | com_fields (3.7.0) 1 | com_banners (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_finder (3.0.0) 1 | com_admin (3.0.0) 1 | com_modules (3.0.0) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_templates (3.0.0) 1 | com_cache (3.0.0) 1 | com_tags (3.1.0) 1 | com_messages (3.0.0) 1 | com_plugins (3.0.0) 1 | com_content (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_checkin (3.0.0) 1 |
3rd Party::

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

Modules :: Admin ::
Core :: mod_menu (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_latest (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_title (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_status (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_finder_categories (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_joomla (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_cache (3.0.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | protostar (1.0) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Thu Aug 04, 2022 12:18 pm

I can see two problems with your server that are likely to cause problems:

Allow url fopen: No - should be Yes
Memory Limit: 128M - should be 256M or more

Also

Max. POST Size: 8M should be 32Mb or more or you will not be able to install large extensions.

Ask your hosting service to fix these things before trying to upgrade to 4.1.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Thu Aug 04, 2022 12:28 pm

Thanks ceford, I'll look into these.

There was one other thing I noticed - it was red flagged by the FPA that the CONFIG was set to READ ONLY and as, from the original log, the problem seemed to come when the system was trying to clean up by deleting files I wondered if that may be relevant?

Your view? Thanks.

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Thu Aug 04, 2022 12:38 pm

The configuration.php is supposed to have 444 file permissions - that is normal. When you make Global Configuration changes Joomla changes the file permission to allow writing, writes out the new configuration settings and then changes the file permissions back to 444.

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12266
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by sozzled » Thu Aug 04, 2022 6:45 pm

ceford wrote:
Thu Aug 04, 2022 12:18 pm
I can see two problems with your server that are likely to cause problems:

Allow url fopen: No - should be Yes
...
Max. POST Size: 8M should be 32Mb or more or you will not be able to install large extensions.
These are important: it's not just a case of being prevented from installing "large extensions", these settings impact on the ability to update from one version of J! to another. Based on various expert opinions I've researched, I've compiled my own suggested minimum PHP settings in the table below:

Image
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Wed Aug 10, 2022 9:29 am

Thanks to both ceford and sozzled for your input.

I tried making the changes to the PHP settings as you suggested - both to ceford's advice and later to sozzled's. Sorry to report but I got the same error message as before in both cases.

I ran the Forum Post Assistant again before trying to upgrade using the settings suggested by sozzled and got the following report. (Hope I made the changes correctly to the PHP settings!!)
Forum Post Assistant (v1.6.5) : 10-Aug-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.10-Stable (Daraja) 18-June-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: N/A | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.10: Yes | Database Supports J! 3.10.10: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.42.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 465.96 GiB |

PHP Configuration :: Version: 7.4.30 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 100M | Max. POST Size: 512M | Max. Input Time: 60 | Max. Execution Time: 90 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.3.35-MariaDB (Client:mysqlnd 7.4.30) | Database Size: 4.25 MiB | #of Tables with config prefix:  78 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.30) | date (7.4.30) | libxml (7.4.30) | openssl (7.4.30) | pcre (7.4.30) | zlib (7.4.30) | filter (7.4.30) | hash (7.4.30) | pcntl (7.4.30) | readline (7.4.30) | Reflection (7.4.30) | SPL (7.4.30) | session (7.4.30) | standard (7.4.30) | cgi-fcgi (7.4.30) | bcmath (7.4.30) | bz2 (7.4.30) | calendar (7.4.30) | ctype (7.4.30) | curl (7.4.30) | dom (20031129) | mbstring (7.4.30) | fileinfo (7.4.30) | ftp (7.4.30) | gd (7.4.30) | gettext (7.4.30) | iconv (7.4.30) | imap (7.4.30) | intl (7.4.30) | json (7.4.30) | exif (7.4.30) | mysqlnd (mysqlnd 7.4.30) | PDO (7.4.30) | Phar (7.4.30) | posix (7.4.30) | pspell (7.4.30) | SimpleXML (7.4.30) | soap (7.4.30) | sockets (7.4.30) | sqlite3 (7.4.30) | tidy (7.4.30) | tokenizer (7.4.30) | xml (7.4.30) | xmlwriter (7.4.30) | xsl (7.4.30) | zip (1.15.6) | mysqli (7.4.30) | pdo_mysql (7.4.30) | pdo_sqlite (7.4.30) | xmlreader (7.4.30) | xmlrpc (7.4.30) | redis (5.3.7) | imagick (3.4.4) | mcrypt (1.0.4) | timezonedb (2021.1) | ionCube Loader (10.4.5) | Zend OPcache (7.4.30) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

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/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 1057880 | Threads: 94 | Questions: 141609390 | Slow queries: 1978 | Opens: 905772 | Flush tables: 1 | Open tables: 1998 | Queries per second avg: 133.861 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_redirect (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_categories (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_ajax (3.2.0) 1 | com_media (3.0.0) 1 | com_associations (3.7.0) 1 | com_config (3.0.0) 1 | com_privacy (3.9.0) 1 | com_installer (3.0.0) 1 | com_search (3.0.0) 1 | com_users (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_menus (3.0.0) 1 | com_fields (3.7.0) 1 | com_banners (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_finder (3.0.0) 1 | com_admin (3.0.0) 1 | com_modules (3.0.0) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_templates (3.0.0) 1 | com_cache (3.0.0) 1 | com_tags (3.1.0) 1 | com_messages (3.0.0) 1 | com_plugins (3.0.0) 1 | com_content (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_checkin (3.0.0) 1 |
3rd Party::

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

Modules :: Admin ::
Core :: mod_menu (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_latest (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_title (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_status (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_finder_categories (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_joomla (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_cache (3.0.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | protostar (1.0) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Wed Aug 10, 2022 1:33 pm

The memory limit is too small - it needs to be 256M or more. I seem to remember I had a crash on upgrade on a server with the limit at 128M. It may have been my own localhost.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Thu Aug 11, 2022 10:00 am

ceford wrote:
Wed Aug 10, 2022 1:33 pm
The memory limit is too small - it needs to be 256M or more. I seem to remember I had a crash on upgrade on a server with the limit at 128M. It may have been my own localhost.
Sorry ceford - a mistake on my part, I had meant to set this to 512M.

I've now tried again - set the various PHP options as suggested by you and/or sozzled, recreated a new 'blank' joomla 3.10.10 site, ran the fpa assistant (Posted below) and then tried the upgrade to 4.1.5.

Afraid it's failed again and in exactly the same way. The log file shows, as before, it got through to the end of the SQL updates but the last message was 'deleting removed files and folders'.

The resulting Joomla 4 site seems to work fine, both front and back end.

FPA output follows ...

Thanks

Steve
Forum Post Assistant (v1.6.5) : 11-Aug-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.10-Stable (Daraja) 18-June-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: N/A | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.10: Yes | Database Supports J! 3.10.10: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.42.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 466.15 GiB |

PHP Configuration :: Version: 7.4.30 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 100M | Max. POST Size: 128M | Max. Input Time: 60 | Max. Execution Time: 90 | Memory Limit: 512M

Database Configuration :: Version: 5.5.5-10.3.35-MariaDB (Client:mysqlnd 7.4.30) | Database Size: 4.22 MiB | #of Tables with config prefix:  78 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.30) | date (7.4.30) | libxml (7.4.30) | openssl (7.4.30) | pcre (7.4.30) | zlib (7.4.30) | filter (7.4.30) | hash (7.4.30) | pcntl (7.4.30) | readline (7.4.30) | Reflection (7.4.30) | SPL (7.4.30) | session (7.4.30) | standard (7.4.30) | cgi-fcgi (7.4.30) | bcmath (7.4.30) | bz2 (7.4.30) | calendar (7.4.30) | ctype (7.4.30) | curl (7.4.30) | dom (20031129) | mbstring (7.4.30) | fileinfo (7.4.30) | ftp (7.4.30) | gd (7.4.30) | gettext (7.4.30) | iconv (7.4.30) | imap (7.4.30) | intl (7.4.30) | json (7.4.30) | exif (7.4.30) | mysqlnd (mysqlnd 7.4.30) | PDO (7.4.30) | Phar (7.4.30) | posix (7.4.30) | pspell (7.4.30) | SimpleXML (7.4.30) | soap (7.4.30) | sockets (7.4.30) | sqlite3 (7.4.30) | tidy (7.4.30) | tokenizer (7.4.30) | xml (7.4.30) | xmlwriter (7.4.30) | xsl (7.4.30) | zip (1.15.6) | mysqli (7.4.30) | pdo_mysql (7.4.30) | pdo_sqlite (7.4.30) | xmlreader (7.4.30) | xmlrpc (7.4.30) | redis (5.3.7) | imagick (3.4.4) | mcrypt (1.0.4) | timezonedb (2021.1) | ionCube Loader (10.4.5) | Zend OPcache (7.4.30) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

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/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 1145966 | Threads: 94 | Questions: 153198241 | Slow queries: 2143 | Opens: 978478 | Flush tables: 1 | Open tables: 2000 | Queries per second avg: 133.684 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_redirect (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_categories (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_ajax (3.2.0) 1 | com_media (3.0.0) 1 | com_associations (3.7.0) 1 | com_config (3.0.0) 1 | com_privacy (3.9.0) 1 | com_installer (3.0.0) 1 | com_search (3.0.0) 1 | com_users (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_menus (3.0.0) 1 | com_fields (3.7.0) 1 | com_banners (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_finder (3.0.0) 1 | com_admin (3.0.0) 1 | com_modules (3.0.0) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_joomlaupdate (3.10.1) 1 | com_templates (3.0.0) 1 | com_cache (3.0.0) 1 | com_tags (3.1.0) 1 | com_messages (3.0.0) 1 | com_plugins (3.0.0) 1 | com_content (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_checkin (3.0.0) 1 |
3rd Party::

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

Modules :: Admin ::
Core :: mod_menu (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_latest (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_title (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_status (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_finder_categories (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_joomla (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_cache (3.0.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 1 | protostar (1.0) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |

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

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by AMurray » Sun Aug 14, 2022 12:46 am

To me, the final FPA above looks like a text-book install of Joomla. Don't see any issues.

However, maybe it's an issue with MariaDB? It seems MariaDB v10.x is the minimum requirement for Joomla 4. The FPA above reports Version: 5.5.5-10.3.35-MariaDB

This GITHUB issue https://issues.joomla.org/tracker/joomla-cms/25303 would seem to support my assumption (although that issue is from early J4 development (2019)).

Perhaps test install on MySQL, I am guessing that won't fail in the same manner as you have experienced.

If your web host doesn't offer MySQL, then try it on a local host virtual server like WAMPServer (installed on your PC). Since that can also be installed with MariaDB (via various modules/add-ons), try installing Maria DB 10.x and check if it fails or not. Then check with your web host if they can actually update MariaDB to 10.x
Regards - A Murray

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 29127
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by Per Yngve Berg » Sun Aug 14, 2022 1:02 am

I will recommend changing the Session Handler from 'database' to 'php' in Global Configuration.

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Sun Aug 14, 2022 8:07 am

So far we have not seen a stack trace for when this error occurs. So, before upgrade, in Global Configuration set Debug System to Yes and Error Reporting to Maximum(?). Then run the upgrade. If you get a stack trace post it here.

This is what the Help screen says about the Session Handler:
Database: The database session handler is the default handler because it is the only one that Joomla can fully configure and control on its own.
So probably best to leave it set to Database.

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4108
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by abernyte » Sun Aug 14, 2022 9:34 am

I know it is nit picking but why is the php module mcrypt loaded in php 7.4 when it was removed from php in 7.2?
Are you sure your host has got the all server configuration correct?
"Those who expect to reap the blessings of freedom must, like men, undergo the fatigue of supporting it." Thomas Paine

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

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by Webdongle » Sun Aug 14, 2022 10:02 am

Speak to your host about the PHP settings

Delete the files, delete the database. Create a new database and install Joomla correctly.

As for the configuration.php 444. Joomla as 'Owner' can delete a 444 file and write a new one.
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".

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Mon Aug 15, 2022 8:01 am

ceford wrote:
Sun Aug 14, 2022 8:07 am
So far we have not seen a stack trace for when this error occurs. So, before upgrade, in Global Configuration set Debug System to Yes and Error Reporting to Maximum(?). Then run the upgrade. If you get a stack trace post it here.
Thanks ceford ... quite correct, I haven't posted a stack trace. As per your earlier suggestion, I previously set Debug System to Yes and Error Reporting to Maximum and then ran the upgrade but it wasn't obvious to me how to examine the stack trace. Sorry to ask, but could you point me in the right direction on how to see the stack trace?

User avatar
ceford
Joomla! Guru
Joomla! Guru
Posts: 988
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by ceford » Mon Aug 15, 2022 8:32 am

steve9000 wrote:
Mon Aug 15, 2022 8:01 am
Thanks ceford ... quite correct, I haven't posted a stack trace. As per your earlier suggestion, I previously set Debug System to Yes and Error Reporting to Maximum and then ran the upgrade but it wasn't obvious to me how to examine the stack trace. Sorry to ask, but could you point me in the right direction on how to see the stack trace?
The stack trace looks like the table shown in the tutorial:

https://docs.joomla.org/J4.x:FatalError#Enable_Debug

It is usually best to take a screenshot of just the stacktrace table to post here. If you get the Red Screen and no stack trace you can look for it in your Apache error log. This needs command line access and a bit of knowledge of linux commands, such as tail -50 /usr/local/var/log/httpd/error_log . Or you may be able to find it in the cPanel logs.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Tue Aug 16, 2022 7:06 pm

ceford wrote:
Mon Aug 15, 2022 8:32 am
steve9000 wrote:
Mon Aug 15, 2022 8:01 am
Thanks ceford ... quite correct, I haven't posted a stack trace. As per your earlier suggestion, I previously set Debug System to Yes and Error Reporting to Maximum and then ran the upgrade but it wasn't obvious to me how to examine the stack trace. Sorry to ask, but could you point me in the right direction on how to see the stack trace?
The stack trace looks like the table shown in the tutorial:

https://docs.joomla.org/J4.x:FatalError#Enable_Debug

It is usually best to take a screenshot of just the stacktrace table to post here. If you get the Red Screen and no stack trace you can look for it in your Apache error log. This needs command line access and a bit of knowledge of linux commands, such as tail -50 /usr/local/var/log/httpd/error_log . Or you may be able to find it in the cPanel logs.
Thanks once again ceford - much appreciated. When the server crashes with the error message in my first post it's a white screen, appears to have dropped out of Joomla altogether with no stack trace. I've looked in cpanel logs without joy and would struggle to interrogate the Apache error log.

I'm now feeling guilty for taking up all your time. I'll ponder this further myself. As mentioned the actual Joomla 4 site produced seems to work fine but who knows what interim files that should have been deleted during the tidy up are still left.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Tue Aug 16, 2022 7:08 pm

Webdongle wrote:
Sun Aug 14, 2022 10:02 am
Speak to your host about the PHP settings

Delete the files, delete the database. Create a new database and install Joomla correctly.

As for the configuration.php 444. Joomla as 'Owner' can delete a 444 file and write a new one.
Thanks Webdongle ... I had tried your good suggestions originally but without success.

steve9000
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Wed Aug 03, 2022 2:43 pm

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by steve9000 » Tue Aug 16, 2022 7:10 pm

Per Yngve Berg wrote:
Sun Aug 14, 2022 1:02 am
I will recommend changing the Session Handler from 'database' to 'php' in Global Configuration.
Thanks Yngve Borg

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

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by Webdongle » Tue Aug 16, 2022 9:35 pm

Every time you attempt a migration from J3 to J4 you need to:
1. Delete the folders/files
2. Delete the database
3. Create a new database
4. Reinstate your backup
5. Trouble shoot
6. Attempt the migration again.
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".

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12266
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by sozzled » Tue Aug 16, 2022 9:43 pm

Webdongle wrote:
Tue Aug 16, 2022 9:35 pm
Every time you attempt a migration from J3 to J4 you need to ...
??? I do not understand this. I think you got this slightly wrong. I would write, instead:

When your attempted migration from J! 3.x to J! 4.x goes horribly wrong, you need to start over:
  1. Delete the folders/files in your botched J! website
  2. DROP all the tables in the database
  3. Restore the previously working J! 3.x website from the backup you made before the problems began
  4. "Trouble shoot"
  5. Attempt the migration again.
I basically agree with what you're trying to say but what you wrote may be a little confusing for some people.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)

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

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by Webdongle » Tue Aug 16, 2022 11:47 pm

Your #2 instead of my suggestion of #2 and #3 is an alternative. Possibly easier your method. But in either case trying to migrate after a failed migration without clearing the failed site is not a good idea.
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".

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 12266
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: 3.10.10 to 4.1.5 upgrade - "Internal Server Error" Crash

Post by sozzled » Wed Aug 17, 2022 12:10 am

Webdongle wrote:
Tue Aug 16, 2022 11:47 pm
... re-trying [anything] after a failed migration without clearing the failed site is not a good idea
I agree.

Let's also add, to make sure the message is clear and uncomplicated:

Before attempting to update from one version of J! to another version of J!—it doesn't matter if we're discussing "migrating" or performing a routine update—make a backup of your J! working website (the files and the database tables) before you run the Joomla! Update procedure.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
Walking the talk: https://j4xdemo.enduring.com.au
:)


Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”