InternalServerError: 500 Internal Server Error
InternalServerError: 500 Internal Server Error
Sometimes when
Sometimes the content view hung or the product view also
Looking into the production.log
we can found the following error Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/providers/show.json.rabl within katello/api/v2/layouts/resource (510.5ms) 500 Internal Server Error (RestClient::InternalServerError)
Sometimes this errors are related to the database something is wrong on it one of the solution you can try is the following
[root@host]# sudo -u apache pulp-manage-db
Loading content types. Content types loaded.
Ensuring the admin role and user are in place.
Admin role and user are in place.
Beginning database migrations.
Migration package pulp.server.db.migrations is up to date at version 9 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17
Migration to pulp_rpm.plugins.migrations version 17 complete.
Database migrations complete.
Restart service:
# katello-service restart
After do this the contents view and production are working again the pulp-manage-db correct the issue.
Sometimes the content view hung or the product view also
Looking into the production.log
we can found the following error Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/providers/show.json.rabl within katello/api/v2/layouts/resource (510.5ms) 500 Internal Server Error (RestClient::InternalServerError)
Sometimes this errors are related to the database something is wrong on it one of the solution you can try is the following
Use pulp-manage-db as user apache
[root@host]# sudo -u apache pulp-manage-db
Loading content types. Content types loaded.
Ensuring the admin role and user are in place.
Admin role and user are in place.
Beginning database migrations.
Migration package pulp.server.db.migrations is up to date at version 9 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17
Migration to pulp_rpm.plugins.migrations version 17 complete.
Database migrations complete.
Restart service:
# katello-service restart
After do this the contents view and production are working again the pulp-manage-db correct the issue.
simple and Clear.Keep updating Devops Online Training
ReplyDelete