1
這是我第一次嘗試在我的個人服務器上託管一個化石庫。當我嘗試克隆Windows 7上的項目時,我收到一條奇怪的消息:關於克隆化石的錯誤:「試圖寫一個只讀數據庫」
PS [folder]> fossil clone 'http://[hostName]/cgi-bin/repo/[repoName]' [repoName].fossil
Bytes Cards Artifacts Deltas
Sent: 53 1 0 0
Received: 218 1 0 0
Sent: 58 1 0 0
Error: Database error: attempt to write a readonly database
UPDATE event SET mtime=(SELECT m1 FROM time_fudge WHERE mid=objid) WHERE objid IN (SELECT mid FROM time_fudge);DROP TABLE time_fudge;
Received: 218 1 0 0
Total network traffic: 515 bytes sent, 858 bytes received
C:\Program Files (x86)\Fossil\fossil.exe: server returned an error - clone aborted
錯誤消息是什麼意思?我哪裏做錯了?
你可以正確瀏覽'http:// [hostName]/cgi-bin/repo/[repoName]'嗎?看來這個錯誤在服務器端。化石資源庫文件是否可由http服務器寫入? – Benoit
優秀的問題。我現在就試了一下。我可以導航到它,但我無法登錄。即使通過http服務器看來也是不可寫的。 – Japtar
這是否偶然與(linux)權限有關?我已經制作了所有由root擁有的化石資源庫,併爲其他人提供了讀取權限。 – Japtar