![]() rw-r-r- 1 _svn _svn 0 Apr 10 17:48 write-lockīTW - doas is a very simple replacement for sudo. OperationalError at /admin/login/ I am getting an attempt to write a readonly database error. The unit tests recreate DB schema on every test. Not a DB deadlock but a wrong assumption :). The most obvious pieces of advice were to check file permissions. ĭrwxr-xr-x 6 _svn _svn 512 Apr 10 17:48. SQLite Error 8: ‘attempt to write a readonly database’ I googled a lot trying to realize what could cause this error. ![]() I see the option to force DB Browser for SQLite to open a file in readonly mode but I do not see and option for the opposite action (i.e. Is it a reasonable fix to just manually change rep-cache.db permissions or ownership? Or did I make a mistake when setting up the environment?ĭrwxr-sr-x 6 _svn _svn 512 Apr 10 17:51. It seems anytime DB Browser for SQLite detects that a database file is on a network drive it opens it in 'readonly' mode. rw-r-r- 1 _svn _svn 0 Apr 9 17:35 write-lockīut those permissions were set up automatically by svn. Still i am getting read-only database error. The user and group of the file are set to apache (under which the server is running) using chown and chgrp. rw-r-r- 1 _svn _svn 2 Apr 10 13:10 txn-current 1 OperationalError: attempt to write a readonly database 2 I have checked the permissions of the file. ![]() rw-r-r- 1 _svn _svn 2 Apr 9 17:35 min-unpacked-rev Is this a known problem? I see rep-cache.db might be the problem:ĭrwxr-sr-x 6 _svn _svn 512 Apr 10 13:10. Sqlite: attempt to write a readonly database Warning: post commit FS processing had error: Svn import bin svn:// /project-A/trunk/binĪuthentication realm: I copied some files into the new ~/project-A/trunk ![]() Then I did an: svn checkout svn:// /project-A The server runs as: doas -u _svn svnserve -d -r /var/svnĭirectories were created with: svn mkdir svn:// /project-A/ The repository was created with: doas -u _svn svnadmin create /var/svn/project-A I just set up a server (svnserve, version 1.8.14 (r1692801)) on OpenBSD-5.8. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |