Hi Bruno, 
fter disabling the two Python lines in the Bareos directory configuration, 
the error message no longer appears.
Thanks for your help.

Bruno Friedmann (bruno-at-bareos) schrieb am Mittwoch, 24. Dezember 2025 um 
11:58:27 UTC+1:

> Issue is created, https://github.com/bareos/bareos/issues/2492
>
> On Tuesday, 23 December 2025 at 13:07:25 UTC+1 Bruno Friedmann 
> (bruno-at-bareos) wrote:
>
>> Hi Stefan,
>>
>> Thanks for the list of packages. With all of them installed + having the 
>> plugin activated on the director I was able to reproduce the case.
>>
>> We aren't sure if you really use a director plugin which is not a python3 
>> plugin ? 
>> If not then you can setup your dir like this
>>
>> cat /etc/bareos/bareos-dir.d/director/bareos-dir.conf
>> Director {                            # define myself
>>   Name = bareos-dir
>>   QueryFile = "/usr/lib/bareos/scripts/query.sql"
>>   Maximum Concurrent Jobs = 10
>>   Password = "secret"         # Console password
>>   Messages = Daemon
>>   Auditing = yes
>>
>>   # Set to the number of purchased subscription units
>>   #
>>   Subscriptions = 100
>>
>>
>>   # Enable the Heartbeat if you experience connection losses
>>   # (eg. because of your router or firewall configuration).
>>   # Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd.
>>   #
>>   # Heartbeat Interval = 1 min
>>
>>   # remove comment from "Plugin Directory" to load plugins from specified 
>> directory.
>>   # if "Plugin Names" is defined, only the specified plugins will be 
>> loaded,
>>   # otherwise all director plugins (*-dir.so) from the "Plugin Directory".
>>   #
>>
>> *  Plugin Directory = "/usr/lib/bareos/plugins"  Plugin Names = "Python3"*
>> }
>>
>> if you don't use plugin at all on tje director you can just comment the 
>> both line
>>
>> This will remove the error line.
>>
>> I will open a proper issue tomorrow on github.
>>
>> On Tuesday, 23 December 2025 at 01:41:30 UTC+1 Stefan Harbich wrote:
>>
>>> Hello, the following Bareos packages are installed.
>>> My Python version is 3.13.5.
>>> What directory configuration is required (job, job definition, etc.)?
>>> ...
>>> root@bareos:~# dpkg -l bareos-* | grep ii
>>> ii  bareos-bconsole                             
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - text console
>>> ii  bareos-client                               
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - client metapackage
>>> ii  bareos-common                               
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - common files
>>> ii  bareos-contrib-director-python-plugins     
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - contributed Director plugins
>>> ii  bareos-contrib-filedaemon-python-plugins   
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - contributed File Daemon plugins
>>> ii  bareos-contrib-tools                       
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - contributed tools
>>> ii  bareos-database-common                     
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - common catalog files
>>> ii  bareos-database-postgresql                 
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - PostgreSQL backend
>>> ii  bareos-database-tools                       
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - database tools
>>> ii  bareos-dbg                                 
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - debugging symbols
>>> ii  bareos-director                             
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - director daemon
>>> ii  bareos-director-python-plugins-common       
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - director Python plugin common files
>>> ii  bareos-director-python3-plugin             
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - director Python plugin
>>> ii  bareos-filedaemon                           
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon
>>> ii  bareos-filedaemon-ldap-python-plugin       
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon LDAP plugin
>>> ii  bareos-filedaemon-mariabackup-python-plugin 
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon Mariabackup plugin
>>> ii  bareos-filedaemon-postgresql-python-plugin 
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon PostgreSQL plugin
>>> ii  bareos-filedaemon-python-plugins-common     
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon Python plugin common files
>>> ii  bareos-filedaemon-python3-plugin           
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - file daemon Python plugin
>>> ii  bareos-storage                             
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - storage daemon
>>> ii  bareos-storage-python-plugins-common       
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - storage daemon Python plugin common files
>>> ii  bareos-storage-python3-plugin               
>>> 25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - storage daemon Python plugin
>>> ii  bareos-tools                               
>>>  25.0.2~pre13.add249aa9-15 amd64        Backup Archiving Recovery Open 
>>> Sourced - common tools
>>> ii  bareos-webui                               
>>>  25.0.2~pre13.add249aa9-15 all          Backup Archiving Recovery Open 
>>> Sourced - webui
>>> root@bareos:~# python3 -V
>>> Python 3.13.5
>>> ...
>>>
>>> Bruno Friedmann (bruno-at-bareos) schrieb am Montag, 22. Dezember 2025 
>>> um 15:36:41 UTC+1:
>>>
>>>> Hi, the joblog is one thing, what we need to understand is why you got 
>>>> a message from bareos-dir about python3
>>>>
>>>> Do you have in place some bareos dir python3 plugins ? 
>>>> How look the configuration of your bareos director ?
>>>>
>>>> For the message it comes from the fixed code published in commit
>>>>
>>>> https://github.com/bareos/bareos/commit/af00a624d8413e10b1b147f9c4c43f353fdbd3f2
>>>>
>>>> Which fixes error popping out with python 3.12+ and fixed all know 
>>>> python in used in supported platforms.
>>>> As we have systemtest covering the python3 plugin in director (located 
>>>> here)
>>>>
>>>> https://github.com/bareos/bareos/tree/bareos-25/systemtests/tests/py3plug-dir
>>>> and no commit is merged before all tests are green, we really wonder 
>>>> what is the status of your installation,
>>>> any details you can share with us, might allow us to reproduce the 
>>>> problem.
>>>>
>>>> On Monday, 22 December 2025 at 15:07:51 UTC+1 Stefan Harbich wrote:
>>>>
>>>>> Hello,
>>>>> i' m attaching the log file from the backups on December 22, 2025.
>>>>> An error message is generated before every backup (regardless of which 
>>>>> one).
>>>>> Why?
>>>>>
>>>>> Bruno Friedmann (bruno-at-bareos) schrieb am Montag, 22. Dezember 2025 
>>>>> um 10:58:28 UTC+1:
>>>>>
>>>>>> Hi Stefan to complete my previous request:
>>>>>>
>>>>>> This shouldn't happen, because we normally would have catch it during 
>>>>>> CI/CD stages.
>>>>>> So we are really interested by your setup, what plugin is activated 
>>>>>> and in use in your dir ...
>>>>>>
>>>>>> Regards
>>>>>> On Monday, 22 December 2025 at 09:53:38 UTC+1 Bruno Friedmann 
>>>>>> (bruno-at-bareos) wrote:
>>>>>>
>>>>>>> Could you tell us a bit more abour the job, like what kind of plugin 
>>>>>>> is in use ...
>>>>>>>
>>>>>>>
>>>>>>> On Friday, 19 December 2025 at 08:25:55 UTC+1 Stefan Harbich wrote:
>>>>>>>
>>>>>>>> Hello, after updating to version 25.0.2, I receive the following 
>>>>>>>> email message before every job:
>>>>>>>> ...
>>>>>>>> 19-Dez 07:02 bareos-dir JobId 365: Fatal error: python3-dir: No 
>>>>>>>> associated thread state found
>>>>>>>> ...
>>>>>>>> Where does this message come from?
>>>>>>>>
>>>>>>>> Regards, Stefan Harbich
>>>>>>>>
>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/8249cf1f-13b6-4095-a710-4249c1b9c43an%40googlegroups.com.

Reply via email to