Page 1 of 1

Update available

Posted: Fri Aug 04, 2017 8:36 am
by OCReactive
Script URL:
Mods for HESK version: 3.1.0
HESK version: 2.7.3
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: update, upgrade

Write your message below:

I updated the MfH time ago but now I've see that it still says that there is an update available, but I'm already in the last version.
Image

Re: Update available

Posted: Mon Aug 07, 2017 10:24 am
by OCReactive
That's weird, now it looks different:

Image

and when trying to update it says:

Installation Progress
Version Status
3.1.0 Update failed! Check the console for more information

Console
Severity Message
INFO Starting updates for 3.1.0
ERROR Could not execute query: ALTER TABLE `soporte_logging` ADD COLUMN `stack_trace` TEXT. MySQL said: Duplicate column name 'stack_trace'

When testing the DB:
Mods for HESK Database Validation
Success
Your database is valid

Re: Update available

Posted: Mon Aug 07, 2017 7:18 pm
by mkoch227
Not sure how you caused your installation to go backwards... I'm guessing you do, in fact, have Mods for HESK 3.1.0 installed. If you run the database validator in the /install directory, does everything pass?

Also, I do see an issue with the update checker. It's using the old mods-for-hesk.mkochcs.com subdomain, but all requests to that URL redirect to mods-for-hesk.com. Instead of just redirecting and using that value, the update cache is holding some HTML instead, causing the false-positive. This will be fixed in a later version. You can safely ignore this for now.

Re: Update available

Posted: Mon Aug 07, 2017 7:53 pm
by OCReactive
If you run the database validator in the /install directory, does everything pass?
Yes, everything passes with an OK.
This will be fixed in a later version. You can safely ignore this for now.
Nice, thanks!

Re: Update available

Posted: Mon Aug 07, 2017 8:01 pm
by mkoch227
OCReactive wrote: Mon Aug 07, 2017 7:53 pm Yes, everything passes with an OK.
If your version is still showing 3.0.7 for some reason, you can run the following query in a SQL query runner (such as phpMyAdmin) to change your version back to 3.1.0:

Code: Select all

UPDATE `hesk_settings` SET `Value` = '3.1.0' WHERE `Key` = 'modsForHeskVersion'
Where "hesk_" is your DB prefix.

Re: Update available

Posted: Tue Aug 22, 2017 10:59 pm
by Jadzia
Hi

I'm having the same problem, and it is also telling me that I have an update for Hesk and yet its the latest version. Info below current as of 23rd August 2017.

HESK version: 2.7.3 - Update available Update HESK
Mods for HESK Version: 3.1.1 - Update available
PHP version: 7.0.16 (MySQLi)
MySQL version: 5.5.54-MariaDB
/hesk_settings.inc.php Exists, Writable
/attachments Exists, Writable
/cache Exists, Writable

Re: Update available

Posted: Wed Aug 23, 2017 12:51 am
by mkoch227
Try deleting the following files in your cache directory (it's 'cache' by default):
- __latest.txt
- __lateest-mfh.txt

Then refresh the page. If you still see update notifications, please send me your helpdesk URL (assuming your helpdesk is publicly accessible).