[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Snapshot on wheezy.



(Resending as I couldn't see my original mail)

>
>On 09/03/2014 12:46, "Peter Palfrader" <weasel@debian.org> wrote:
>
>
>>On Tue, 04 Mar 2014, Jakub Mikusek wrote:
>>
>>Which git revision are you on?  I just committed some changes I made in
>>November to a wheezy branch.  Not sure if that's all that's needed --
>>please provide feedback.
>
>Doh!
>I was on master branch and unaware of the wheezy branch.
>
>I got bit further but with less errors:
>
>Snapshot user: snapshot
>$ARCHIVE_NAME = snapshot
>$ARCHIVE_PATH = /srv/snapshot.debian.org/
>ls /srv/snapshot:
>dumps
>farm2
>snapshot
>
>
>
>$ cat snapshot.conf
>db:
>  # this is what python uses:
>  connectstring: "dbname='snapshot' user='snapshot' host='localhost'
>password='dupa.8'"
>  # this is what ruby uses:
>  host: localhost
>  database: snapshot
>  user: snapshot
>  password: dupa.8
>db-ro:
>  # read only info, used for instance for the web service
>  host: localhost
>  port: 5433
>  database: snapshot
>  user: guest
>dump:
>  dumppath: /srv/snapshot/dumps
>  incoming-dumppath: /srv/snapshot/dumps
>snapshot:
>  farmpath: /srv/snapshot/farm2
>log:
>  filename: 'snapshot.log'
>
>
>
>
>snapshot@repo00:/srv/snapshot.debian.org/db$ ./upgrade ../snapshot.conf
>Database is at 1
>Database upgrade to 2 committed.
>Database is at 2
>Database upgrade to 3 committed.
>Database is at 3
>Database upgrade to 4 committed.
>Database is at 4
>Database upgrade to 5 committed.
>Database is at 5
>Database upgrade to 6 committed.
>Database is at 6
>Database upgrade to 7 committed.
>Database is at 7
>Database upgrade to 8 committed.
>Database is at 8
>Database upgrade to 9 committed.
>Database is at 9
>Database upgrade to 10 committed.
>Database is at 10
>Database upgrade to 11 committed.
>Database is at 11
>Database upgrade to 12 committed.
>Database is at 12
>Database upgrade to 13 committed.
>Database is at 13
>Database upgrade to 14 committed.
>Database is at 14
>Database upgrade to 15 committed.
>Database is at 15
>Upgrade script upgrade_16.py does not exist.  Maybe we are done.
>snapshot@repo00:/srv/snapshot.debian.org/db$ cd ..
>snapshot@repo00:/srv/snapshot.debian.org$ ./snapshot -c snapshot.conf -v
>-a $ARCHIVE_NAME add-archive
>snapshot@repo00:/srv/snapshot.debian.org$ ./snapshot -s -c snapshot.conf
>-p $ARCHIVE_PATH -v -a $ARCHIVE_NAME import
>E, [2014-03-10 04:32:43#23309] ERROR -- : Please run with TZ=UTC
>snapshot@repo00:/srv/snapshot.debian.org$ TZ=UTC ./snapshot -s -c
>snapshot.conf -p $ARCHIVE_PATH -v -a $ARCHIVE_NAME import
>E, [2014-03-10 08:32:51#23318] ERROR -- : Archive snapshot does not exist
>snapshot@repo00:/srv/snapshot.debian.org$
>
>
>
>
>snapshot@repo00:/srv/snapshot.debian.org$ tail -n 5 snapshot.log
>W, [2014-03-06 16:33:13#24191]  WARN -- : Arguments: snapshot
>E, [2014-03-10 04:32:36#23308] ERROR -- : Please run with TZ=UTC
>E, [2014-03-10 04:33:19#23329] ERROR -- : Please run with TZ=UTC
>E, [2014-03-10 04:36:14#23377] ERROR -- : Please run with TZ=UTC
>E, [2014-03-10 04:36:41#23391] ERROR -- : Please run with TZ=UTC
>snapshot@repo00:/srv/snapshot.debian.org$
>
>
>
>I might be getting wrong the meaning of both $ARCHIVE_* variables - what
>should they be pointing at - a debian archive (like for example apt-cacher
>directory?)
>I hope it's not a dumb question, but it's not quite obvious to me from
>reading the doc.
>
>Regards,
>Jakub
>
>
>>
>>--
>>                           |  .''`.       ** Debian **
>>      Peter Palfrader      | : :' :      The  universal
>>http://www.palfrader.org/ | `. `'      Operating System
>>                           |   `-    http://www.debian.org/
>
>


Reply to: