HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Upgrading Problems From Version 2.1
System
Admin
This discussion was created from comments split from: Vanilla 3.3 is now available.
0
Comments
@whu606 @R_J
I am trying again today to upgrade from 2.1 to 2.8 (on my way to 3.3).
Completed Actions:
-Uploaded 2.8 package
-Removed all files/folder listed in this upgrade document
-Updated my PHP to 7.3
-Tried to run example.com/utility/update FAILED: [an error occurred while processing this directive]
-Ran the Debug (True) in Config
I get this error, I can't find this 'w.Participated' anywhere in the database, what's my next move?:
Unknown column 'w.Participated' in 'field list'
The error occurred on or near: /home4/busgreas/public_html/forum/library/database/class.database.php
Backtrace:
Variables in local scope:
Sorry, but it looks to me like a waste of time to debug X upgrade processes instead of one...
But in the table GDN_UserDiscussion is a column called "Participated". If it is currently not there, you can create it with this command:
Try to run /utility/structure first. Maybe that will already fix the problem.
@R_J @whu606
I have never had the /utility/structure function. [an error occurred while processing this directive]
I am continuing to work through errors... What does this mean?
As I have stated before, thank you very much for your help! I am not a developer, but a guy who likes old buses and is handy with Cpanel, Wordpress and PHPBB so I was asked to help get our forum working.
Fatal Error in Garden\Container\Container.makeDefaultArgs();
Could not find required constructor param themesapi in the autoloader.
The error occurred on or near: /home4/busgreas/public_html/forum/vendor/vanilla/garden-container/src/Container.php
Backtrace:
Need Help?
If you are a user of this website, you can report this message to a website administrator.
If you are an administrator of this website, you can get help at the Vanilla Community Forums.
Additional information for support personnel:
"I have never had the /utility/structure function. [an error occurred while processing this directive]"
Which error?
@R_J
This is the error (below) is get consistently when I run /utility/structure
[an error occurred while processing this directive]
How can this error below be addressed?
Fatal Error in Garden\Container\Container.makeDefaultArgs();
Could not find required constructor param themesapi in the autoloader.
The error occurred on or near: /home4/busgreas/public_html/forum/vendor/vanilla/garden-container/src/Container.php
Backtrace:
Have you a) downloaded the zip from here (not GitHub) and b) cleaned /cache folder?
@R_J
Yes to the real build of 3.3, Yes to clearing cache. The site now appears, but most of the discussions are missing (like the DB needs to be updated). I also can't log in nor does password reset work.
I can't get the utility to execute
Could this be an HTACCESS Error? I don't think this file has been updated, and I don't see where it updates when I upload the 3.3 package.
No, if you have a htaccess that works with an older version of Vanilla, you should keep that. That's why it is not renewed with new versions.
I cannot understand that error. Could it be a result of some failed updating tries? Are you still trying to update to a Vanilla version < 3.3? If yes, I cannot support much since my installed version is 3.3
@R_J
This is going from 2,8 to 3.3. The utility has never worked for me.
I ran debug again and it came up with this. There is not "DateExpires" column, does this mean it needs to be added?
Unknown column 'DateExpires' in 'where clause'
The error occurred on or near: /home4/busgreas/public_html/forum/library/database/class.database.php
Backtrace:
Variables in local scope:
Nee
The table GDN_Session needs a column DateExpires:
`DateExpires` datetime DEFAULT NULL
But this is going to be tedious is /utility/structure will not work. If you like to, you can send me the credentials of your server and I'll have a look at it.
I just tried running Utility/update and got this error
Fatal Error in PHP.gdn_ErrorHandler();
Unknown column 'p.Garden.Messages.Manage' in 'field list'
The error occurred on or near: /home4/busgreas/public_html/forum/library/database/class.database.php
Backtrace:
Variables in local scope:
Need Help?
If you are a user of this website, you can report this message to a website administrator.
If you are an administrator of this website, you can get help at the Vanilla Community Forums.
Additional information for support personnel:
FYI: I upgraded a Vanilla Forums 2.0.18.4 version to the newest 3.3 version - quite successful and quick. However, I had an issue to resolve manually (in the database) with attaching Images in Activities/Posts/Comments; it's documented over on GitHub:
https://github.com/vanilla/vanilla/issues/9906