[Qgis-user] Unable to launch QGIS with X Forwarding - Can Not make

Hillers Heather Heather.Hillers at erftverband.de
Sun May 19 23:36:27 PDT 2019


I am having the same qgis.db error using a Windows Farm environment with profiles stored on a network drive.  It appears to be a problem with the delay in synchronizing the directory with the server 

After getting this error and closing QGIS 3, we find ourselves in the following situation

1. We open msys.
2. We cd to the parent of the profiles directory.
3. We ls. profiles does not exist.
4. We mkdir foo.  That is successful.  So we have permissions.
5. We cannot mkdir profiles.  That is an error from the file system, because it thinks profiles exists already.
6. We cannot remove profiles, because the system thinks it is in use by another program.

Restarting QGIS doesn't work.  The only solution we have found is to completely log the user out of the system, log back in, copy a dummy profile to the profile location, and start QGIS 3.

This is happening to 1 out of 4 new users on our system, as we move them from QGIS 2 to QGIS 3.  (QGIS 2 never had this problem.)  

Since we have 50 users, we are going to each user and doing their first startup and settings personally, using the dummy profile.  This isn't so bad, since it helps make sure the user's environment is just as they want it, but I would be happier if the profile problem wasn't there.

Heather


-----Ursprüngliche Nachricht-----
Von: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] Im Auftrag von qgis-user-request at lists.osgeo.org
Gesendet: Sunday, May 19, 2019 9:00 PM
An: qgis-user at lists.osgeo.org
Betreff: Qgis-user Digest, Vol 159, Issue 26

Send Qgis-user mailing list submissions to
	qgis-user at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
	qgis-user-request at lists.osgeo.org

You can reach the person managing the list at
	qgis-user-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

   1. Unable to launch QGIS with X Forwarding - Can Not make
      qgis.db private copy (Amedeo Fadini)
   2. Re: Unable to launch QGIS with X Forwarding - Can Not make
      qgis.db private copy (Jürgen E. Fischer)
   3. Layer panel docking problem (Susan Iremonger)
   4. Re: Unable to launch QGIS with X Forwarding - Can Not make
      qgis.db private copy (Amedeo Fadini)
   5. Re: Unable to launch QGIS with X Forwarding - Can Not make
      qgis.db private copy (Jürgen E. Fischer)


----------------------------------------------------------------------

Message: 1
Date: Sun, 19 May 2019 11:06:56 +0200
From: Amedeo Fadini <amefad at gmail.com>
To: Qgis Users List - International <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Unable to launch QGIS with X Forwarding - Can Not
	make qgis.db private copy
Message-ID:
	<CAKGZ3GcDJkinwPZb-Toj-e3-HwerhcWOxTTsQdvBsC6h6HFP_w at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi everybody,
I have a ubuntu Bionic LTS server with QGIS 3.4 LTR installed
Since the Qgis project I've published connects to local postggis data I
would like to launch Qgis with X forwarding to modify directly the
published project...

The client is debian 9.8 when I try to launch qgis it shows me the import
esttings window, then the splash screen and after that an alert window with
message "ERROR Can Not make qgis.db private copy" the stdout also log the
following

ERROR: auth db directory path could not be created
ERROR: opening of authentication db FAILED

the auth db path is setted in apache. conf for qgis server: tried to set
the same path as environment variable but no change.

seems that after installation I don't have .qgis3 folder

Any suggestion?

Amedeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/9398b6e5/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 19 May 2019 12:58:56 +0200
From: Jürgen E. Fischer <jef at norbit.de>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can
	Not make qgis.db private copy
Message-ID: <20190519105856.2b2fbjdrytv77yac at norbit.de>
Content-Type: text/plain; charset="utf-8"

Hi Amedeo,

On Sun, 19. May 2019 at 11:06:56 +0200, Amedeo Fadini wrote:
> seems that after installation I don't have .qgis3 folder

There's no .qgis3 anymore - the user profiles are in
~/.local/share/QGIS/QGIS3/profiles


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/2afd02f3/attachment-0001.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Pflichtangaben
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/2afd02f3/attachment-0001.ksh>

------------------------------

Message: 3
Date: Sun, 19 May 2019 15:31:35 +0100
From: Susan Iremonger <s.iremonger at gmail.com>
To: qgis-user <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Layer panel docking problem
Message-ID:
	<CAJ22J7D_kPNYQQsf+oG1pSpy3jga5ekeobYX555w1iW+DkGLuA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi All,
Please help me with this: I am using QGIS 3.4. Somehow I un-docked my Layer
Panel and now it just floats over the display, which now takes up all the
space on my screen. So the Layer Panel obscures the left side of the
display of the map/data. I have tried moving the panel all the way to the
left to see if it will dock again for me, without joy.  I have also tried
the same thing moving it to the right. I have even uninstalled and
installed the program again, and it has the same problem.
Before this happened I think I clicked a little icon next to the "x" at the
right hand upper corner of the Layer Panel . This has disappeared now but
it might have had somehting to do with the undocking of the panel. Any help
much appreciated.
Susan.

-- 
Carra Lodge
Pound road
Carrabaun
Westport
Co. Mayo F28 VK58
Ireland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/f03b4893/attachment-0001.html>

------------------------------

Message: 4
Date: Sun, 19 May 2019 16:58:49 +0200
From: Amedeo Fadini <amefad at gmail.com>
To: Qgis Users List - International <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can
	Not make qgis.db private copy
Message-ID:
	<CAKGZ3GeXu5X=trnueo57A9qmOZ1UeFwD_U=-zkGMb0ht3K1ZmA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Jurgen,
Thank you so much, solved.

Il giorno dom 19 mag 2019 alle ore 13:00 Jürgen E. Fischer <jef at norbit.de>
ha scritto:

> Hi Amedeo,
>
> There's no .qgis3 anymore - the user profiles are in
> ~/.local/share/QGIS/QGIS3/profiles
>

Yes, I've found this information from Salvatore Fiandaca in the
meanwhile....

I have found only the user profile under /root and not under
/home/<myuser>...
It works if I connect with ssh -X root@<myserver>

Copying profile in my home  let me open as an unprivileged user, even if
gives me an alert about updating private db (I'll check permission)

Should I copy or link the profile for other users?

Amedeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/c4dbe9a7/attachment-0001.html>

------------------------------

Message: 5
Date: Sun, 19 May 2019 17:27:04 +0200
From: Jürgen E. Fischer <jef at norbit.de>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can
	Not make qgis.db private copy
Message-ID: <20190519152704.bleontod6doa66ng at norbit.de>
Content-Type: text/plain; charset="utf-8"

Hi Amedeo,

On Sun, 19. May 2019 at 16:58:49 +0200, Amedeo Fadini wrote:
> I have found only the user profile under /root and not under
> /home/<myuser>...
> It works if I connect with ssh -X root@<myserver>

The profile should be created automatically.  Check whether one of the parent
directories of ~/.local/share/QGIS/QGIS3/profiles is not writable by your user
- that might be a result of copying a profile earlier or running something
as root without resetting HOME.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/4e43b359/attachment-0001.sig>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Pflichtangaben
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190519/4e43b359/attachment-0001.ksh>

------------------------------

Subject: Digest Footer

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

------------------------------

End of Qgis-user Digest, Vol 159, Issue 26
******************************************


More information about the Qgis-user mailing list