Skip to Content.
Sympa Menu

en - Re: [sympa-users] "Unable to open file" while trying to include list members from external datasources.

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Ramon Roca <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] "Unable to open file" while trying to include list members from external datasources.
  • Date: Tue, 5 Oct 2021 16:26:24 +0200

answering myself.

the problem was that while editing the data sources, my browser (chrome) was autofilling the fields for include file with my email, so creating another datasource inadvertently...  and therefore causing the problem "Unable to open file...." (there was no file with such name).

deleting this "ghost" data source entry, subscribers got synched again without errors.

r.


El 2/10/21 a les 18:19, Ramon Roca ha escrit:
Our instance can't sync list members from external data sources.

While looking into the logs, seems that the list of members is obtained correctly, saying that got "X" members, tested with retrieving the list from url and LDAP with same results.

In the example log provided below, you'll see the message:

info Sympa::List::_include_users_remote_file() 8 included users from remote file http://flows.domain.tld:1880/lists/tm_test

However, the inclusion fails. And looking above of the mentioned line, there is an error "Unable to open file...":

Sympa::List::_include_users_file#4869 Unable to open file "address@concealed"

Below, the complete log provided while trying to refresh the datasource:

Oct  2 18:10:12 llistes wwsympa[8627]: info main::do_sync_include(tm_test) [robot llistes.domain.tld] [session 60022905863525] [client 109.69.9.4] [user address@concealed] [list tm_test]
Oct  2 18:10:12 llistes wwsympa[8627]: err main::#1566 > main::do_sync_include#16573 > Sympa::List::sync_include#6683 > Sympa::List::_load_list_members_from_include#5997 > Sympa::List::_include_users_file#4869 Unable to open file "address@concealed"
Oct  2 18:10:12 llistes wwsympa[8627]: err main::#1566 > main::do_sync_include#16573 > Sympa::List::sync_include#6683 > Sympa::List::_load_list_members_from_include#6012 Inclusion include_file failed in list Sympa::List <address@concealed>
Oct  2 18:10:12 llistes wwsympa[8627]: info Sympa::List::_include_users_remote_file() 8 included users from remote file http://flows.domain.tld:1880/lists/tm_test
Oct  2 18:10:12 llistes wwsympa[8627]: err main::#1566 > main::do_sync_include#16573 > Sympa::List::sync_include#6695 Errors occurred while synchronizing datasources for list Sympa::List <address@concealed>
Oct  2 18:10:12 llistes wwsympa[8627]: notice Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,4433>; address@concealed; address@concealed; recipients=ARRAY; address@concealed; template=listmaster_notification; type=sync_include_failed
Oct  2 18:10:12 llistes wwsympa[8627]: notice Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed,4433> is stored into bulk spool as <address@concealed,8627,460>
Oct  2 18:10:12 llistes wwsympa[8627]: notice Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,6801>; address@concealed; address@concealed; recipients=ARRAY; address@concealed; template=listmaster_notification; type=web_intern_error; action=Command process
Oct  2 18:10:12 llistes wwsympa[8627]: notice Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed,6801> is stored into bulk spool as <address@concealed,8627,7709>

Any clue of what could be wrong in our instance? Is that "Unable to open file..." the problem?







Archive powered by MHonArc 2.6.19+.

Top of Page