Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Need help upgrading your Joomla! website or converting to Joomla! 3.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.
Locked
Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Wed Dec 20, 2017 7:40 pm

Hi everybody,
In the past I used to update my joomla sites by manual update, since Joomla team remove the possibility to install the updates as if they was extensions using update zip package.
I had to to this because my provider, if I use the integrated update in joomla admin panel, after/in the middle of the update returned me "error 500 internal server error" because of file permissions and I wasn't sure that the update finished well, so, as described in official documentation (I can't find the link now), I unpacked the update file (usually .zip) into the root of the website, then login into admin panel, correct database, and other things to make a successfull update (discover joomla extensions and install), everything worked fine until 3.7.5 version, I did this a hundred times on many sites without any issue (I always test update first on localhost using wamp).

Now, for the first time, I'm trying to manually update a 3.7.5 website to a 3.8.3 using the update packaged found here - Joomla! 3.8.3 Upgrade Package (.zip) - "This package is for performing updates from Joomla! 2.5 and previous 3.x releases to 3.8.3.".
As usual, I unpack the .zip into the root and then nothing more, I can't login into admin panel and I get Error 500 Failed to start application, and of course the website is not working showing the same error, but part of the template is visible (backgroud, main body, logo); all I can do is to restore the previous version. I have to say that if I update to 3.8.3 by using the update features in admin panel and I specify the update package zip it works good on localhost, I haven't tried on the online site because I don't want to break it, my question is: With 3.8.x versions is no more possible to do manual update? If the answer is no I understand it's my fault.

By setting into the configuration.php "$error_reporting = 'maximum';" I have this notices on the administrator login page:

Code: Select all

( ! ) Notice: Constant JROUTER_MODE_RAW already defined in F:\wamp64\www\website.com\libraries\cms\router\router.php on line 17
Call Stack
#	Time	Memory	Function	Location
1	0.0000	257632	{main}( )	...\index.php:0
2	0.0780	5886288	JApplicationCms->execute( )	...\index.php:51
3	0.0780	5886656	JApplicationAdministrator->doExecute( )	...\cms.php:265
4	0.0780	5887472	JApplicationAdministrator->initialiseApp( )	...\administrator.php:120
5	0.0780	6461920	JApplicationCms->initialiseApp( )	...\administrator.php:298
6	0.0936	7524360	JPluginHelper::importPlugin( )	...\cms.php:683
7	0.1404	9874152	JPluginHelper::import( )	...\helper.php:181
8	0.1404	9901088	require_once( 'F:\wamp64\www\website.com\plugins\system\joomsefgoogle\joomsefgoogle.php' )	...\helper.php:252
9	0.1404	10817640	require_once( 'F:\wamp64\www\website.com\components\com_sef\joomsef.php' )	...\joomsefgoogle.php:15
10	0.1560	11691704	require_once( 'F:\wamp64\www\website.com\components\com_sef\sef.router.php' )	...\joomsef.php:22
11	0.1560	11855768	spl_autoload_call ( )	...\joomsef.php:82
12	0.1560	11855936	JLoader::_autoload( )	...\joomsef.php:82
13	0.1560	11856176	JLoader::_load( )	...\loader.php:695
14	0.1560	11951696	include_once( 'F:\wamp64\www\website.com\libraries\cms\router\router.php' )	...\loader.php:747

( ! ) Notice: Constant JROUTER_MODE_SEF already defined in F:\wamp64\www\website.com\libraries\cms\router\router.php on line 24
Call Stack
#	Time	Memory	Function	Location
1	0.0000	257632	{main}( )	...\index.php:0
2	0.0780	5886288	JApplicationCms->execute( )	...\index.php:51
3	0.0780	5886656	JApplicationAdministrator->doExecute( )	...\cms.php:265
4	0.0780	5887472	JApplicationAdministrator->initialiseApp( )	...\administrator.php:120
5	0.0780	6461920	JApplicationCms->initialiseApp( )	...\administrator.php:298
6	0.0936	7524360	JPluginHelper::importPlugin( )	...\cms.php:683
7	0.1404	9874152	JPluginHelper::import( )	...\helper.php:181
8	0.1404	9901088	require_once( 'F:\wamp64\www\website.com\plugins\system\joomsefgoogle\joomsefgoogle.php' )	...\helper.php:252
9	0.1404	10817640	require_once( 'F:\wamp64\www\website.com\components\com_sef\joomsef.php' )	...\joomsefgoogle.php:15
10	0.1560	11691704	require_once( 'F:\wamp64\www\website.com\components\com_sef\sef.router.php' )	...\joomsef.php:22
11	0.1560	11855768	spl_autoload_call ( )	...\joomsef.php:82
12	0.1560	11855936	JLoader::_autoload( )	...\joomsef.php:82
13	0.1560	11856176	JLoader::_load( )	...\loader.php:695
14	0.1560	11951696	include_once( 'F:\wamp64\www\website.com\libraries\cms\router\router.php' )	...\loader.php:747

( ! ) Notice: Constant _QQ_ already defined in F:\wamp64\www\website.com\libraries\src\Language\Language.php on line 18
Call Stack
#	Time	Memory	Function	Location
1	0.0000	257632	{main}( )	...\index.php:0
2	0.0780	5886288	JApplicationCms->execute( )	...\index.php:51
3	0.0780	5886656	JApplicationAdministrator->doExecute( )	...\cms.php:265
4	0.2496	15179864	JApplicationAdministrator->dispatch( )	...\administrator.php:156
5	0.2496	15678688	Joomla\CMS\Language\Text::_( )	...\administrator.php:94
6	0.2496	15820112	Joomla\CMS\Factory::getLanguage( )	...\Text.php:71
7	0.2496	15820192	Joomla\CMS\Factory::createLanguage( )	...\Factory.php:214
8	0.2496	15839176	spl_autoload_call ( )	...\Factory.php:750
9	0.2496	15839864	JLoader::loadByPsr4( )	...\Factory.php:750
10	0.2496	16040208	include_once( 'F:\wamp64\www\website.com\libraries\src\Language\Language.php' )	...\loader.php:551
11	0.2496	16040416	define ( )	...\Language.php:18
Thanks for your support.

deleted user

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by deleted user » Wed Dec 20, 2017 9:26 pm

Manual updates have not been supported for years because updates are much more involved than simply replacing the filesystem. If you must update not using the update component, you must use the script in my signature line to ensure that all required update steps are completed correctly.

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Wed Dec 20, 2017 9:52 pm

Thanks a lot, I tested it by installing a fresh 3.7.5 then manually update to 3.8.3 and I got same errors as first post of this thread, then I applied your php script and it fixed everything! In my opinion it should be listed into official Joomla documentation.
The only small issue is that it didn't convert db tables to UTF-8 Multibyte but I did it manually in joomla admin section, for now it seems working 100% good :)

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Wed Dec 20, 2017 11:31 pm

You can also use the Update component even if your server doesn't allow access to the download. Download with your browser then:
Components >>> Joomla update >>> Upload&update(tab) ... you can upload and install the update package
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".

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Thu Dec 21, 2017 9:56 am

Webdongle wrote:You can also use the Update component even if your server doesn't allow access to the download. Download with your browser then:
Components >>> Joomla update >>> Upload&update(tab) ... you can upload and install the update package
Yes I know I can do this, and it would be easier and faster for me, but in both cases I get error 500 internal server error 'cause of file permissions, that's why I used to do manual updates since 2 or 3 years ago... (my provider set to 755 for files and folders, as I can see in filezilla)

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Thu Dec 21, 2017 11:25 am

Files should be 644
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".

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Thu Dec 21, 2017 11:36 am

Webdongle wrote:Files should be 644
Yes I know, I'll do more tests in the next days, thank you

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Sun Dec 24, 2017 1:37 am

Finally I tested, using joomla upgrade function in admin area and uploading the update package I get ajax error at about 10%, then it get stuck, so I did again manual update uploading by ftp the update package files, then I used the script by the Joomla Hero @mbabker and all went fine, for what I can see...

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Sun Dec 24, 2017 2:56 am

You shouldn't need to do it that way but it is good that it worked.

viewtopic.php?f=621&t=582860 please. We can then look at why the standard method doesn't work.
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
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30927
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Per Yngve Berg » Sun Dec 24, 2017 10:50 am

Have you checked the post and upload size restrictions on the server? 16M is a good size that let the upgrade package upload.

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Sun Dec 24, 2017 1:38 pm

Per Yngve Berg wrote:Have you checked the post and upload size restrictions on the server? 16M is a good size that let the upgrade package upload.
Yes, of course, the upload max file size is set to 50 MB, the upload went fine, but the installation did not, maybe it's a provider issue, don't know.

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Sun Dec 24, 2017 1:52 pm

Aneurysm wrote:... maybe it's a provider issue, don't know.
viewtopic.php?f=621&t=582860 please
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".

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Sun Dec 24, 2017 1:54 pm

Webdongle wrote:
Aneurysm wrote:... maybe it's a provider issue, don't know.
viewtopic.php?f=621&t=582860 please
Yes, I'm doing it, what do I have to post here? all the results or just some part of it?

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Sun Dec 24, 2017 1:58 pm

When you click show fpa a box will appear with the info reformatted for the forum. Click in the box ... Ctrl A ... Ctrl C. then paste into here.
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".

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Sun Dec 24, 2017 2:06 pm

Forum Post Assistant (v1.3.7) : 24th December 2017 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.3-Stable (Amani) 12-December-2017
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: /gid: ) | Group: --protected-- (gid: ) | Valid For: 3.8
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 0 | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: 0 | FTP Layer: 0 | Proxy: 0 | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: 0 | SSL: 2 | FrontEdit: 1 | Error Reporting: none | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | dbConnection Type: mysqli | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 2.6.32-696.10.3.el6.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 460.63 GiB |

PHP Configuration :: Version: 5.6.32 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 24567 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 50M | Max. POST Size: 55M | Max. Input Time: 60 | Max. Execution Time: 300 | Memory Limit: 256M

MySQL Configuration :: Version: 5.0.92-enterprise-gpl-log (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Host: --protected-- (--protected--) | Collation: latin1_swedish_ci (Character Set: latin1) | Database Size: 6.61 MiB | #of Tables: 108
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.32) | date (5.6.32) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (2.0) | bcmath () | bz2 () | calendar () | ctype () | curl () | dom (20031129) | hash (1.0) | fileinfo (1.0.5) | filter (0.11.0) | ftp () | gd () | gettext () | SPL (0.2) | iconv () | session () | json (1.2.1) | mbstring () | mcrypt () | standard (5.6.32) | mysql (1.0) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | mysqli (0.1) | PDO (1.0.4dev) | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | Phar (2.0.2) | posix () | Reflection ($Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | imap () | SimpleXML (0.1) | soap () | exif (1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $) | tokenizer (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | xsl (0.1) | cgi-fcgi () | tidy (2.0) | zip (1.12.5) | SourceGuardian (11.1.0) | imagick (3.4.1) | mhash () | ionCube Loader () | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |
Disabled Functions :: system | popen | dl | passthru | proc_open | shell_exec |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (755) | --protected-- (---) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 321291 | Threads: 29 | Questions: 578850422 | Slow queries: 314 | Opens: 40873104 | Flush tables: 1 | Open tables: 64 | Queries per second avg: 1801.639 |
Extensions Discovered :: wrote:Strict Information Privacy was selected. Nothing to display.
Templates Discovered :: wrote:Strict Information Privacy Nothing to display.
[/size]
[/quote]

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

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Webdongle » Thu Jun 07, 2018 8:19 am

Please run it again but without the restrictions. We need to see the extensions.
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".

Aneurysm
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Apr 28, 2010 3:30 pm
Location: Italy

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by Aneurysm » Thu Jun 07, 2018 9:26 am

Well, actually I solved the issue about one month ago, I contacted the hosting provider explaining the issue and they changed server to a newer one (I don't know the details, I only know it was a Linux hosting), problem solved, so it was just a hosting issue, Joomla was not involved, the moderators can mark this topic as "solved", thank you everybody.

kryps
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Mon Oct 16, 2006 8:19 pm

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by kryps » Thu Jun 07, 2018 2:57 pm

When someone searches for this error message, this thread is one of the top results. This is reason I posted my solution here. There appears to be a moderator abusing their power and removing my post without providing a good reason for doing so.

---

The file permissions of 644 is what fixed this issue for me. I connected to my server via SSH, and navigated to administrator/components/com_joomlaupdate and then typed:

Code: Select all

chmod 644 restore.php
chmod 644 restore_finalisation.php
chmod 644 joomlaupdate.php
NOTE: This may not completely fix the issue. All my folders and files may already have the correct permissions while yours may not. To fix this, navigate to the root folder of your joomla site, and run these commands:

Code: Select all

find -type d -exec chmod 755 {} \;
find -type f -exec chmod 644 {} \;
Last edited by kryps on Thu Jun 07, 2018 3:51 pm, edited 1 time in total.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by leolam » Thu Jun 07, 2018 3:42 pm

This is not about abusing power. I am not a moderator (!) and I cannot remove your posts.

You are simply not providing correct Unix statements as mentioned viewtopic.php?f=710&t=949664&p=3527549#p3527581 That is what I am correcting

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

kryps
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Mon Oct 16, 2006 8:19 pm

Re: Manual update from 3.7.5 to 3.8.3 error 500 failed to start application

Post by kryps » Thu Jun 07, 2018 3:53 pm

I've thought about the possibility that your solution might be going beyond the scope, but I realized that it isn't and that my setup most likely has all folders and files set with those permissions which would most likely be required.

I've updated my post now. Thanks.


Locked

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