pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
6+ messages / 4 participants
[nested] [flat]

* pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-21 07:10  Eric Veldhuyzen <ericv@xs4all.net>
  0 siblings, 2 replies; 6+ messages in thread

From: Eric Veldhuyzen @ 2020-01-21 07:10 UTC (permalink / raw)
  To: pgsql-general


Hi,

We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
Last night our nightly diff backup gave me the
ERROR: unable to convert base 10 string '0000000B' to unsigned int.
I tried if a full backup would fix this, but it didn't.

Luckily this was only on our development/test cluster, so it is not a real
problem, but what is going on here and what would be the best way to fix this?

The last few lines of the log (with --log-level-console=info) are:

2020-01-21 08:07:44.613 P02   INFO: backup file
ericv.dev.xs4all.net:/var/lib/postgresql/11/main/pg_xact/0000 (136KB, 100%)
checksum 76e273a0f888d449a540f86eacd0bb8386c49209
2020-01-21 08:07:44.614 P00   INFO: full backup size = 62.7MB
2020-01-21 08:07:44.615 P00   INFO: execute non-exclusive pg_stop_backup() and
wait for all WAL segments to archive
2020-01-21 08:07:44.917 P00   INFO: backup stop archive =
0000000B00000015000000C3, lsn = 15/C3002F38
ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
2020-01-21 08:07:45.448 P00   INFO: backup command end: aborted with exception [029]

Eric Veldhuyzen

Attachments:

  signature.asc (application/pgp-signature, 1.0K) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-21 07:28  Ron <ronljohnsonjr@gmail.com>
  parent: Eric Veldhuyzen <ericv@xs4all.net>
  1 sibling, 1 reply; 6+ messages in thread

From: Ron @ 2020-01-21 07:28 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 1/21/20 1:10 AM, Eric Veldhuyzen wrote:
> Hi,
>
> We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
> Last night our nightly diff backup gave me the
> ERROR: unable to convert base 10 string '0000000B' to unsigned int.
> I tried if a full backup would fix this, but it didn't.

Maybe I'm missing something, but 0000000*B* looks *hexa*decimal, not decimal.

> Luckily this was only on our development/test cluster, so it is not a real
> problem, but what is going on here and what would be the best way to fix this?
>
> The last few lines of the log (with --log-level-console=info) are:
>
> 2020-01-21 08:07:44.613 P02   INFO: backup file
> ericv.dev.xs4all.net:/var/lib/postgresql/11/main/pg_xact/0000 (136KB, 100%)
> checksum 76e273a0f888d449a540f86eacd0bb8386c49209
> 2020-01-21 08:07:44.614 P00   INFO: full backup size = 62.7MB
> 2020-01-21 08:07:44.615 P00   INFO: execute non-exclusive pg_stop_backup() and
> wait for all WAL segments to archive
> 2020-01-21 08:07:44.917 P00   INFO: backup stop archive =
> 0000000B00000015000000C3, lsn = 15/C3002F38
> ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
> 2020-01-21 08:07:45.448 P00   INFO: backup command end: aborted with exception [029]
>
> Eric Veldhuyzen
>

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-21 07:55  Eric Veldhuyzen <ericv@xs4all.net>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Eric Veldhuyzen @ 2020-01-21 07:55 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Ron wrote:
> On 1/21/20 1:10 AM, Eric Veldhuyzen wrote:
>> Hi,
>>
>> We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
>> Last night our nightly diff backup gave me the
>> ERROR: unable to convert base 10 string '0000000B' to unsigned int.
>> I tried if a full backup would fix this, but it didn't.
> 
> Maybe I'm missing something, but 0000000*B* looks *hexa*decimal, not decimal.

You're not missing something, and this is most likely also the reason that this
fails. I'm quite sure it should try to convert a base 16 string here to an
unsigned int...

Eric Veldhuyzen

Attachments:

  signature.asc (application/pgp-signature, 1.0K) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-21 08:22  Michael Paquier <michael@paquier.xyz>
  parent: Eric Veldhuyzen <ericv@xs4all.net>
  1 sibling, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2020-01-21 08:22 UTC (permalink / raw)
  To: Eric Veldhuyzen <ericv@xs4all.net>; +Cc: pgsql-general

On Tue, Jan 21, 2020 at 08:10:39AM +0100, Eric Veldhuyzen wrote:
> We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
> Last night our nightly diff backup gave me the
> ERROR: unable to convert base 10 string '0000000B' to unsigned int.
> I tried if a full backup would fix this, but it didn't.

Did you try to contact the maintainers?  Here is the link to the
project:
https://github.com/pgbackrest/pgbackrest
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-21 15:45  David Steele <david@pgmasters.net>
  parent: Eric Veldhuyzen <ericv@xs4all.net>
  0 siblings, 1 reply; 6+ messages in thread

From: David Steele @ 2020-01-21 15:45 UTC (permalink / raw)
  To: ericv@xs4all.net; pgsql-general@lists.postgresql.org

On 1/21/20 12:55 AM, Eric Veldhuyzen wrote:
> Ron wrote:
>> On 1/21/20 1:10 AM, Eric Veldhuyzen wrote:
>>> Hi,
>>>
>>> We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
>>> Last night our nightly diff backup gave me the
>>> ERROR: unable to convert base 10 string '0000000B' to unsigned int.
>>> I tried if a full backup would fix this, but it didn't.
>>
>> Maybe I'm missing something, but 0000000*B* looks *hexa*decimal, not decimal.
> 
> You're not missing something, and this is most likely also the reason that this
> fails. I'm quite sure it should try to convert a base 16 string here to an
> unsigned int...

That's exactly what should be happening.  There has already been a bug 
filed at https://github.com/pgbackrest/pgbackrest/issues/910 and you can 
find more details there.

Regards,
-- 
-David
david@pgmasters.net





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
@ 2020-01-23 18:38  David Steele <david@pgmasters.net>
  parent: David Steele <david@pgmasters.net>
  0 siblings, 0 replies; 6+ messages in thread

From: David Steele @ 2020-01-23 18:38 UTC (permalink / raw)
  To: ericv@xs4all.net; pgsql-general@lists.postgresql.org

On 1/21/20 8:45 AM, David Steele wrote:
> On 1/21/20 12:55 AM, Eric Veldhuyzen wrote:
>> Ron wrote:
>>> On 1/21/20 1:10 AM, Eric Veldhuyzen wrote:
>>>> Hi,
>>>>
>>>> We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
>>>> Last night our nightly diff backup gave me the
>>>> ERROR: unable to convert base 10 string '0000000B' to unsigned int.
>>>> I tried if a full backup would fix this, but it didn't.
>>>
>>> Maybe I'm missing something, but 0000000*B* looks *hexa*decimal, not 
>>> decimal.
>>
>> You're not missing something, and this is most likely also the reason 
>> that this
>> fails. I'm quite sure it should try to convert a base 16 string here 
>> to an
>> unsigned int...
> 
> That's exactly what should be happening.  There has already been a bug 
> filed at https://github.com/pgbackrest/pgbackrest/issues/910 and you can 
> find more details there.

This issue was fixed in 2.22, released on 21 JAN.

-- 
-David
david@pgmasters.net





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2020-01-23 18:38 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 07:10 pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int Eric Veldhuyzen <ericv@xs4all.net>
2020-01-21 07:28 ` Ron <ronljohnsonjr@gmail.com>
2020-01-21 07:55   ` Eric Veldhuyzen <ericv@xs4all.net>
2020-01-21 15:45     ` David Steele <david@pgmasters.net>
2020-01-23 18:38       ` David Steele <david@pgmasters.net>
2020-01-21 08:22 ` Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox