tomolimo / processmaker-server

ProcessMaker Edition compatibles with GLPI via plugin
GNU Affero General Public License v3.0
10 stars 2 forks source link

login Problem to Processmaker default page #30

Closed adilbouazzaoui closed 1 month ago

adilbouazzaoui commented 2 months ago

Hello Mr. Olivier,

i came across your tutorials regarding Processmaker integration with glpi, i tried the steps but i'm always blocked !

could you please clarify this for me:

note: i have glpi installed in a ubuntu desktop, it's already running and working fine.

Q1: can i extract the modified version of the [ProcessMaker Community Edition] next to glpi folder in the webserver folder: /var/www/html/ ? if so then how can i do that?

Q2: the other way is that i installed this version Processmaker on a separate server "Centos 7", but i'm not able to access to login page (attached screenshot)! and i'm not sure how to connect this server with glpi server!

Thank you very much in advance for your support.

adilbouazzaoui commented 2 months ago

quick update: Now that i tried the steps from the beginning (installed Processmaker in a separate server): I'm getting this error when i tried to go to homepage

error 2
tomolimo commented 1 month ago

Hello @adilbouazzaoui

  1. Where did you get ProcessMake server (please give the url)?
  2. Did you follow the guideline that explains how to install and configure PM server? https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-installation

Thank you, Regards,

Tomolimo

adilbouazzaoui commented 1 month ago

Hello Tomolimo,

Thank you for the response.

1. Where did you get ProcessMake server (please give the url)? this is the URL: https://github.com/tomolimo/processmaker-server/releases/tag/RE-2.5 2. Did you follow the guideline that explains how to install and configure PM server? https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-installation yes i did follow all the steps (in the above URL) multiple times on different servers.

Now i confirm that i fixed the php issue (it was that Apache wasn't parsing php), but when i type the IP of the server i get redirected to a blank login page (even if i try on different browsers)!

[cid:5d751869-8635-41d5-9840-1e795d520b1c]

This is php version: [cid:8cb32aa4-adc0-4f5b-97e7-06f815103735]

this is mysql version: [cid:3a985cf5-a718-43f2-a0f9-9039cdb5fe63]

this is apache version: [cid:4ab67ca6-3cb0-40f8-b62c-d771e62087a6]

this is the pmos.conf inside /etc/httpd/conf.d/ directory: [cid:7d511a95-75dd-4753-bb56-c4c659a0c8d1]

and the httpd.conf file is attached.

i hope i provided all the required information, hopefully with your support i can get this fixed.

Regards

Adil Bouazzaoui

[cid:8a5a299a-1960-4287-b7c3-d52c38010a52]

adilbouazzaoui commented 1 month ago
1 2 3 4 5
tomolimo commented 1 month ago

Hello @adilbouazzaoui

  1. your PHP version should be 7.1
  2. your FPM handle in Apache is not defined Thank you Regards, Tomolimo
tomolimo commented 1 month ago

refer to https://docs.cpanel.net/ea4/php/php-handlers/#fastcgi-process-manager-fpm

adilbouazzaoui commented 1 month ago

Hello @tomolimo

  1. your PHP version should be 7.1 ==> i installed the php 7.1 and now i can see the login page, but it is not showing correctly!
  2. your FPM handle in Apache is not defined ==> i checked the documentation but i don't know how to do it! can you please help on this?
adilbouazzaoui commented 1 month ago

1

2
tomolimo commented 1 month ago

Hello @adilbouazzaoui It seems now that FPM is installed :) But did you authorized javascript in your borwser for this website? Or you may have troubles with your browser cache... thank you Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo yes javascript is enabled. and i tested on different browsers.

thanks in advance

adilbouazzaoui commented 1 month ago
javascript
tomolimo commented 1 month ago

Hello @adilbouazzaoui I really don't know what your problem is, but you have to check if you have all the needed PHP modules Thank you, Regards, Tomolimo

tomolimo commented 1 month ago

Could you check if you have any error messages in the php-error log file?

adilbouazzaoui commented 1 month ago

the good news is that i'm able to bypass login page by clicking on next.... now i'm able to login with admin user, the designer and dashboard look fine to me, however the Admin page is not working properly!

1 2 3
tomolimo commented 1 month ago

I'have moved to the right repo your issue, as it is not related to the plugin, but to the server

tomolimo commented 1 month ago

Hello @adilbouazzaoui I fear that you have not respected the folder rights that must be given to the "shared" folder Could you check that? thank you, Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo thanks for the response. i checked and i confirm that apache already has the rights on shared folder. please check the screenshot.

image
adilbouazzaoui commented 1 month ago

Hello @tomolimo good news, i'm able to use the processmaker pages normally using Firefox on Ubuntu (from glpi server).

1- now i'm this point, and i'm wondering if it's required! since i'm only using english language: https://github.com/tomolimo/processmaker/wiki/Requirements

2- i installed processmaker plugin, but when i enable it i can no longer access glpi interface!

tomolimo commented 1 month ago

Hello @adilbouazzaoui Which browser are you using? I beleive that you have troubles with some browser cache... Thank you Regards, Tomolimo

tomolimo commented 1 month ago

Hello again, Could you follow all the details from the installation and configuration wikis? If you do so I can guarantee that everything will be running correctly. Thank you, Regards, Tomolimo

adilbouazzaoui commented 1 month ago

sure. can you just confirm if this is required! since i'm only using english language: https://github.com/tomolimo/processmaker/wiki/Requirements

tomolimo commented 1 month ago

You'll need the INTL and SOAP modules like described :)

tomolimo commented 1 month ago

To be sure that everything is installed and configured correctly, could you post screenshots of the ProcessMaker admin pages?

adilbouazzaoui commented 1 month ago

here you are

1
adilbouazzaoui commented 1 month ago

another issue i'm facing is that i'm not able to drag items to the free white space! i tried different browsers with no luck!

image
tomolimo commented 1 month ago

Hello @adilbouazzaoui When I see this screenshot, what I can see is that something is not installed correctly...

here you are 1

So to help you, I need to view all the screenshots you may find in this section of the wiki (and under): https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-configuration-check Thank you, Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo please find attached all the screenshots.

1 2 3 4 5 6 7 8 1 8 2 8 3 8 4 8 5 8 6 8 7 8 8 8 9 8 10 8 11 8 12 8 13 8 14 8 15 8 16 8 17 8 18 8 19 8 20 8 21
adilbouazzaoui commented 1 month ago

Hello @tomolimo i hope i provided all the required screenshot. did you have the chance to take a look at it?

tomolimo commented 1 month ago

Hello @adilbouazzaoui Could you try to clear the caches like proposed on this screen? image Check the checkboxes, and click on 'Clear' button. Thank you Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo i checked the 3 boxes and cleared the cache, but still not able to use the designer!

tomolimo commented 1 month ago

Hello @adilbouazzaoui INTL and SOAP PHP modules are missing like requested in the requirements... Thank you, Regards, Tomolimo

tomolimo commented 1 month ago

Hello @tomolimo i checked the 3 boxes and cleared the cache, but still not able to use the designer!

To troubleshoot this issue: have a look in the browser console, if there is any error messages

adilbouazzaoui commented 1 month ago

Hello @tomolimo INTL and SOAP are already installed, please check screenshots:

1
adilbouazzaoui commented 1 month ago

Hello @tomolimo i checked the 3 boxes and cleared the cache, but still not able to use the designer!

To troubleshoot this issue: have a look in the browser console, if there is any error messages

please check attached screenshots:

adilbouazzaoui commented 1 month ago

2 4

tomolimo commented 1 month ago

Hello @adilbouazzaoui As long as your installation will not be done/configured correctly, you'll get a lot of errors everywhere... So, please, let's start again: logout from PM server, and open the browwser console, purge the logs, and try to refresh the login page: do you see errors in the browser console? Thank you, Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo thank you for the quick response. i tried and i don't see any error: 1

tomolimo commented 1 month ago

Could you also provide a screen copy of the login screen?

adilbouazzaoui commented 1 month ago

Hello @tomolimo here you are

1
tomolimo commented 1 month ago

Thank you, Could you continue the login process keeping the browser console open to see if any errors are generated? Could you also check if there is any PHP errors?

adilbouazzaoui commented 1 month ago

Hello @tomolimo i tried and i didn't get any php error (see attached empty php log). i'm attaching also the console error

1 2
tomolimo commented 1 month ago

Hello @adilbouazzaoui I can see from this screenshot that PHP error log is here: /var/log/php-fpm/www-error.log, and not in /var/log/php_errors.log image

Could you look into /var/log/php-fpm/www-error.log? Thank you, Regards, Tomolimo

adilbouazzaoui commented 1 month ago

Hello @tomolimo thank you for the clarification. indeed the php log is showing some errors, and when i tried to access login page today i got these errors:

1
tomolimo commented 1 month ago

what's the URL for these errors?

adilbouazzaoui commented 1 month ago

what's the URL for these errors?

login page

tomolimo commented 1 month ago

yes, but I need the URL not the title of the page: you may blur the hostname.

adilbouazzaoui commented 1 month ago

hello @tomolimo the good news is that i reinstalled a new server and everything is working fine now, seems that it was an issue with the installation. we also updated GLPI to 10.0.15 and now the i'm able to install the plugin. Thank you for the support.