Public bug reported:

I did a fresh install of bacula-directory from questing,
15.0.3-3ubuntu1, and got the following messages at the bacula console
and via email to root@localhost:

Message 1:
From [email protected]  Sun Aug 24 17:38:31 2025
X-Original-To: root
From: (Bacula) <[email protected]>
Subject: Bacula daemon message
Sender: [email protected]
To: [email protected]
Date: Sun, 24 Aug 2025 17:38:31 +0000 (UTC)

24-Aug 17:38 bacula-dir JobId 0: Warning: Encoding error for database "bacula". 
Wanted SQL_ASCII, got UTF8
24-Aug 17:38 bacula-dir JobId 0: Warning: Encoding error for database "bacula". 
Wanted SQL_ASCII, got UTF8

The postgresql database are:
root@q-bacula-dir:~# sudo -u postgres psql -l
                                                 List of databases
   Name    |  Owner   | Encoding | Locale Provider | Collate |  Ctype  | Locale 
| ICU Rules |   Access privileges
-----------+----------+----------+-----------------+---------+---------+--------+-----------+-----------------------
 bacula    | bacula   | UTF8     | libc            | C.UTF-8 | C.UTF-8 |        
|           |
 postgres  | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |        
|           |
 template0 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |        
|           | =c/postgres          +
           |          |          |                 |         |         |        
|           | postgres=CTc/postgres
 template1 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |        
|           | =c/postgres          +
           |          |          |                 |         |         |        
|           | postgres=CTc/postgres
(4 rows)

Maybe there is still a reference to SQL_ASCII somewhere in the config,
or code.

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- I did a fresh install of bacula-directory, 15.0.3-3ubuntu1, and got the
- following messages at the bacula console and via email to
- root@localhost:
+ I did a fresh install of bacula-directory from questing,
+ 15.0.3-3ubuntu1, and got the following messages at the bacula console
+ and via email to root@localhost:
  
  Message 1:
  From [email protected]  Sun Aug 24 17:38:31 2025
  X-Original-To: root
  From: (Bacula) <[email protected]>
  Subject: Bacula daemon message
  Sender: [email protected]
  To: [email protected]
  Date: Sun, 24 Aug 2025 17:38:31 +0000 (UTC)
  
  24-Aug 17:38 bacula-dir JobId 0: Warning: Encoding error for database 
"bacula". Wanted SQL_ASCII, got UTF8
  24-Aug 17:38 bacula-dir JobId 0: Warning: Encoding error for database 
"bacula". Wanted SQL_ASCII, got UTF8
  
- 
  The postgresql database are:
  root@q-bacula-dir:~# sudo -u postgres psql -l
-                                                  List of databases
-    Name    |  Owner   | Encoding | Locale Provider | Collate |  Ctype  | 
Locale | ICU Rules |   Access privileges   
+                                                  List of databases
+    Name    |  Owner   | Encoding | Locale Provider | Collate |  Ctype  | 
Locale | ICU Rules |   Access privileges
  
-----------+----------+----------+-----------------+---------+---------+--------+-----------+-----------------------
-  bacula    | bacula   | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | 
-  postgres  | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | 
-  template0 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | =c/postgres          +
-            |          |          |                 |         |         |      
  |           | postgres=CTc/postgres
-  template1 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | =c/postgres          +
-            |          |          |                 |         |         |      
  |           | postgres=CTc/postgres
+  bacula    | bacula   | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           |
+  postgres  | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           |
+  template0 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | =c/postgres          +
+            |          |          |                 |         |         |      
  |           | postgres=CTc/postgres
+  template1 | postgres | UTF8     | libc            | C.UTF-8 | C.UTF-8 |      
  |           | =c/postgres          +
+            |          |          |                 |         |         |      
  |           | postgres=CTc/postgres
  (4 rows)
  
- 
- Maybe there is still a reference to SQL_ASCII somewhere in the config, or 
code.
+ Maybe there is still a reference to SQL_ASCII somewhere in the config,
+ or code.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121318

Title:
  Fresh install of director: Warning: Encoding error for database
  "bacula". Wanted SQL_ASCII, got UTF8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/2121318/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to