-
Notifications
You must be signed in to change notification settings - Fork 100
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
List used as a Data Source cannot be deleted despite no longer a DS for any list #1660
Comments
FYI I just had a second occurrence - steps to have happen:
|
@bwiderski-HBS , what is the database you are using? |
@bwiderski-HBS , additionally, could you please show the system log during the steps above? |
Postgres locally on the same server.
Will look for log info on Monday when I’m back at the office (EDT)
Betty
On Apr 21, 2023, at 7:45 PM, IKEDA Soji ***@***.***> wrote:
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
@bwiderski-HBS<https://github.com/bwiderski-HBS> , what is the database you are using?
—
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EMPD36ZK2HERI5GG23XCMLYTANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
042123 syslogs re sympa.txt
After removing or renaming tss_privileged_owners as a data source from all other lists I wanted to close it - but Sympa still thinks it is in use by other lists, but when asked to identify those it gives the blue box "no lists". |
Hi @bwiderski-HBS , Could you show us the inclusion settings of the list "mba2024@lists.hbs.edu"? The log tells that this list is failing inclusion.
|
Attached PDF of mba2024 data sources setup.
From: IKEDA Soji ***@***.***>
Sent: Tuesday, April 25, 2023 10:12 PM
To: sympa-community/sympa ***@***.***>
Cc: Widerski, Betty ***@***.***>; Mention ***@***.***>
Subject: Re: [sympa-community/sympa] List used as a Data Source cannot be deleted despite no longer a DS for any list (Issue #1660)
You don't often get email from ***@***.******@***.***>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi @bwiderski-HBS<https://github.com/bwiderski-HBS> ,
Could you show us the inclusion settings of the list ***@***.******@***.***>"?
-
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EJRZYDIWXMMI6I2XIDXDCAAPANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
@bwiderski-HBS sorry, attachment in the e-mail reply is removed. Please post it on the web. |
Thanks. The log above tells that the list "mba2024b" does no longer exist.
Then check whether "it_privileged_owners" may be closed. |
Will do - will also check if the same problem with tss_privileged_owners resolves.
From: IKEDA Soji ***@***.***>
Sent: Wednesday, April 26, 2023 10:02 AM
To: sympa-community/sympa ***@***.***>
Cc: Widerski, Betty ***@***.***>; Mention ***@***.***>
Subject: Re: [sympa-community/sympa] List used as a Data Source cannot be deleted despite no longer a DS for any list (Issue #1660)
You don't often get email from ***@***.******@***.***>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Thanks.
The log above tells that the list "mba2024b" does no longer exist.
1. Open the data source config page of "mba2024" list.
2. Check the "Delete" checkbox at the right side of the data source (source) "local_list (local_list)" for "mba2024b", then click "Apply modifications" at the bottom of the page.
3. Wait for a whle (one hour or so).
4. Check the log and confirm that the err log about "sync_include" is no longer shown.
Then check whether "it_privileged_owners" may be closed.
-
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EPQRBMI7BX676UE5MTXDETELANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Today's logs. Still cannot delete it_privileged_owners or tss_privileged_owners. Note - I'm OOO the rest of this week so will respond to anything 1 May. |
You may have to log-in as a listmaster and check the "View lists including it_privileged_owners". Perhaps the "Visibility of the list (visibility)" setting of these lists prevent them from being displayed. Listmasters can work around this limitation in most cases. |
Oh you are the listmaster @bwiderski-HBS . Can you apply following modification on web template? --- a/default/web_tt2/including_lists.tt2
+++ b/default/web_tt2/including_lists.tt2
@@ -8,7 +8,7 @@
<span class="divider"></span>
[% SET invisible_count = 0; visible_count = 0 ~%]
[% FOREACH l = which ~%]
- [% IF l.value.visible ~%]
+ [% IF l.value.visible || is_listmaster ~%]
<div class="item_content">
<a class="item_title" href="[% l.value.robot == robot ? l.value.url_rel : l.value.url_abs %]">
[%|obfuscate(conf.spam_protection) ~%] |
I’m not understanding which file you mean by “web template” and your syntax- by
a/default/web_tt2/including_lists.tt2
+++ b/default/web_tt2/including_lists.tt2
@@ -8,7 +8,7 @@
Do you mean to edit the file including_lists.tt2 in the default web_tt2 directory and add the lines here that are written below “@@ -8,7 +8,7 @@“ ?
Is there any risk? This is my prod server - I did not have this issue on my dev server.
Betty
On Apr 27, 2023, at 4:52 AM, IKEDA Soji ***@***.***> wrote:
Oh you are the listmaster @bwiderski-HBS<https://github.com/bwiderski-HBS> .
Can you apply following modification on web template?
…--- a/default/web_tt2/including_lists.tt2
+++ b/default/web_tt2/including_lists.tt2
@@ -8,7 +8,7 @@
<span class="divider"></span>
[% SET invisible_count = 0; visible_count = 0 ~%]
[% FOREACH l = which ~%]
- [% IF l.value.visible ~%]
+ [% IF l.value.visible || is_listmaster ~%]
<div class="item_content">
<a class="item_title" href="[% l.value.robot == robot ? l.value.url_rel : l.value.url_abs %]">
[%|obfuscate(conf.spam_protection) ~%]
—
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EJZP7YOYDLML6QQB7DXDIXV7ANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @bwiderski-HBS , Please check the manual to know how to customize template. The colored texts mean that, you create the template file
with
This will not break Sympa. |
Hi @bwiderski-HBS again,
The config of the list "test01-post-edit" seems broken. Maybe any create list template is broken and the lists created using it is/are also broken. Please check the log and find out the other broken lists, and if these lists are unnecessary, please close them. |
Yes - on Monday when I’m back in the office.
Betty
On Apr 28, 2023, at 2:27 AM, IKEDA Soji ***@***.***> wrote:
Hi @bwiderski-HBS<https://github.com/bwiderski-HBS> again,
Apr 21 14:25:02 rhlists2 wwsympa[680421]: err main::#1557 > main::do_create_list#9515 > Sympa::Spindle::spin#95 > Sympa::Request::Handler::create_list::_twist#215 > Sympa::List::new#181 > Sympa::List::load#699 > Sympa::List::_load_list_config_file#5044 Unknown key "visibility" in paragraph "available_user_options" in /var/lib/sympa/list_data/lists.hbs.edu/test01-post-edit/config
The config of the list "test01-post-edit" seems broken. Maybe any create list template is broken and the lists created using it is also broken.
Please check the log and find out the other broken lists, and if these lists are unnecessary, please close them.
—
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EIG5NI7FWSXH63IC3LXDNPOTANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I’ll be on vacation in the next week, so I’ll be less responsive. |
@bwiderski-HBS , additionally, please also show us the log for a few minutes including the time when you clicked on the "Admin" link. |
Replies to your various comments while I was OOO:
my templates:
Default Sympa template html-news-letter:
Thus all my lists have "visibility noconceal" since the visibility parameter wasn't seen properly. This error only appeared in logs during list creation, so it seems there is nothing "broken" about the created lists, just that I need to manually set their visibility to "conceal" and fix my templates for new creations. This doesn't seem to be related to my data sources problem, as the templates are the same on my dev server which does not have the DS problem. |
Hi @bwiderski-HBS ,
I understand. From now on I'll write without assuming the web.
These are the logs that I asked for showing us 'the log for a few minutes including the time when you clicked on the "Admin" link'. Next, please show us the log from when you clicked on the "Admin" link' to when you clicked on the "View lists including ..." and see the text "No lists".
This shiould be as below:
This may not be directly related to the "No lists" issue, but it is not working correctly and should be fixed. |
Yes, I've fixed the incorrect templates. Log:
[sympa@rhlists2 sympa]$ date |
Could you please show the log after you clicked the "Admin" link? |
I did - after I did "Date" I went to the UI, went to the list, clicked Admin, then the view button - this is the entire log from doing those steps immediately after 08:56:17. This is /var/log/messages - is there a different log you want to see? |
Did you see "No lists"? |
Correct - still gave "no lists" when hitting the "view lists using" button.
From: IKEDA Soji ***@***.***>
Sent: Wednesday, May 03, 2023 11:12 PM
To: sympa-community/sympa ***@***.***>
Cc: Widerski, Betty ***@***.***>; Mention ***@***.***>
Subject: Re: [sympa-community/sympa] List used as a Data Source cannot be deleted despite no longer a DS for any list (Issue #1660)
Did you see "No lists"?
-
Reply to this email directly, view it on GitHub<#1660 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5PL3EMQ5KQINDNQ3Z2VWSDXEMM77ANCNFSM6AAAAAAXG54AMU>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Can you use SELECT * FROM inclusion_table WHERE source_inclusion = 'it_privileged_owners@lists.hbs.edu'; And, if the result is not empty, do the list names included in it really exist? |
So those lists do not really exist. Then I don't understand why nothing is showing up in the logs.... |
Please advise how to "apply this patch" - I see it is changes to /usr/share/sympa/lib/List.pm on my server, but I do not know how to get a copy of the modified List.pm to replace existing. We do not have our Sympa components in Git, and I'm hoping there's an easier way than my manually viming and editing by hand? |
You may use |
I have figured out how to use patch(1) to update List.pm. I am waiting for a scheduled patching window to apply it long enough to remove the problem lists, then will probably revert to the current file version until you issue a new release, since this is our prod instance. |
The patch will be included in the next release. At that time, this issue will be closed. |
Manually deleted list blocks closure of the list which has been included by the former (#1660)
List it_privileged_owners was used as an Owner Data Source for multiple other lists but has been superseded so needs to be closed.
After removing it as a DS from all lists, plus manually synchronizing those lists' owners, I still cannot close it because its admin page still says it is included in other lists.
Pressing the button "View lists including it_privileged_owners" takes me to https://lists.hbs.edu/lists/including_lists/it_privileged_owners which only displays a blue box saying "No Lists".
I restarted sympa and wwsympa - no change.
15 hours after first seeing this behavior it still exists.
Version 6.2.70
Screen shots attached.
Screenshots
The text was updated successfully, but these errors were encountered: