Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Upgrading to 2.1.7 from 2.1.6
martin2008
New
i want to upgrade from 2.1.6 to 2.1.7 please can i get help? i have been searching here and i am feeling unsecured about answers given.
i used this url : https://github.com/vanilla/vanilla/blob/master/README.md#upgrading and i have this error : Failure
The update was not successful.
0
Comments
Go to the URL /utility/structure and see what changes it is trying to make.
I also got the info 'The update was not successful.' right now updating from 2.1.6 to 2.1.7
I started with first point - done
Second point - done
Now I entered the dashboard and at the right bottom corner I see 2.1.7 - good
Now third point - failure
Proceeding with last point (point no. 4), refreshing the page - still failure
Now I put '$Configuration['Debug'] = TRUE;' into the config.php and tried to update again. I get following error message:
Fatal Error in PHP.set_time_limit();
set_time_limit() has been disabled for security reasons
The error occurred on or near: /home/u994562928/public_html/bo4/applications/dashboard/controllers/class.utilitycontroller.php
Additional information for support personnel:
see this for informational purposes.
http://se1.php.net/manual/en/function.set-time-limit.php
http://se1.php.net/manual/en/info.configuration.php#ini.max-execution-time
apparently the utility controller has a
set_time_limit(0);
so it complete all operations without timing out.
perhaps your configuration does not allow this to be used as seemingly indicated by
you MIGHT be able to get around things by commenting out the line
https://github.com/vanilla/vanilla/blob/2.1/applications/dashboard/controllers/class.utilitycontroller.php#L16
(assuming everything can run within your php time limit settings).
or perhaps you can change your php.ini settings and/or safe mode as indicated in
http://se1.php.net/manual/en/function.set-time-limit.php
Alternatively you could try /utility/structure with debug turned off and run it a number of times and see what you can accomplish
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Unfortunately, my page is on a free hosting without access to the php.ini.
But is the point 'Go to yourforum.com/index.php?p=/utility/update' a must do?
it will ensure everything is set correctly with respect to data tables, etc.
so i would make an attempt to get it working.
did you try that with the line commented out and running /utility/structure first.
https://github.com/vanilla/vanilla/blob/2.1/applications/dashboard/controllers/class.utilitycontroller.php#L16
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
http://vanillaforums.org/discussion/comment/219687/#Comment_219687
often hosts have a place where you add variables and adjust php.ini - did you ask host?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Free hosting is not a good idea for running this type of software. Their limitations make it useless. You can't store images and you can't upload etc. You get a set amount of memory and bandwidth and you are at their mercy if they decide to delete your account. They don't save your data.
You can find almost free services that are better. Free hosting is for people who don't care if their site gets deleted. If you don't care about not being able to use plugins or themes that eat up the allotted bandwidth and your site goes offline for exceeding that.
You have no access to server side issues. Free hosting is only good for static html pages.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@ peregrine
Ok. In class.utilitycontroller.php I removed set_time_limit(0);
Now I repeated the line with the upgrade - successful
But when I now run /utility/structure I get following info (following structure changes are required for your database.):
alter table
GDN_AnalyticsLocal
engine = innodb;
alter table
GDN_Tag
engine = innodb;
alter table
GDN_Log
engine = innodb;
alter table
GDN_Regarding
engine = innodb;
alter table
GDN_Ban
engine = innodb;
alter table
GDN_TagDiscussion
engine = innodb;
Pressing the button 'Run structure & data scripts' doesn't fix anything automatically.
does your host provider support innodb engine?.
@linc might want to chime in on this and other comments here.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
'does your host provider support innodb engine?'
Ok... you are right. I checked the FAQ right now... and no... not supported.
I think I'll look for regular hosting due to too many limitations now @ peregrine (& vrijvlinder). Anyway... thank you for your support in my case.
good idea!
you do realize if you want to alert someone.
@ Stoertebecker does not work - why bother with the @ if you don't want to message.
but
@Stoertebecker does work if you do intend to notify.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
also if innodb engine is required for vanilla - it should be in the vanilla installation requirements, shouldn't it. if it is not already there in the documentation.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I cannot imagine why Vanilla shouldn't be used with MyIsam only. If everything is alright, but only the alter engine part fails, I wouldn't care.
But since hosting is ridiculously cheap nowadays, I wouldn't risk storing my data at a free hosting service either.
it might get bogged down with large active forums probably if only MyIsam is used. not sure if other things break down if the engine is not correct for the respective tables.
I suspect the vanilla staff will be able to elucidate when time permits.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@Linc I get the same error: "Failure The update was not successful." as the op. However, when going to myforum/utility/structure is says "There are no database structure changes required. There may, however, be data changes".
Does this mean I'm good? I've looked through my forum and everything seems to be fine.
Turn on debug mode to get the full error. It would still be good to get it saying "Success" so you're not running into this forever.
i tuned on debugging mode and nothing seems to show but still get the same error.