<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><br>
</span><span style="color:#1F497D">I started QGIS 3 in a working environment as a new user and then copied the whole profile directory.  You do have to go through the settings first, particularly for Processing, and for Network and remove any paths that are
 specific to your user.  And if the user has already had the problem then you have to completely log them out of the system.  But then it should work.  In our case the directories themselves seemed to have the lock on them.  The error is about qgis.db but when
 we look at the profile, the whole profile directory is missing but secretly still there.  So just copying a particular file wouldn’t work.<br>
<br>
<br>
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alexander Numann [mailto:alexander.numann@nextfab.com]
<br>
<b>Gesendet:</b> Friday, July 05, 2019 5:23 PM<br>
<b>An:</b> Hillers Heather<br>
<b>Cc:</b> qgis-user@lists.osgeo.org<br>
<b>Betreff:</b> Re: [Qgis-user] Win7 with Roaming App Data and Profile Redirection - [ERROR] Can not make qgis.db private copy<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Heather,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for your response! In my situation, I'm getting this error for 100% of users with redirected app data rather than just some, but I am interested in your workaround.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Could you help me understand which files/folders you're copying from a known good/working profile to a problematic one? I can test in our environment and let you know if that resolves the issue for us.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again,<br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="348" style="width:2.9in">
<tbody>
<tr>
<td width="348" style="width:2.9in;border:none;border-bottom:solid #CCCCCC 1.0pt;padding:0in 0in 0in 0in">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="348" style="width:2.9in">
<tbody>
<tr>
<td width="348" style="width:2.9in;padding:0in 0in 0in 0in">
<p style="margin-top:9.0pt;line-height:10.5pt"><strong><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif";color:#00AFD5">Alex Numann</span></strong><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><br>
</span><em><span style="font-size:8.5pt;font-family:"Georgia","serif"">Lead Mechanical Engineer</span></em><span style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><br>
<br>
<strong><span style="font-family:"Helvetica","sans-serif";color:#00AFD5">P:</span></strong> <a href="tel:2159213649" target="_blank"><span style="color:black">215.921.3649</span></a><br>
<strong><span style="font-family:"Helvetica","sans-serif";color:#00AFD5">E:</span></strong> <a href="mailto:alexander.numann@nextfab.com" target="_blank"><span style="color:black">alexander.numann@nextfab.com</span></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:16.8pt">
<td width="151" valign="top" style="width:90.6pt;padding:9.0pt 0in 0in 0in;height:16.8pt">
<p class="MsoNormal" style="mso-line-height-alt:9.75pt"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black"><a href="http://nextfab.com/" target="_blank"><span style="text-decoration:none"><img border="0" width="151" height="28" id="_x0000_i1025" src="https://nextfab.com/signature/img/logo.png"></span></a><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="348" style="width:2.9in;padding:0in 0in 0in 0in;text-transform:capitalize">
<p style="mso-margin-top-alt:9.0pt;margin-right:0in;margin-bottom:9.0pt;margin-left:0in;line-height:9.75pt">
<span style="font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black"><a href="https://nextfab.com/location/south-philadelphia/" target="_blank"><span style="color:black">South Philadelphia</span></a>  |   <a href="https://nextfab.com/location/north-philadelphia/" target="_blank"><span style="color:black">North
 Philadelphia</span></a>  |   <a href="https://nextfab.com/location/downtown-wilmington/" target="_blank"><span style="color:black">Wilmington, DE</span></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 4, 2019 at 2:30 AM Hillers Heather <<a href="mailto:Heather.Hillers@erftverband.de" target="_blank">Heather.Hillers@erftverband.de</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><br>
We have the same problem with QGIS 3 on our windows 7 network environment with user profiles on a network drive.  Here there is no permission problem.  Users have complete permission to write to their profiles.  The problem seems to come from a delay in syncronization
 between the Windows server and the network drive.   Basically:<br>
<br>
1. The profile is created.  It exists on the network drive.  The windows side doesn't see it yet.<br>
2.  Something happens (a bad miracle occurs)  that did not happen in QGIS 2 - maybe an attempt to read the database, or write to it? and it happens evidently before Windows recognizes that the profile directory exists.  This results in a mysterious lock. And
 your  launch time error message "[ERROR] Cannot make qgis.db private copy".<br>
<br>
After closing qgis:<br>
3.  The profile directory cannot be read now, or accessed in any way, because Windows says it does not exist.<br>
4. The profile directory cannot be manually created, because the network drive says it already exists.<br>
5. The profile directory also cannot be removed, because the Windows side says it does not exist.<br>
<br>
Restarting QGIS 3 does not fix the problem.  This situation continues until the user completely logs out of the system.  At that point we can usually copy a dummy profile into the directory and start QGIS with that.  But with 50 users this is not optimal. 
 It happened generally on particular days (maybe there was more traffic than usual) to 4 out of every 5 users.<br>
<br>
The situation is only relevant to brand new users, once the profile is established, everything is ok.<br>
<br>
The situation is impossible to reproduce on purpose.  It is entirely dependent on the weather.<br>
<br>
I ended up with the workaround of installing a dummy profile for all prospective users before introducing them to the system.  This is actually not a bad thing, because now the users have the right default settings all set before they start.
<br>
<br>
H. Hillers<br>
Abteilung: Informationstechnologie<br>
Erftverband, Am Erftverband 6 , D 50126 Bergheim<br>
<br>
<br>
> Is anyone able to help with this error on Windows 7? "[ERROR] Can not make<br>
> qgis.db private copy"<br>
><br>
> *Alex Numann*<br>
<br>
><br>
><br>
> On Fri, Jun 28, 2019 at 2:05 PM Alexander Numann <<br>
> <a href="mailto:alexander.numann@nextfab.com" target="_blank">alexander.numann@nextfab.com</a>> wrote:<br>
><br>
>> Hi,<br>
>><br>
>> I am working to make QGIS available to the users of our Makerspace. I<br>
>> have installed version QGIS-OSGeo4W-3.8.0-1-Setup-x86_64 on a Win7 x64<br>
>> machine, and it tested fine with a local admin, a network admin, and a<br>
>> local non-admin (guest user).<br>
>><br>
>> The vast majority of our users are non-admin network accounts. When<br>
>> testing with one of those users, we get an error on launch "[ERROR] Can not<br>
>> make qgis.db private copy".<br>
>><br>
>> Based on this only affecting a non-admin network account, I'm guessing<br>
>> this is permission and/or profile redirection related.<br>
>><br>
>> This is a brand new install with no customization, just running the<br>
>> installer package. Any advice or suggestions you may be able to provide<br>
>> would be much appreciated.<br>
>><br>
>> Thank you,<br>
>><br>
>> *Alex Numann*<br>
>> *Lead Mechanical Engineer*<br>
>><br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>