?
avatar MarketingApe
MarketingApe
20 Sep 2017

Steps to reproduce the issue

Updating from 3.7.5 to 3.8

Expected result

crashes innodb and brings down MySQL

Actual result

System information (as much as possible)

Additional comments

brought down all database sites on my hosted server...tech support advised InnoDB crashed. This happened 3 times.

avatar MarketingApe MarketingApe - open - 20 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Sep 2017
Status New Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Sep 2017

can you please take a Look at #18003 if this Discussion help?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18018.

avatar alikon
alikon - comment - 20 Sep 2017

or tell us more details about your issue ....

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Sep 2017
Status Discussion Information Required
avatar landed1
landed1 - comment - 20 Sep 2017

I'm not sure how any code can bring down a Db unless it was somehow malicious but even then crashing a database...I never heard about that. I would like to guess this was first line tech support with that handy nugget of info. It may have been the crash that ruined your install?
Do you have a backup? What host are you using?

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

I am using InMotionHosting.com for the host provider and use a VPS. I will finish installing the update on the remainder of the websites on the server, but I can tell you I definitely had some issues. The server was flawless up until I started applying the update. Certainly coincidence is possible. I’ll let you know how the remainder of updates goes.

From: landed [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 11:44 AM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com
Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB (#18018)

I'm not sure how any code can bring down a Db unless it was somehow malicious but even then crashing a database...I never heard about that. I would like to guess this was first line tech support with that handy nugget of info. It may have been the crash that ruined your install?
Do you have a backup? What host are you using?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub#18018 (comment), or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbRyOb659FJnR1HpuSYvk_m4hfDMsKscks5skUCygaJpZM4PeH0T.

avatar tonypartridge
tonypartridge - comment - 20 Sep 2017

Weirdly I had a similar issue today not sure if it is related... updated to 3.8 locally and MySQL went down, had to reboot to get it backup.

avatar brianteeman
brianteeman - comment - 20 Sep 2017

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs

avatar tonypartridge
tonypartridge - comment - 20 Sep 2017

Personally I didn't bother looking, just assumed it was a process lockup for some reason or other. But thought it worth mentioning on here incase it has any relevance.

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

Here is some info on my configuration

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 1:28 PM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com
Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB (#18018)

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub#18018 (comment), or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbRyOUfLeHPNZZ-OsM2e-CJWZDyY8KDKks5skVkngaJpZM4PeH0T.

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

So first attempt to upgrade to 3.8 following crash, it has a problem while doing the ackeeba backup prior to installing 3.8. Here is the message ackeeba produced:
AJAX Loading Error
HTTP Status: 500 (Internal Server Error)
Internal status: error
XHR ReadyState: 4
Raw server response:
(HTML containing script tags)
Then, InnoDB and MySql crashes.

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 1:28 PM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com
Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB (#18018)

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub#18018 (comment), or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbRyOUfLeHPNZZ-OsM2e-CJWZDyY8KDKks5skVkngaJpZM4PeH0T.

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

MySql logs indicate the table jycbs_weblinks gets corrupted. Is this table accessed as part of the update? I was able to do an Ackeeba backup successfully on its own (not part of the Joomla update process). Leads me to believe the update is corrupting the table. Here is the MySQL log:

2017-09-20 15:37:04 21532 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 9599
2017-09-20 15:37:04 7f5032e5f720 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./wmtlaw_jmla37/jycbs_weblinks.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 1:28 PM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com
Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB (#18018)

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub#18018 (comment), or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbRyOUfLeHPNZZ-OsM2e-CJWZDyY8KDKks5skVkngaJpZM4PeH0T.

avatar brianteeman
brianteeman - comment - 20 Sep 2017

So from that information we can see that your issue is server related and
not to do with the upgrade as akeeba fails before the upgrade starts

On 20 Sep 2017 8:31 pm, "MarketingApe" notifications@github.com wrote:

So first attempt to upgrade to 3.8 following crash, it has a problem while
doing the ackeeba backup prior to installing 3.8. Here is the message
ackeeba produced:
AJAX Loading Error
HTTP Status: 500 (Internal Server
Error)
Internal status: error
XHR ReadyState: 4
Raw server
response:
(HTML containing script tags)
Then, InnoDB and MySql crashes.

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 1:28 PM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com

Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB
(#18018)

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
joomla/joomla-cms#18018#issuecomment-330939880>, or mute the
thread<https://github.com/notifications/unsubscribe-
auth/AbRyOUfLeHPNZZ-OsM2e-CJWZDyY8KDKks5skVkngaJpZM4PeH0T>.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#18018 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8TTNW7uF-sZMGjIURCL_BHNTdJ2yks5skWf4gaJpZM4PeH0T
.

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

Did you get my follow-up email with respect to the table corruption that occurs?

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 3:19 PM
To: joomla/joomla-cms joomla-cms@noreply.github.com
Cc: Steve Dunn sdunn@marketingape.com; Author author@noreply.github.com
Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB (#18018)

So from that information we can see that your issue is server related and
not to do with the upgrade as akeeba fails before the upgrade starts

On 20 Sep 2017 8:31 pm, "MarketingApe" <notifications@github.commailto:notifications@github.com> wrote:

So first attempt to upgrade to 3.8 following crash, it has a problem while
doing the ackeeba backup prior to installing 3.8. Here is the message
ackeeba produced:
AJAX Loading Error
HTTP Status: 500 (Internal Server
Error)
Internal status: error
XHR ReadyState: 4
Raw server
response:
(HTML containing script tags)
Then, InnoDB and MySql crashes.

From: Brian Teeman [mailto:notifications@github.com]
Sent: Wednesday, September 20, 2017 1:28 PM
To: joomla/joomla-cms <joomla-cms@noreply.github.commailto:joomla-cms@noreply.github.com>
Cc: Steve Dunn <sdunn@marketingape.commailto:sdunn@marketingape.com>; Author <author@noreply.github.commailto:author@noreply.github.com>

Subject: Re: [joomla/joomla-cms] Updating to Joomla 3.8 crashes InnoDB
(#18018)

What mysql version etc
What version of Joomla were you updating from
Was there anything in the mysql logs


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://github.com/
https://github.com/%0b> joomla/joomla-cms#18018#issuecomment-330939880>, or mute the
thread<https://github.com/notifications/unsubscribe-
https://github.com/notifications/unsubscribe-%0b> auth/AbRyOUfLeHPNZZ-OsM2e-CJWZDyY8KDKks5skVkngaJpZM4PeH0T>.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#18018 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8TTNW7uF-sZMGjIURCL_BHNTdJ2yks5skWf4gaJpZM4PeH0T
.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub#18018 (comment), or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbRyOX3KYjTjVYfsf8MgsLEd45Wge4g0ks5skXMWgaJpZM4PeH0T.

avatar MarketingApe
MarketingApe - comment - 20 Sep 2017

I'm not the only one having issues with the upgrade. I hope this gets the attention it deserves. Here is the error from MySQL Log:

2017-09-20 15:37:04 21532 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 9599
2017-09-20 15:37:04 7f5032e5f720 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./wmtlaw_jmla37/jycbs_weblinks.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18018.

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Sep 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-09-22 06:54:50
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 22 Sep 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 22 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Sep 2017

closing this Issue, please comment at #18020


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18018.

Add a Comment

Login with GitHub to post a comment