-
- 8 Posts
Upgraded revo 2.0.8pl to 2.1.0.rc but unfortunately the site is not working after the upgrade. I am able to login, an browse through the manager but file preview and going to the pages directly (within the browser) is not working and giving a http error 500 (internal server error) .Below the error messages in the modx manager log right after upgrading.
Any thoughts?
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modResource->haskeywords: Array
([0] => 42000
[1] => 1091
[2] => Can’t DROP ’haskeywords’; check that column/key exists)
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modResource->hasmetatags: Array
(
[0] => 42000
[1] => 1091
[2] => Can’t DROP ’hasmetatags’; check that column/key exists
)
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::removeField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 341) Error removing field modUserProfile->role: Array
(
[0] => 42000
[1] => 1091
[2] => Can’t DROP ’role’; check that column/key exists
)
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 276) Error adding field modUserGroup->description: Array
(
[0] => 42S21
[1] => 1060
[2] => Duplicate column name ’description’
)
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addField @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 276) Error adding field transport.modTransportProvider->username: Array
(
[0] => 42S21
[1] => 1060
[2] => Duplicate column name ’username’
)
[2011-03-30 23:42:02] (ERROR in xPDOManager_mysql::addIndex @ /var/www/vhosts/bofal.nl/httpdocs/core/xpdo/om/mysql/xpdomanager.class.php : 296) Error adding index username to transport.modTransportProvider: Array
(
[0] => 42000
[1] => 1061
[2] => Duplicate key name ’username’
)
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd/0/ to /var/www/vhosts/bofal.nl/httpdocs/index.php
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd/1/ to /var/www/vhosts/bofal.nl/httpdocs/ht.access
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/9d37575aa4b09d211abce4ff6389d3fd.resolve.core.resolver)
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not resolve vehicle for object of class modContext; criteria: web
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/0/ to /var/www/vhosts/bofal.nl/httpdocs/manager/assets
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/1/ to /var/www/vhosts/bofal.nl/httpdocs/manager/controllers
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/2/ to /var/www/vhosts/bofal.nl/httpdocs/manager/templates
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/3/ to /var/www/vhosts/bofal.nl/httpdocs/manager/ht.access
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not copy /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf/4/ to /var/www/vhosts/bofal.nl/httpdocs/manager/index.php
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/modContext/5425e253b58447a04184ebeca9b52dbf.resolve.core.resolver)
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not resolve vehicle for object of class modContext; criteria: mgr
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/345ce9178d14882a7bbb9234e3d4eeec/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/ec717ebb7c0b459eba9df463b1266b0d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/6828499cbde6e5c327462eb4a8ea7bc3/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/915677c188a08a6701c0a4bd69f8ec82/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/9ff0fe7eed0c63c0f6c347f9bdba2bec/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/3441aef9d991247e82124cb2af419eac/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/cb41b9b856779ebe74a95774cde0e091/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/00dfa4da0435c079ef48108a59523e2d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/ca31184d9edd9b22d9058644321bd71a/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) Could not install files from /var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/44cbc2169aa783ea0a81c30584e6b37d/ to /var/www/vhosts/bofal.nl/httpdocs/connectors/
[2011-03-30 23:42:04] (ERROR @ /setup/index.php) xPDOVehicle resolver failed: type php (/var/www/vhosts/bofal.nl/httpdocs/core/packages/core/xPDOFileVehicle/44cbc2169aa783ea0a81c30584e6b37d.resolve.core.resolver)
-
- 199 Posts
No thoughts about these errors other than to say that I hoped you backed up your site before upgrading which according to the announcement one shouldn’t do this kind of upgrade until it’s publicly released.
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
Was this traditional or advanced?
What do you mean by "open a resource in the manager"? Do you mean try to Preview the Resource from the manager? Or is the 500 error when you try to actually edit the Resource in the manager UI?
Most of those errors you posted are normal and nothing to worry about when using the traditional release since all the files to be copied are already in place. You should be able to fix the duplicate URI problem by seeing why the Resource with id = 20 is returning a blank URI. That should not happen unless there is a problem with the data. Post some details about that Resource if you can’t figure it out. Otherwise, those are all normal.
Something must be wrong with the installation. I have upgraded several sites from 2.0.8 to 2.1.0 and experienced nothing like this. Did you FTP transfer the files individually? Traditional or advanced? If advanced, did you make sure all the MODX files were writable by the PHP process and thus got updated by the installer?
-
- 76 Posts
I did the following
downloaded traditional modx via wget on machine where modx runs
unzipped it
copied all files to the directory where the previous installation (modx 2.0.8 ) lives:
cp -R modx-2.1.0-rc3/* www/
and then mywebsite.com/setup
no errors occured during setup
logged into manager (works fine)
try to edit a resource
error 500