Forum

Cannot complete set...
 
Notifications
Clear all

Cannot complete setup because of setup error

45 Posts
4 Users
0 Reactions
29.3 K Views
(@babynus)
Posts: 14952
Member Admin
 

I am quite prepared to have these directories outside of web reach but I'm thinking that it would be quite useful to actually have something working before I try to modify things even more

It is a good approach 😉

Any suggestions as to what else needs doing?

Check messages.
If configuration of log file is correct, you may find issues logged on log file.
Please post them here.


 
Posted : 24 Oct 2018 15H47
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

I am quite prepared to have these directories outside of web reach but I'm thinking that it would be quite useful to actually have something working before I try to modify things even more

It is a good approach 😉

Any suggestions as to what else needs doing?

Check messages.
If configuration of log file is correct, you may find issues logged on log file.
Please post them here.

All log file locations (~/web/ . . . , /home/projeqtor/ . . . , and /var/www/example.com/logs . . . are either non-existent or are empty.

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

is what I still have in the configuration screen.

Regards


 
Posted : 24 Oct 2018 16H10
(@babynus)
Posts: 14952
Member Admin
 

You must look for log file as defined during the configuration.
It's defined in projeqtor/files/config/parameters.php
Default location is projeqtor/files/log
If folder is emprty, possibly error is logged in apache error log file.


 
Posted : 26 Oct 2018 21H18
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

You must look for log file as defined during the configuration.
It's defined in projeqtor/files/config/parameters.php
Default location is projeqtor/files/log
If folder is emprty, possibly error is logged in apache error log file.

From projeqtor/files/config/parameters.php :
$logFile = '/home/projeqtor/files/logs/projeqtor_${date}.log';

You are correct. Not only are there no files - - - there is nothing! (in projeqtor/files/log)

The only error I can see (in /var/log/apache2/error.log) is:

[Sun Nov 04 20:07:45.177992 2018] [:error] [pid 850] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Sun Nov 04 20:07:45.178092 2018] [:error] [pid 850] python_init: Python executable found '/usr/bin/python'.
[Sun Nov 04 20:07:45.178100 2018] [:error] [pid 850] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.

Using logic - - - the error doesn't make any sense - - - 2.7.13 is greater than 2.7.5 but there likely is something else that has changed.

Any ideas on how to resolve the issue?


 
Posted : 05 Nov 2018 5H41
(@babynus)
Posts: 14952
Member Admin
 

You defined

$logFile = '/home/projeqtor/files/logs/projeqtor_${date}.log';

So directory "/home/projeqtor/files/logs/"
- must exist
- php user (www-data) must have write rights on this folder (try a cmod 777 to try)


 
Posted : 05 Nov 2018 12H48
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

You defined

$logFile = '/home/projeqtor/files/logs/projeqtor_${date}.log';

So directory "/home/projeqtor/files/logs/"
- must exist
- php user (www-data) must have write rights on this folder (try a cmod 777 to try)

$ ls -l /home/projeqtor/files/
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 23 05:23 config
drwxrwxrwx 1 root root 0 Oct 9 08:36 logs
drwxrwxrwx 1 root root 0 Oct 8 06:00 reports

# chmod -R 777 /home/projeqtor/

as requested.

After stopping and starting apache2 and refreshing the browser - - - I'm back to the same error that I included in my Nov 5th message.

Sorry - - - I'm not sure what to change.

Please advise.


 
Posted : 07 Nov 2018 5H25
(@babynus)
Posts: 14952
Member Admin
 

You may try and change owner of files

chown -R www-data: /home/projeqtor/files

Also check if you have some security solution that may block access to files (selinux for instance)


 
Posted : 07 Nov 2018 10H10
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

You may try and change owner of files

chown -R www-data: /home/projeqtor/files

Also check if you have some security solution that may block access to files (selinux for instance)

Trying to get some kind of installation (hoping to modify things after a successful launch) I changed the l'log file name' and the 'Parameter file name' both to very accessible locations. The first to /tmp/projeqtor_${date}.log and the second to /tmp/parameters.php .

Now the error message is :

impossible to write '../tool/parametersLocation.php' file, cannot write to such a file : check access rights

except in looking at the list of files:

(sorry - - - copied from a terminal where there are two columns - - - I don't know how to format that here.)
>/projeqtor/tool# ls
ack.php index.php
addDynamicFilterClause.php jsonDirectory.php
addFilterClause.php jsonFunctions.php
adminFunctionalities.php jsonList.php
approveItem.php jsonNotification.php
assignTeamForMeeting.php jsonPlanning_pdf.php
backupFilter.php jsonPlanning.php
changeObjectStatus.php jsonQuery.php
changePassword.php jsonResourcePlanning_pdf.php
changeStatusNotification.php jsonResourcePlanning.php
checkAlertToDisplay.php jsonVersionsPlanning.php
checkStatusChange.php listColumnSelector.php
closeUncloseOrganizationBudgetElement.php loginCheck.php
configCheck.php moveListColumn.php
configCheckPrerequisites.php movePlanningColumn.php
config.php moveTask.php
copyDocumentTo.php planningColumnSelector.php
copyObject.php plan.php
copyObjectTo.php planSaveDates.php
copyProjectTo.php projeqtor.php
cronActivation.php refreshFavoriteReportList.php
cronCheck.php refreshVisibleProjectsList.php
cronExecutionStandard.php removeAffectation.php
cronRelaunch.php removeAffectationResourceTeam.php
cronRun.php removeApprover.php
cronStop.php removeAssignment.php
defaultFilter.php removeAttachment.php
deleteObjectMultipleControl.php removeBillLine.php
deleteObjectMultiple.php removeBusinessFeature.php
deleteObject.php removeChecklistDefinitionLine.php
disconnectSession.php removeDependency.php
displayFilterClause.php removeDocumentVersion.php
displayFilterList.php removeExpenseDetail.php
displayFilterSharedList.php removeFavoriteReport.php
download.php removeFilterClause.php
drawResourceListForSpecificAccess.php removeFilter.php
dynamicDialogAddChangeBudgetElement.php removeHiddenFilterDetail.php
dynamicDialogAffectation.php removeJobDefinition.php
dynamicDialogAffectationResourceTeam.php removeKpiThreshold.php
dynamicDialogAssignment.php removeLink.php
dynamicDialogAttachment.php removeNote.php
dynamicDialogBillLine.php removeObjectLinkedByIdToMainObject.php
dynamicDialogBusinessFeature.php removeOrganizationBudgetElement.php
dynamicDialogCallForTenderCriteria.php removeOrigin.php
dynamicDialogCallForTenderSubmission.php removeOtherClient.php
dynamicDialogChecklistDefinitionLine.php removeOtherVersion.php
dynamicDialogChecklist.php removePlanningBaseline.php
dynamicDialogCommentImputation.php removeProductContext.php
dynamicDialogCopyDocument.php removeProductLanguage.php
dynamicDialogCopy.php removeProductProject.php
dynamicDialogCronDefinition.php removeProductStructure.php
dynamicDialogDependency.php removeProductVersionStructure.php
dynamicDialogDispatchWork.php removeResourceCost.php
dynamicDialogDocumentVersion.php removeTenderEvaluationCriteria.php
dynamicDialogDynamicFilter.php removeTenderSubmission.php
dynamicDialogExport.php removeTestCaseRun.php
dynamicDialogFilter.php removeVersionCompatibility.php
dynamicDialogGraphStatus.php removeVersionProject.php
dynamicDialogHistory.php saveAffectation.php
dynamicDialogJobDefinition.php saveAffectationReplacement.php
dynamicDialogJoblist.php saveAffectationResourceTeam.php
dynamicDialogKpiThreshold.php saveApprover.php
dynamicDialogLink.php saveAssignment.php
dynamicDialogListApprover.php saveAttachment.php
dynamicDialogLogfile.php saveBillLine.php
dynamicDialogLogfiles.php saveBusinessFeature.php
dynamicDialogMailEditor.php saveCalendar.php
dynamicDialogMail.php saveCheckboxes.php
dynamicDialogNote.php saveChecklistDefinitionLine.php
dynamicDialog.php saveChecklist.php
dynamicDialogPlanBaseline.php saveClosedNote.php
dynamicDialogPlanningPdf.php saveCollapsed.php
dynamicDialogPlanSaveDates.php saveCustomMenu.php
dynamicDialogPluginInfo.php saveDataToSession.php
dynamicDialogProductContext.php saveDependencyDnd.php
dynamicDialogProductLanguage.php saveDependency.php
dynamicDialogProductProject.php saveDependencyRightClick.php
dynamicDialogProductStructure.php saveDispatchWork.php
dynamicDialogProductVersionStructure.php saveDocumentVersion.php
dynamicDialogProjectSelectorParameters.php saveExpenseDetail.php
dynamicDialogReplaceAffectation.php saveFilter.php
dynamicDialogResourceCost.php saveFindEmail.php
dynamicDialogRestrictTypes.php saveImputation.php
dynamicDialogShowTickets.php saveJobDefinition.php
dynamicDialogSubscribersList.php saveJoblist.php
dynamicDialogSubscriptionForOthers.php saveKpiThreshold.php
dynamicDialogSubscriptionList.php saveLeftWork.php
dynamicDialogTestCaseRun.php saveLink.php
dynamicDialogTodayParameters.php saveNote.php
dynamicDialogVersionCompatibility.php saveNoteStream.php
dynamicDialogVersionProject.php saveObjectLinkedByIdToMainObject.php
dynamicDialogVersionsPlanning.php saveObjectMultiple.php
dynamicDialogWorkflowParameter.php saveObject.php
dynamicListApprover.php saveOrganizationBudgetElement.php
dynamicListChangeStatus.php saveOrigin.php
dynamicListDependency.php saveOtherClient.php
dynamicListLink.php saveOtherVersion.php
dynamicListObjectLinkedByIdToMainObject.php saveParameter.php
dynamicListOrigin.php savePlanningBaseline.php
dynamicListOtherClient.php savePlanningColumn.php
dynamicListOtherVersion.php saveProductContext.php
dynamicList.php saveProductLanguage.php
dynamicListPredefinedText.php saveProductProject.php
dynamicListTestCase.php saveProductStructure.php
expenseDetailDiv.php saveProductVersionStructure.php
file.php saveReportAsFavorite.php
filterComponentType.php saveReportFavoriteOrder.php
formatter.php saveReportInToday.php
generateImputationAlert.php saveResourceCost.php
getAFieldForAClassById.php saveRestrictTypes.php
getAllowedReceiversForNotificationDefinition_.php saveSelectedColumn.php
getAllowedReceiversForNotificationDefinition.php saveSubscription.php
getAllowedWordsForNotificationDefinition_.php saveTcrData.php
getAllowedWordsForNotificationDefinition.php saveTenderEvaluationCriteria.php
getClientValueFromProject.php saveTenderSubmission.php
getColumnsList.php saveTestCaseRun.php
getDateFieldsNotifiable.php saveTodayParameters.php
getExtraHiddenFields.php saveUserParameter.php
getExtraReadonlyFields.php saveVersionCompatibility.php
getExtraRequiredFields.php saveVersionProject.php
getHash.php saveWorkflowParameter.php
getIfResourceTeamOrResource.php selectStoredFilter.php
getListFieldsForNotificationDefinition.php sendMail.php
getListItemsForNotificationDefinition.php sendMailTest.php
getManualUrl.php setAlertRead.php
getObjectCreationInfo.php setFixedMonthDayAttributes.php
getPredefinedAction.php shareFilter.php
getPredefinedText.php startStopWork.php
getProductNameFromBusinessFeature.php submitPlanningPdf.php
getProductValueFromVersion.php submitWorkPeriod.php
getSingleData.php switchOtherClient.php
hackMessage.php switchOtherVersion.php
html.php upgradeProductVersionStructure.php
i18n uploadImage.php
importHelp.php uploadPlugin.php
import.php wsServer.php
indentTask.php

There is no such file included in the file downloaded.

Please advise.


 
Posted : 07 Nov 2018 18H27
(@babynus)
Posts: 14952
Member Admin
 

There is no such file included in the file downloaded.

Of cours. This file ois not part of deployment.
It is created on install.
It is still access write issue.
PHP user cannot write on folder projeqtor/tool
Change access rights and also check for security tools such as selinux.


 
Posted : 07 Nov 2018 20H24
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

There is no such file included in the file downloaded.

Of cours. This file ois not part of deployment.
It is created on install.
It is still access write issue.
PHP user cannot write on folder projeqtor/tool
Change access rights and also check for security tools such as selinux.

# chown -R www-data: /home/projeqtor/files/
root@debianstabletestbed:~# ls -l /home/projeqtor/files/
total 0
drwxrwxrwx 1 www-data www-data 0 Oct 8 07:03 attach
drwxrwxrwx 1 www-data www-data 0 Oct 8 07:03 attachments
drwxrwxrwx 1 www-data www-data 48 Oct 23 05:23 config
drwxrwxrwx 1 www-data www-data 0 Oct 9 08:36 logs
drwxrwxrwx 1 www-data www-data 0 Oct 8 06:00 reports
root@debianstabletestbed:~# chmod -R 777 /home/projeqtor/files/
root@debianstabletestbed:~# locate parametersLocations.php
root@debianstabletestbed:~# find parametersLocations.php
find: u2018parametersLocations.phpu2019: No such file or directory
root@debianstabletestbed:~# chown -R www-data: /home/projeqtor/
root@debianstabletestbed:~# ls -l /home/projeqtor/
total 0
drwxrwxrwx 1 www-data www-data 68 Oct 8 07:03 files
drwxrwxrwx 1 www-data www-data 0 Oct 9 05:32 tool
drwxrwxrwx 1 www-data www-data 0 Oct 9 05:25 tools
root@debianstabletestbed:~# chmod -R 777 /home/projeqtor/

# dpkg -l selinux
dpkg-query: no packages found matching selinux
root@debianstabletestbed:~/web/projeqtor/tool# ~]~ getenforce
-su: ~]~: command not found
root@debianstabletestbed:~/web/projeqtor/tool# aa-status
-su: aa-status: command not found

Is there a way to have more open permissions than what I included above?

I find only these two options for security tools on Debian 9 - - - selinux and apparmor (the second considered the preferred tool as I understand it).
Above included are the commands that I was able to find to show whether or not either of the security tools is installed and/or active.

Please advise if there are any other options to explore?


 
Posted : 08 Nov 2018 15H37
(@babynus)
Posts: 14952
Member Admin
 

root@debianstabletestbed:~# chmod -R 777 /home/projeqtor/

This should be enought ot set rights.
So there must be external tool that locks access.


 
Posted : 08 Nov 2018 17H11
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

root@debianstabletestbed:~# chmod -R 777 /home/projeqtor/

This should be enought ot set rights.
So there must be external tool that locks access.

Any ideas as to what to look for?

As far as I know I have a vanilla installation.

Would the location of apache2 directories have any bearing on this issue?


 
Posted : 08 Nov 2018 17H55
(@babynus)
Posts: 14952
Member Admin
 

Would the location of apache2 directories have any bearing on this issue?

I don't know

I cannot help much about this issue.
But I'm sure it's an access rights issue.

Did you try and install with all files at default location (../files/...)


 
Posted : 12 Nov 2018 10H56
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

Would the location of apache2 directories have any bearing on this issue?

I don't know

I cannot help much about this issue.
But I'm sure it's an access rights issue.

Did you try and install with all files at default location (../files/...)

In inverted order.

Yes I tried an install with all files at default locations - - - still get the error message.
I actually get further when all files are located in /tmp/file_in_question but then get the other installation error.

So OK - - - I have spent a lot of time (as have you responding) and still cannot achieve a working platform.

I'm therefore dropping the possible use of ProjeqtOr as a project management tool due to installation insurmountabilities.
Experience has taught me that the continued investment of time in something that doesn't work is not worth the effort.

Best regards


 
Posted : 15 Nov 2018 16H12
(@babynus)
Posts: 14952
Member Admin
 

Experience has taught me that the continued investment of time in something that doesn't work is not worth the effort.

You're right, ProjeQtOr does not work...
it's just a joke we're playng since 9 years.


 
Posted : 16 Nov 2018 2H00
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

Experience has taught me that the continued investment of time in something that doesn't work is not worth the effort.

You're right, ProjeQtOr does not work...
it's just a joke we're playng since 9 years.

Wonderful - - - - then I would really appreciate information on how to complete the installation of the system.

As there seems to be no way to get things working on my system - - - -well - - - - its not working on my system - - - - no matter what it does elsewhere.
So you may be quite angry that its not working but - - - - would you invest ongoing time into a software package that you were not able to effect an install?

So I am doing the same. Best wishes.


 
Posted : 19 Nov 2018 4H56
(@babynus)
Posts: 14952
Member Admin
 

Check your system : you must have some tool that controls writing rights on files.
If PHP user can write on the whole structure of projeqtor directory, installation works like a charm.
Just try on windows with a WAMP stack, you'll see what I mean.
I have several installations on Ubuntu that work like a charm.


 
Posted : 19 Nov 2018 21H22
(@dabeegmon)
Posts: 31
Active Member
Topic starter
 

Check your system : you must have some tool that controls writing rights on files.
If PHP user can write on the whole structure of projeqtor directory, installation works like a charm.
Just try on windows with a WAMP stack, you'll see what I mean.
I have several installations on Ubuntu that work like a charm.

Except I wouldn't touch M$ stuff with a 15 m pole and Ubuntu sets things up the way it wants to (and thinks it owns my hardware just like M$).
I'm running a straight vanilla system - - - no apparmor nor selinux at all.
I think that I have found the cracks where a debian system using postgresql just has some kind of issues that aren't present on a WAMP stack.
I'm also not enough of an admin to know what nor how to tweak stuff.
Just means that even though things are said to be the same at best they are similar.
The similar hides the differences and as I don't know them and there are no more permissions to open up - - - well - - I can't get things to work.
Not the end of the earth - - - - just one more time when the 'similar to' idea bites me in the posterior!

Oh well - - - on to finding some tools to get my stuff done.


 
Posted : 19 Nov 2018 21H55
(@burgerzs)
Posts: 24
Active Member
 

I had the same problem. I found out that SELinux was enabled. In order to move on I had to disable SELinux.


 
Posted : 22 Apr 2019 13H32
(@burgerzs)
Posts: 24
Active Member
 

I had the same problem, and it was because of SELinux was enforced. In that case chmod 777 is not enough.

Either you disable SELinux, which mightnot be a proper solution, or you give the right permission on the folder where you have the web application (/usr/share/nginx/html/projeqtor), and on the folder(/projeqtor) where you have the files, reports etc:
chcon -R -t httpd_sys_rw_content_t /projeqtor/
chcon -R -t httpd_sys_rw_content_t /usr/share/nginx/html/projeqtor/
semanage fcontext -a -t httpd_sys_rw_content_t "/projeqtor(/.*)?"
semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/nginx/html/projeqtor(/.*)?"


 
Posted : 22 Apr 2019 20H30
Page 2 / 2
Share:

Scroll to Top