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

Cannot complete setup because of setup error

More
07 Nov 2018 03:25 #31 by dabeegmon

babynus wrote: 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.

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

More
07 Nov 2018 08:10 #32 by babynus
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)

Babynus
Administrator of ProjeQtOr web site

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

More
07 Nov 2018 16:27 - 07 Nov 2018 16:29 #33 by dabeegmon

babynus wrote: 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.
Last edit: 07 Nov 2018 16:29 by dabeegmon.

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

More
07 Nov 2018 18:24 #34 by babynus

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.

Babynus
Administrator of ProjeQtOr web site

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

More
08 Nov 2018 13:37 #35 by dabeegmon

babynus wrote:

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.php\u2019: 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?

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

More
08 Nov 2018 15:11 #36 by babynus

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

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

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