Having problem with munkireport

898 views
Skip to first unread message

Steven De Gracia

unread,
Mar 2, 2015, 6:26:18 PM3/2/15
to munki...@googlegroups.com
Hi,

Has anyone received this error message while updating to the new version?

"Connection failed: SQLSTATE[HY000] [14] unable to open database file"

Any help with this will be appreciated.

Steven 

lists.mac

unread,
Mar 2, 2015, 6:28:59 PM3/2/15
to munki...@googlegroups.com
Are you using sqlite? Check if the directory /app/db/ is writeable by the webserver (only when using sqlite) 



Marnin


  
--
You received this message because you are subscribed to the Google Groups "munkireport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munkireport...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steven De Gracia

unread,
Mar 2, 2015, 6:46:00 PM3/2/15
to munki...@googlegroups.com
I am using sqlite. I notice it wasn't there. So I drag and dropped it in and it working but I get this message now.
"
  • Migration error: machine: Failed: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database"

lists.mac

unread,
Mar 2, 2015, 9:13:54 PM3/2/15
to munki...@googlegroups.com
Confirm the directory /app/db/ is writeable by the web server


Marnin

Michael Mohr

unread,
Oct 20, 2015, 10:11:14 PM10/20/15
to munkireport
What is the terminal command to do this? chmod then what? Im having the same issue after upgrading.

Thank you, Mike

Mike Solin

unread,
Oct 20, 2015, 11:08:02 PM10/20/15
to munki...@googlegroups.com
I can’t remember if the user you’ll want is ‘web’ or ‘apache’, but you’ll want to use chown in conjunction with chmod.
On Tue, Oct 20, 2015 at 10:11 PM, Michael Mohr <mm...@convoyofhope.org> wrote:
What is the terminal command to do this? chmod then what? Im having the same issue after upgrading.

Thank you, Mike

bryan...@gmail.com

unread,
Oct 22, 2015, 9:06:05 AM10/22/15
to munkireport
Depending on which version of the OS you're running and where your website is, you'll want something like

sudo chown -R _www /Library/WebServer/Documents
Reply all
Reply to author
Forward
0 new messages