New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WEB TRACEBACK exception com.redhat.rhn.domain.channel.ChannelSyncFlag #8693
Comments
what do you have on that table? You should see if more than one entry for that id is present. if yes, delete one of it |
Hi Ricardo, |
then run it again, but without the where clause, and check if any duplicated id is present |
Ricardo, If so, no output either. |
did you check inside the file "query.out"? Not even the column names? |
Sorry @rjmateus,
|
After upgrading to 2024.03 we are having the same issue for channel_id 101:
What is the magic command to delete the duplicate? Additional logging info from a traceback:
|
Can you try the following statement on the database?
It will remove the foreign key, remove the duplicates by keeping the row with is "newer" and create a primary key and a foreign key in channel_id. I expect that you might hit other problem in the UI when you try to change the flags. |
Hallo Michael @mcalmer (SuSe Firewall 2002) :) best regards. |
@mcalmer Not really. |
The automatic synchronization of the repo is now also working again. |
1 - The SQL statement fixed our issue (at least from what I have seen so far). Thanks! 2 - For this server instance we originally used the Web UI to create probably 30% of our channels, but for the rest we started using spacewalk-common-channels. Note that we also have a number of channels created using CLM app stream filter via a recurring job. So our channel creation is a combination of Web UI, spacewalk-common-channels and CLM project. |
fix merged. Will be part of 2024.06 |
Problem description
Hi there,
Since the last version v2024.03, when i click on different software channels or their objects in the WebUI, i get this error message.
I don't know if it has anything to do with it, but since a few weeks the automatic synchronization of the repos doesn't work anymore. You have to start this manually, e.g. in the WebUI.
Thanks for any help here.
Stefan
Steps to reproduce
...
Uyuni version
Uyuni proxy version (if used)
No response
Useful logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: