Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Getting rid of the Update Notification

More
7 years 1 month ago - 7 years 1 month ago #150904 by rom
Hi,

I am updating our limesurvey installation manually, not using the comfort updater. Though I am running the newest version 170310 I am always getting the notification that there is a new security update available. See Screenshot attached. (sorry, german)

When clicking on the Update Button, I'll get forwarded to /admin/update/ but there is only the message that everything is up to date and no update available.

I can delete the notification using the button below, but it reappears after browsing a bit in the admin backend. Is there anything I can do to get rid of it?
Last edit: 7 years 1 month ago by rom.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #150908 by holch
Replied by holch on topic Getting rid of the Update Notification
Probably the file where the version is store has not been updated correctly. Have a look in the forum, there should have been similar questions. I can remember the file name where this is stored.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
7 years 1 month ago #150913 by rom
Replied by rom on topic Getting rid of the Update Notification
I think I found it at /application/config/version.php

This is the content of the file, looks good to me:
Code:
$config['versionnumber'] = '2.64.1';
$config['dbversionnumber'] = 261;
$config['buildnumber'] = '170310';
$config['updatable'] = true;
$config['assetsversionnumber'] = '2641';
return $config;

tbh when I am updating, I am deleting almost all files before uploading the new version. Only exception is /upload/ and config.php - so I guess the wrong version is stored somewhere in the Database?
The topic has been locked.
More
7 years 1 month ago #150947 by jelo
Replied by jelo on topic Getting rid of the Update Notification
Could be a bug too. The version.php values are OK.

Check if the /tmp directory inside LimeSurvey got some lost files from a updating process.

The database is normally only having a DBversion in table ??_settings_global.

Do you have a updater_version.php?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: rom
The topic has been locked.
More
7 years 1 month ago - 7 years 1 month ago #151175 by rom
Replied by rom on topic Getting rid of the Update Notification
I tried replacing the /limesurvey/tmp directory with a new empty directory, it looks like this did the trick! Though I have no idea why this was a problem in the first place, as I am completely deleting the /limesurvey/* folder when updating, which includes the /tmp/ subdirectory. All files within this directory could only be created after uploading the new version.

I have an updater_version.php which looks fine to me, also.
Code:
$config['updaterversion'] = 6;
$config['comfort_update_server_url'] = 'comfortupdate.limesurvey.org/';
//$config['comfort_update_server_url'] = 'web.comfortupdate.org/';
$config['comfort_update_server_ssl'] = 0;
return $config;

The content of the _settings_global table looks suspicious to me:
  • dbversion=261
  • updatebuild=120919
  • updateversion=1.92+
  • updatelastcheck=2014-11-11 23:16:23
  • updateavailable=0
  • updatecheckperiod=7

Looks like some of these values haven't been touched since the previous major release... do you think this is a problem?
Last edit: 7 years 1 month ago by rom.
The topic has been locked.
More
7 years 1 month ago #151178 by jelo
Replied by jelo on topic Getting rid of the Update Notification

rom wrote: do you think this is a problem?

These settings are mostly empty when I look at an uptodate installation with Comfortupdate.
So I don't see this as an issue for now.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: rom
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #151221 by DenisChenu
Replied by DenisChenu on topic Getting rid of the Update Notification
If i remind : notfication is in $_SESSION when added : then didn't reset if we do a manual update of files.

Maybe now : someone set it in User params (in notification table).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: rom
The topic has been locked.
More
7 years 3 weeks ago #151901 by rom
Replied by rom on topic Getting rid of the Update Notification
After updating to 2.64.3+170327 today, I had the same issue again, and I could not solve it by deleting the content of the /tmp/ directory.

No offense, DenisChenu, but I did not understand your posting in the first place, but now I get it: The notification is possibly stored within the Browser Session! So if anyone with this issue is reading this thread: Simply try to restart your browser. ;)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose