[rancid] Problem after Ubuntu-upgrade

john heasley heas at shrubbery.net
Tue Feb 9 17:24:29 UTC 2021


Tue, Feb 09, 2021 at 12:37:49PM +0000, Peltokangas Mikko:
> Hi,
> I have read error, but when I do the cleanup, it gives me 
> svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present
> 
> So I can't remove locks. And it appeared after I upgraded the system. 

You probably need a clean working copy.

cd <rancid dir>
mv <rancid group> <rancid group>.old
svn co `(cd <rancid group>.old; svn info --show-item url)`

> But thanks, I think that I look that error from SVN then.
> 
> -mikko
> 
> 
> ________________________________________
> Lähettäjä: john heasley <heas at shrubbery.net>
> Lähetetty: 8. helmikuuta 2021 19:58
> Vastaanottaja: Craig Hopkins
> Kopio: Peltokangas Mikko
> Aihe: Re: [rancid] Problem after Ubuntu-upgrade
> 
> Mon, Feb 08, 2021 at 01:38:22PM +0000, Craig Hopkins:
> > Are you running SVN as your backend? It looks like it just needs a cleanup
> > so it can repair the repo.
> 
> exactly, read the error please.  It seems that you must have rebooted or
> otherwise killed rancid processes while they were performing svn operations.
> Rancid does not do this for you, because it could be an indicator that
> someone is or has been manipulating the repository.
> 
> for each rancid group:
> 
>         cd <rancid dir>/<rancid group>
>         svn cleanup
> 
> > On Mon, 8 Feb 2021, 13:03 Peltokangas Mikko, <Mikko.Peltokangas at alavus.fi>
> > wrote:
> >
> > > Hi,
> > >
> > > I just upgraded from 18.04 to 20.04 and now my rancid wont update configs
> > > anymore.
> > >
> > > Rancid version is 3.11
> > >
> > >
> > > When I run rancid-run there appear these lines to /var/log/rancid/*.log
> > >
> > >
> > > starting: Mon 08 Feb 2021 05:00:01 AM EET
> > >
> > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup'
> > > for details)
> > > svn: warning: W155010: Pristine text
> > > '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not present
> > > svn: warning: W155010: Pristine text
> > > '6b27c723e02bda804e8a6ce3a52e034ef2451297' not present
> > > svn: warning: W155010: Pristine text
> > > '4480b8a56f2cc852fe5bf1f26911d0cc6513b5db' not present
> > >
> > > And when I run it with Observium, it gives these lines too:
> > >
> > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not
> > > present
> > > svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup'
> > > for details)
> > > svn: E155004: Commit failed (details follow):
> > > svn: E155004: Working copy '/var/lib/rancid/observium' locked.
> > > svn: E155004: '/var/lib/rancid/observium' is already locked.
> > > svn: E155010: Pristine text '4237ad85ad6abf8dd80d9dc1e2d7b8aacf94c988' not
> > > present
> > >
> > > ending: Mon 08 Feb 2021 05:09:28 AM EET
> > >
> > > Any advices?



More information about the Rancid-discuss mailing list