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.
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)
You may try and change owner of files
chown -R www-data: /home/projeqtor/filesAlso 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.
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.
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?
root@debianstabletestbed:~# chmod -R 777 /home/projeqtor/
This should be enought ot set rights.
So there must be external tool that locks access.
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?
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/...)
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
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.
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.
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.
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.
I had the same problem. I found out that SELinux was enabled. In order to move on I had to disable SELinux.
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(/.*)?"