SUSE Support

Here When You Need Us

SUSE Manager 2.1 mgr-sync refresh returns a 500 Internal Server Error

This document (7018395) is provided subject to the disclaimer at the end of this document.


SUSE Manager 2.1


Attempting to run a mgr-sync refresh on a SUSE Manager 2.1 server returns a 500 Internal Server Error


Look for the following error in the /var/log/rhn/rhn_web_api.log:

redstone.xmlrpc.XmlRpcFault: unhandled internal exception: could not delete collection: [com.redhat.rhn.domain.product.SUSEProduct.extensionOf#1629]


This error is caused by fully patching a SUSE Manager 2.1 server and not running spacewalk-schema-upgrade.  To upgrade the schema run the following on the SUSE Manager Server:

1. spacewalk-service stop
2. spacewalk-schema-upgrade

A message similar to the following will appear:

Schema upgrade: [susemanager-schema-] -> [susemanager-schema-]
Searching for upgrade path to: [susemanager-schema-]
Searching for upgrade path to: [susemanager-schema-]
Searching for start path:  [susemanager-schema-]
Searching for start path:  [susemanager-schema-]
The path: [susemanager-schema-] -> [susemanager-schema-] -> [susemanager-schema-]
Planning to run schema upgrade with dir '/var/log/spacewalk/schema-upgrade/schema-from-20161215-105938'
Hit Enter to continue or Ctrl+C to interrupt:

Simply press Enter to continue.

3. spacewalk-service start

The mgr-sync refresh should now run without issue.

Additional Information

It should be noted that there are other causes of 500 errors and the current fix described here may not apply in all situations.  This document will be updated with additional fixes for 500 errors.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018395
  • Creation Date: 15-Dec-2016
  • Modified Date:03-Mar-2020
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.