ProjeQtOr free project management software - Cannot complete setup because of setup error - Page 4 - ProjeQtOr
 

Cannot complete setup because of setup error

More
19 Oct 2018 11:23 - 22 Oct 2018 10:53 #19 by babynus
Your configuration is not complete.
Resolve issues pointed ou in red.
There you'll a a button "Continue".
At last, first connection of admin will populate database

Babynus
Administrator of ProjeQtOr web site
Last edit: 22 Oct 2018 10:53 by babynus.

Please Log in or Create an account to join the conversation.

More
23 Oct 2018 12:33 #20 by dabeegmon

babynus wrote: Your configuration is not complete.
Resolve issues pointed ou in red.
There you'll a a button "Continue".
At last, first connection of admin will populate database


Worked on removing the problems but am now stuck on what I think might be the last issue.
Used
># chmod -R 777 /home/projeqtor/files/
root@machine4:/home/projeqtor/files# ls -l
total 0
drwxrwxrwx 1 root root 0 Oct 8 07:03 attach
drwxrwxrwx 1 root root 0 Oct 8 07:03 attachments
drwxrwxrwx 1 root root 48 Oct 9 08:30 config
drwxrwxrwx 1 777 root 0 Oct 9 08:36 logs
drwxrwxrwx 1 root root 0 Oct 8 06:00 reports

so I think the permissions are wide open. Yet

> incorrect value for 'Log file name', cannot write to such a file : check access rights

I am not sure how to have more open access rights.
Please advise on how to resolve this issue.
(Running on Debian stable using apache2 and postgresql9.6)
Attachments:

Please Log in or Create an account to join the conversation.

More
23 Oct 2018 17:34 #21 by babynus
Look at your folders description.
you made a "chown 777" on files/logs
I guess user 777 is unknown

NB : you should make a
chown -R www-data: /var/www/hrml/projeqtor
adapt path to your config,
and change www-data to apache if you are on red-hat like distro.
Idea is to give onwnership of whole folder to php user.

Then you may
chmod -R 755 /var/www/hrml/projeqtor
(read access is enought for other users)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
23 Oct 2018 18:09 - 23 Oct 2018 18:16 #22 by dabeegmon

babynus wrote: Look at your folders description.
you made a "chown 777" on files/logs
I guess user 777 is unknown

(Interleaving for clarity)
Sorry - - - -had also done chmod 777 on the same files (directories).

>NB : you should make a

chown -R www-data: /var/www/hrml/projeqtor
adapt path to your config,
and change www-data to apache if you are on red-hat like distro.
Idea is to give onwnership of whole folder to php user.

So www-data is what ???? (a user, a group, a directory or ????)

>Then you may
chmod -R 755 /var/www/hrml/projeqtor
(read access is enought for other users)


OK - - - I understood that I only need to have 0755 permissions but as things just aren't installing very well I thought to throw things wide open in the hope that would allow the install to proceed (not happening though!).

I'm not understanding how with wide open permissions I'm still getting responses like:

incorrect value for 'Log file name', cannot write to such a file : check access rights

I hope my questions are not too stupid but I have no real experience in managing a server so some of the self evident items are for me quite opaque (question on what www-data is).


root@machine4:/home/projeqtor/files/config# chmod -R apache2: /home/projeqtor/files/
chmod: invalid mode: \u2018apache2:\u2019
Try 'chmod --help' for more information.
root@machine4:/home/projeqtor/files/config# chmod -R root: /home/projeqtor/files/
chmod: invalid mode: \u2018root:\u2019
Try 'chmod --help' for more information.
root@machine4:/home/projeqtor/files/config# chmod -R admin: /home/projeqtor/files/ (admin is master postgresql user for projeqtor)
chmod: invalid mode: \u2018admin:\u2019
Try 'chmod --help' for more information.
root@machine4:/home/projeqtor/files/config# chmod -R www-data: /home/projeqtor/files/
chmod: invalid mode: \u2018www-data:\u2019
Try 'chmod --help' for more information.

The just previous is my attempts to implement your suggestions.

Thanking you for your assistance
Last edit: 23 Oct 2018 18:16 by dabeegmon.

Please Log in or Create an account to join the conversation.

More
24 Oct 2018 13:32 - 24 Oct 2018 13:39 #23 by dabeegmon

babynus wrote: Look at your folders description.
you made a "chown 777" on files/logs
I guess user 777 is unknown

>NB : you should make a

chown -R www-data: /var/www/hrml/projeqtor
adapt path to your config,
and change www-data to apache if you are on red-hat like distro.
Idea is to give onwnership of whole folder to php user.

Then you may
chmod -R 755 /var/www/hrml/projeqtor
(read access is enought for other users)


Sorry - - - -doing some more experimenting and finding things.
Wow is it obvious that I really don't know what I'm doing.
It wasn't clear that there are files in directories controlled by apache, then there are the directories controlled by php, then there are the directories controlled by projeqtor, then there are the directories that the system uses - - - maybe not for control but they are also involved.

I tried your above suggested chown and chmod (to www-data in the /var system) that didn't achieve completion.
Also tried the same using root - - - that also didn't achieve completion.

So I have wide open permissions on the directories:
/home/projeqtor/
/var/www/example.com
~/web/projeqtor/

are there more directories that are part of this 'system' (all the pieces that make up the website and the specific software) that need to have the permissions changed?

TIA
Last edit: 24 Oct 2018 13:39 by dabeegmon.

Please Log in or Create an account to join the conversation.

More
24 Oct 2018 13:36 #24 by babynus

are there more directories that are part of this 'system' (all the pieces that make up the website and the specific software) that need to have the permissions changed?

No, unless you move some projeqtor folders, that are by default on /var/www/html/projeqtor/files, but that you can (and possibly should) move outside web reach through global parameters screen

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.058 seconds