Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SQLiteJournal not working in VM's shared folder #37
Newly added optimizations of SQLiteJournal caused problem for using SQLiteJournal for apps running in virtual machine (tested in Virtualbox). WAL option doesn't work with network filesystem which is used in Virtualbox.
PRAGMA journal_mode = WAL;
Way to switch WAL on/off in journal or removal of the line would fix the problem.
This is interesting.
Anyhow it seems to be some sort of permission issue...
If you put this into your script:
var_dump(getmyuid()); var_dump(decoct(fileperms(__DIR__))); var_dump(is_writable(__DIR__));
and run it like this:
$ docker run --rm -it -p 39999:80 -v `pwd`:/var/www/html php:5.6-apache
you should get:
It looks like PHP runs under uid 1000 which does not exist inside the container -- wtf...
Tested with Linux + Docker 1.9.1.
Permissions on Linux behave bit different. Windows folder mounted into VM
As I wrote issue is probably VM related. On Linux, there is no VM with
On Wed, Jan 20, 2016, 01:48 Michael Moravec email@example.com
This is the vboxvfs issue.
The SQLite opens
And fails when trying to mmap:
You can find more issues on Google by