View Ticket
Not logged in
Ticket UUID: 9ce0321b54eb5c8e8fc782f2afb55302685c42c5
Title: fossil push - server says: not authorized to write
Status: Closed Type: Incident
Severity: Priority: Low
Subsystem: Resolution: Open
Last Modified: 2009-05-22 08:05:11
Version Found In: 2009-01-29
Description & Comments:
Whenever I want to sync or push from a local repository to the 'main' repository, I get this answer and fossil bails out. I checked the users on the local and remote repositories and they are the same. Tried to look for this in the documentation and tickets but could not find anything. How can I resolve this ?

Thx, Wim


anonymous added on 2009-05-09 15:33:57:
I found out by browsing the database where my problem was. Although you update your user info (specifically passwords), the last-sync-url does not get updated. Updating this variable with the reset password settles the problem. Is there a way to update the last-sync-url from the command line ?


drh added on 2009-05-09 19:15:22:
The last-sync-url is updated automatically when you do a push, pull, or sync that specifies an explicit url. Example:

fossil pull http://USER:PASSWORD@www.mysite.net/project1

The command above will store the "http://USER:PASSWORD@www.mysite.net/project1" in the last-sync-url variable. Note also that the USER:PASSWORD, is stored but never displayed.