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

2019-05-20 Thread Hillers Heather

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-boun...@lists.osgeo.org] Im Auftrag von 
qgis-user-requ...@lists.osgeo.org
Gesendet: Sunday, May 19, 2019 9:00 PM
An: qgis-user@lists.osgeo.org
Betreff: Qgis-user Digest, Vol 159, Issue 26

Send Qgis-user mailing list submissions to
qgis-user@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-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@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 
To: Qgis Users List - International 
Subject: [Qgis-user] Unable to launch QGIS with X Forwarding - Can Not
    make qgis.db private copy
Message-ID:

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 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can
Not make qgis.db private copy
Message-ID: <20190519105856.2b2fbjdrytv77...@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 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: 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/piperma

Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can Not make qgis.db private copy

2019-05-19 Thread Jürgen E . Fischer
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/...
> It works if I connect with ssh -X root@

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 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can Not make qgis.db private copy

2019-05-19 Thread Amedeo Fadini
Hi Jurgen,
Thank you so much, solved.

Il giorno dom 19 mag 2019 alle ore 13:00 Jürgen E. Fischer 
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/...
It works if I connect with ssh -X root@

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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Unable to launch QGIS with X Forwarding - Can Not make qgis.db private copy

2019-05-19 Thread Jürgen E . Fischer
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 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Unable to launch QGIS with X Forwarding - Can Not make qgis.db private copy

2019-05-19 Thread Amedeo Fadini
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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user