kuntur
03-08-2014, 05:44 AM
I am upgrading from vB 4.2.2 to vB 5.0.5 and APC is installed
This is general information about my server
CentOS 6.5
mysql 5.5.36-21
php 5.4.25-31
APC 3.1.15-dev
This is part of my core config.php
// ****** CACHE CONFIGURATION *****
// Here you can configure different methods for caching items.
// The following are the cacheing classes that can be used.
// vB_Cache_Db - This setting stores the data in the database
// vB_Cache_APC - This setting stores the data in APC
// vB_Cache_Memcached - This stores the data in memcache
// vB_Cache_Memory - This setting uses php's memory while a page is being generated.
// Each cache area can use its own cache type.
$config['Cache']['class'][0] = 'vB_Cache_APC'; //regular cache
$config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
$config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
// Cache options are
// vB_Cache_Memory fastest but doesn't survive a page load.
// vB_Cache_Db significant speed improvement and available to everyone.
// vB_Cache_Filesystem good performance, reduces traffic and load on db server. Not available to everyone-
// your web server must be able to write to the file system.
// vB_Cache_Memcached excellent performance but usually only available to dedicated or virtual hosted sites.
// vB_Cache_APC excellent performance but only available to those with APC installed, and on a single web server.
// vB_Cache_XCache excellent performance but only available to those with XCache installed, and on a single web server.
// ******** FILESYSTEM CACHE CONFIGURATION ******
//If you use filesystem cache you MUST uncomment the line below.
//set the path to somewher writeable by the web server process. This location must already exist. Please put
// this somewhere outside the document root. Otherwise you have just created a serious security issue.
//Don't include the final '/'
//$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// You may need to clear this cache after installing/upgrading. You can do this either
// in the control panel (Maintenance) or by restarting the web server.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_WinCache - to use WinCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_APC';
//if you use Filecache you can accept the default location, or better
// to uncomment the next line and set a location
// $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
// or if you have set $config['Cache']['fileCachePath' above you can do nothing and
// it will use that location.
// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator, WinCache) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
$config['Datastore']['prefix'] = 'DP1_';
after I started command line upgrade everything goes fine until I get an error
while upgrading to 5.0.5
Upgrading to 5.0.3 Release Candidate 1
----------------------------------
Step 1 - Importing Stray Polls
Processed records 1 - 500000 (of 383366)
Importing Stray Polls
Process done
Step 2 - Altering infraction Table (1 of 6)
Altering infraction Table (2 of 6)
Altering infraction Table (3 of 6)
Altering infraction Table (4 of 6)
Altering infraction Table (6 of 6)
Upgrade Complete
Upgrading to 5.0.3
----------------------------------
Step 1 - Updating regex and arguments for channel routes
Process done
Upgrade Complete
Upgrading to 5.0.4 Alpha 1
----------------------------------
Step 1 - Updating userlist table
Step 2 - Converting pending friend requests
Processed records 1 - 44 (of 44)
Process done
Step 3 - Converting page Meta data to phrases.
done
Step 4 - Altering product Table (1 of 1)
Upgrade Complete
Upgrading to 5.0.4 Alpha 2
----------------------------------
Step 1 - Updating Frontend URL settings
Step 2 - Altering session Table (1 of 1)
Step 3 - Skipping step, not needed
Step 4 - Skipping step, not needed
Step 5 - Skipping step, not needed
Step 6 - Skipping step, not needed
Step 7 - Skipping step, not needed
Step 8 - Skipping step, not needed
Step 9 - Altering infraction Table (1 of 1)
Step 10 - Altering infractionlevel Table (1 of 1)
Upgrade Complete
Upgrading to 5.0.4 Alpha 3
----------------------------------
Step 1 - Skipping step, not needed
Step 2 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.4 Release Candidate 1
----------------------------------
Step 1 - Creating vb_sigpicnew table
Step 2 - Updating vb_site table
Step 3 - Updating blog node options
Process done
Step 4 - Adding blog subscription records
Process done
Upgrade Complete
Upgrading to 5.0.4
----------------------------------
Upgrade Complete
Upgrading to 5.0.5 Alpha 1
----------------------------------
Upgrade Complete
Upgrading to 5.0.5 Alpha 2
----------------------------------
Step 1 - Importing tags
Import Done
Step 2 - Updating node tags
Process done
Step 3 - Moving page Meta data phrases
done
Upgrade Complete
Upgrading to 5.0.5 Alpha 3
----------------------------------
Step 1 - Updating datastore profile fields definition
Step 2 - Altering video Table (1 of 2)
Altering video Table (2 of 2)
Step 3 - Creating vb_nodeview table
Step 4 - Importing thread views data
Processed records 1 - 150000 (of 9067)
Importing thread views data
Process done
Step 5 - Importing blog views data
Process done
Step 6 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.5 Alpha 4
----------------------------------
Step 1 - Altering widegetinstance Table (1 of 1)
Step 2 - Fixing page GUID data
Process done
Step 3 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.5 Release Candidate 1
----------------------------------
Step 1 - Updating regex for all conversation routes
Processed records 1 - 200 (of 412)
Updating regex for all conversation routes
Processed records 201 - 400 (of 412)
Updating regex for all conversation routes
Processed records 401 - 600 (of 412)
Updating regex for all conversation routes
Process done
Step 2 - Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 1 - 100000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 100001 - 200000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 200001 - 300000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 300001 - 400000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Process done
Step 3 - Altering moderator Table (1 of 3)
Step 4 - Altering moderator Table (2 of 3)
Step 5 - Altering moderator Table (3 of 3)
Upgrade Complete
Upgrading to 5.0.5 Release Candidate 2
----------------------------------
Upgrade Complete
Upgrading to 5.0.5
----------------------------------
Upgrade Complete
Processing XML
----------------------------------
Step 1 - Import latest options
Importing vbulletin-settings.xml
Import Done
Step 2 - Import latest admin help
Importing vbulletin-adminhelp.xml
Import Done
Step 3 - Import latest language
Importing vbulletin-language.xml
Import Done
Step 4 - Import latest widgets
Importing vbulletin-widgets.xml
Import Done
Step 5 - Importing vbulletin-pagetemplates.xml
Import Done
Step 6 - Importing vbulletin-pages.xml
Import Done
Importing vbulletin-channels.xml
Import Done
Importing vbulletin-routes.xml
Import Done
Step 7 - Updating vb_widgetinstance table
Step 8 - Creating new routes
Step 9 - Updating vb_node table
Step 10 - Verifying Product Dependencies
Product vbblog has been disabled
Step 11 - Importing vbulletin-style.xml
Template Group: Admin
Template Group: BB Code
Template Group: Blog
Template Group: Blog Admin
Template Group: Color
Template Group: Content
Template Group: Conversation
Template Group: CSS
Template Group: Display
Template Group: Editor
Template Group: Error
Template Group: Group
Template Group: Human Verification
Template Group: Inline Moderation
Template Group: Link
Template Group: Login
Template Group: Media
Template Group: Modify
Template Group: Pagenav
Template Group: Photo
Template Group: Picture
Template Group: Private Message
Template Group: Profile
Template Group: Screen Layout
Template Group: Search
Template Group: Group Admin
Template Group: Subscription
Template Group: Tag
Template Group: User Profile Field
Template Group: User Setting
Template Group: Widget
Template Group: Ungrouped Templates 1
Template Group: Ungrouped Templates 2
Template Group: Ungrouped Templates 3
Template Group: Ungrouped Templates 4
Template Group: Ungrouped Templates 5
Import Done
Step 12 - PHP Fatal error: Class 'APCIterator' not found in /...(edited)...../core/vb/cache/apc.php on line 320
Fatal error: Class 'APCIterator' not found in /....(edited)..../core/vb/cache/apc.php on line 320
I am trying to configure correctly APC in the config.php file
If someone have a suggestion about how to solve this problem I will appreciate it.
This is general information about my server
CentOS 6.5
mysql 5.5.36-21
php 5.4.25-31
APC 3.1.15-dev
This is part of my core config.php
// ****** CACHE CONFIGURATION *****
// Here you can configure different methods for caching items.
// The following are the cacheing classes that can be used.
// vB_Cache_Db - This setting stores the data in the database
// vB_Cache_APC - This setting stores the data in APC
// vB_Cache_Memcached - This stores the data in memcache
// vB_Cache_Memory - This setting uses php's memory while a page is being generated.
// Each cache area can use its own cache type.
$config['Cache']['class'][0] = 'vB_Cache_APC'; //regular cache
$config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
$config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
// Cache options are
// vB_Cache_Memory fastest but doesn't survive a page load.
// vB_Cache_Db significant speed improvement and available to everyone.
// vB_Cache_Filesystem good performance, reduces traffic and load on db server. Not available to everyone-
// your web server must be able to write to the file system.
// vB_Cache_Memcached excellent performance but usually only available to dedicated or virtual hosted sites.
// vB_Cache_APC excellent performance but only available to those with APC installed, and on a single web server.
// vB_Cache_XCache excellent performance but only available to those with XCache installed, and on a single web server.
// ******** FILESYSTEM CACHE CONFIGURATION ******
//If you use filesystem cache you MUST uncomment the line below.
//set the path to somewher writeable by the web server process. This location must already exist. Please put
// this somewhere outside the document root. Otherwise you have just created a serious security issue.
//Don't include the final '/'
//$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// You may need to clear this cache after installing/upgrading. You can do this either
// in the control panel (Maintenance) or by restarting the web server.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_WinCache - to use WinCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_APC';
//if you use Filecache you can accept the default location, or better
// to uncomment the next line and set a location
// $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
// or if you have set $config['Cache']['fileCachePath' above you can do nothing and
// it will use that location.
// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator, WinCache) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
$config['Datastore']['prefix'] = 'DP1_';
after I started command line upgrade everything goes fine until I get an error
while upgrading to 5.0.5
Upgrading to 5.0.3 Release Candidate 1
----------------------------------
Step 1 - Importing Stray Polls
Processed records 1 - 500000 (of 383366)
Importing Stray Polls
Process done
Step 2 - Altering infraction Table (1 of 6)
Altering infraction Table (2 of 6)
Altering infraction Table (3 of 6)
Altering infraction Table (4 of 6)
Altering infraction Table (6 of 6)
Upgrade Complete
Upgrading to 5.0.3
----------------------------------
Step 1 - Updating regex and arguments for channel routes
Process done
Upgrade Complete
Upgrading to 5.0.4 Alpha 1
----------------------------------
Step 1 - Updating userlist table
Step 2 - Converting pending friend requests
Processed records 1 - 44 (of 44)
Process done
Step 3 - Converting page Meta data to phrases.
done
Step 4 - Altering product Table (1 of 1)
Upgrade Complete
Upgrading to 5.0.4 Alpha 2
----------------------------------
Step 1 - Updating Frontend URL settings
Step 2 - Altering session Table (1 of 1)
Step 3 - Skipping step, not needed
Step 4 - Skipping step, not needed
Step 5 - Skipping step, not needed
Step 6 - Skipping step, not needed
Step 7 - Skipping step, not needed
Step 8 - Skipping step, not needed
Step 9 - Altering infraction Table (1 of 1)
Step 10 - Altering infractionlevel Table (1 of 1)
Upgrade Complete
Upgrading to 5.0.4 Alpha 3
----------------------------------
Step 1 - Skipping step, not needed
Step 2 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.4 Release Candidate 1
----------------------------------
Step 1 - Creating vb_sigpicnew table
Step 2 - Updating vb_site table
Step 3 - Updating blog node options
Process done
Step 4 - Adding blog subscription records
Process done
Upgrade Complete
Upgrading to 5.0.4
----------------------------------
Upgrade Complete
Upgrading to 5.0.5 Alpha 1
----------------------------------
Upgrade Complete
Upgrading to 5.0.5 Alpha 2
----------------------------------
Step 1 - Importing tags
Import Done
Step 2 - Updating node tags
Process done
Step 3 - Moving page Meta data phrases
done
Upgrade Complete
Upgrading to 5.0.5 Alpha 3
----------------------------------
Step 1 - Updating datastore profile fields definition
Step 2 - Altering video Table (1 of 2)
Altering video Table (2 of 2)
Step 3 - Creating vb_nodeview table
Step 4 - Importing thread views data
Processed records 1 - 150000 (of 9067)
Importing thread views data
Process done
Step 5 - Importing blog views data
Process done
Step 6 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.5 Alpha 4
----------------------------------
Step 1 - Altering widegetinstance Table (1 of 1)
Step 2 - Fixing page GUID data
Process done
Step 3 - Skipping step, not needed
Upgrade Complete
Upgrading to 5.0.5 Release Candidate 1
----------------------------------
Step 1 - Updating regex for all conversation routes
Processed records 1 - 200 (of 412)
Updating regex for all conversation routes
Processed records 201 - 400 (of 412)
Updating regex for all conversation routes
Processed records 401 - 600 (of 412)
Updating regex for all conversation routes
Process done
Step 2 - Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 1 - 100000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 100001 - 200000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 200001 - 300000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Processed records 300001 - 400000 (of 393418)
Restoring old regex for conversation routes linked to topics with brackets in the title
Process done
Step 3 - Altering moderator Table (1 of 3)
Step 4 - Altering moderator Table (2 of 3)
Step 5 - Altering moderator Table (3 of 3)
Upgrade Complete
Upgrading to 5.0.5 Release Candidate 2
----------------------------------
Upgrade Complete
Upgrading to 5.0.5
----------------------------------
Upgrade Complete
Processing XML
----------------------------------
Step 1 - Import latest options
Importing vbulletin-settings.xml
Import Done
Step 2 - Import latest admin help
Importing vbulletin-adminhelp.xml
Import Done
Step 3 - Import latest language
Importing vbulletin-language.xml
Import Done
Step 4 - Import latest widgets
Importing vbulletin-widgets.xml
Import Done
Step 5 - Importing vbulletin-pagetemplates.xml
Import Done
Step 6 - Importing vbulletin-pages.xml
Import Done
Importing vbulletin-channels.xml
Import Done
Importing vbulletin-routes.xml
Import Done
Step 7 - Updating vb_widgetinstance table
Step 8 - Creating new routes
Step 9 - Updating vb_node table
Step 10 - Verifying Product Dependencies
Product vbblog has been disabled
Step 11 - Importing vbulletin-style.xml
Template Group: Admin
Template Group: BB Code
Template Group: Blog
Template Group: Blog Admin
Template Group: Color
Template Group: Content
Template Group: Conversation
Template Group: CSS
Template Group: Display
Template Group: Editor
Template Group: Error
Template Group: Group
Template Group: Human Verification
Template Group: Inline Moderation
Template Group: Link
Template Group: Login
Template Group: Media
Template Group: Modify
Template Group: Pagenav
Template Group: Photo
Template Group: Picture
Template Group: Private Message
Template Group: Profile
Template Group: Screen Layout
Template Group: Search
Template Group: Group Admin
Template Group: Subscription
Template Group: Tag
Template Group: User Profile Field
Template Group: User Setting
Template Group: Widget
Template Group: Ungrouped Templates 1
Template Group: Ungrouped Templates 2
Template Group: Ungrouped Templates 3
Template Group: Ungrouped Templates 4
Template Group: Ungrouped Templates 5
Import Done
Step 12 - PHP Fatal error: Class 'APCIterator' not found in /...(edited)...../core/vb/cache/apc.php on line 320
Fatal error: Class 'APCIterator' not found in /....(edited)..../core/vb/cache/apc.php on line 320
I am trying to configure correctly APC in the config.php file
If someone have a suggestion about how to solve this problem I will appreciate it.