Ask questions about installing and configuring ProcessMaker 3
#813885
Hi Everyone,

Please help. I have tried to install the latest PM on hosted environment. I do not have access to set all the apache module but spoke to the service provider and they advised that all the parameters required are enabled. They also advised that they have restarted apache.

I have followed all the installation instructions (as per wiki) and all seemed to be good .... until the last step. I cannot access the installation configuration page. The browser simply says "Can't reach this page". The instructions simply say that if you don't see it you must check the installation steps, which I did but I cannot see anything wrong.

I saw some threads talking about pmos.conf - is this required?

I am not sure where to go from here? Where do I start?

Any advice will be greatly appreciated !

Thanks
#813888
The pmos.conf file is used to define the virtualhost used by ProcessMaker. You can create an .htaccess file in your web-accessible directory to define ProcessMaker's virtualhost. In my experience, it is tricky to get PM to run in a hosted environment, so it will probably take a while for you to configure it correctly.

You can try it, but it is generally not recommended to install PM in a hosted environment, if you plan to use it in production. PM uses a lot of memory and server side processing, which is generally limited in hosted environments, so its performance will be very slow.

I recommend renting a Linux VPS from a group like Linode, DigitalOcean, etc. I have used AfterBurst for the last 8 years. Their service is pretty reliable and they are cheaper:
https://afterburst.com/unmetered-kvm-vps
#813892
Hi Amos,

Thank you for your reply. I need to set it up in hosted environment as a proof of concept prior to larger investment. The idea is to demonstrate functionality and that it can work with users in separate locations.

I am trying to stay away from VPS as the focus is on getting the workflows and not on IT/effort required to set up the VPS.

Is there any more information available on the correct format of the pmos.conf and .htaccess files?

for pmos.conf (I am assuming it will be in /pubic_html/processmaker folder and have content similar to this:
Code: Select all
NameVirtualHost processmaker.<<my-domain>>.com.au
#processmaker virtual host 
<VirtualHost 203.XX.XXX.XXX>
  ServerName "processmaker.<<my-domain>>.com.au"
  DocumentRoot /home/.../public_html/processmaker/workflow/public_html
  DirectoryIndex index.html index.php
  <Directory  "/home/.../public_html/processmaker/workflow/public_html">
    AddDefaultCharset UTF-8

    AllowOverRide none
    Options FollowSymlinks
    Order allow,deny
    Allow from all

    RewriteEngine on
    RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]

    ExpiresActive On    
    ExpiresDefault "access plus 1 day" 
    ExpiresByType image/gif "access plus 1 day"
    ExpiresByType image/png "access plus 1 day"
    ExpiresByType image/jpg "access plus 1 day"
    ExpiresByType text/css "access plus 1 day"
    ExpiresByType text/javascript "access plus 1 day"

    AddOutputFilterByType DEFLATE text/html        
        
  </Directory>
</VirtualHost>

and .htaccess will be something like (as per wiki notes):
Code: Select all
AddDefaultCharset UTF-8

    Options FollowSymlinks

    RewriteEngine on
    RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]

    ExpiresActive On    
    ExpiresDefault "access plus 1 day" 
    ExpiresByType image/gif "access plus 1 day"
    ExpiresByType image/png "access plus 1 day"
    ExpiresByType image/jpg "access plus 1 day"
    ExpiresByType text/css "access plus 1 day"
    ExpiresByType text/javascript "access plus 1 day"

    AddOutputFilterByType DEFLATE text/html
How do you configure .htaccess with Virtual Host as in your reply?

Thanks in advance
#813898
I haven't had much success trying to help people install PM in hosted environments because every hosting provider has a different setup and restricts access to the essential information. I will give you the basic instructions, and you can try it, but don't be surprised if it doesn't work. You are better off spending $10 to rent a VPS for a month in my opinion, but let's try it.

If your web accessible directory is /home/janedoe/public_html, then install ProcessMaker outside of it in a location like:
/home/janedoe/processmaker

Then, create the file: /home/janedoe/public_html/.htaccess

In the .htaccess file, add the following content:
Code: Select all
NameVirtualHost processmaker.<<my-domain>>.com.au
#processmaker virtual host
<VirtualHost 203.XX.XXX.XXX>
  ServerName "processmaker.<<my-domain>>.com.au"
  DocumentRoot /home/janedoe/processmaker/workflow/public_html
  DirectoryIndex index.html index.php
  <Directory  "/home/janedoe/processmaker/workflow/public_html">
    AddDefaultCharset UTF-8

    AllowOverRide none
    Options FollowSymlinks
    Order allow,deny
    Allow from all

    RewriteEngine on
    RewriteRule ^.*/(.*)$ sysGeneric.php [NC,L]

    ExpiresActive On   
    ExpiresDefault "access plus 1 day"
    ExpiresByType image/gif "access plus 1 day"
    ExpiresByType image/png "access plus 1 day"
    ExpiresByType image/jpg "access plus 1 day"
    ExpiresByType text/css "access plus 1 day"
    ExpiresByType text/javascript "access plus 1 day"

    AddOutputFilterByType DEFLATE text/html       
       
  </Directory>
</VirtualHost>
Don't worry about your pmos.conf file, since it won't be used.
Then, follow the installation wizard in your web browser to setup PM.
#813913
Looks like I spoke too soon ...

All seems to be working up to the point in installation where configuration of MySQL (Step 4 of 5: Database Configuration)

I cannot connect to MySQL event though the password is correct. Various tests suggest it is not connecting on port 3306 (as default)
There was no mention of this in the installation docs - I am wondering whether I am missing something obvious.

I am sorry for this ... but I am not very experienced in setting MySQL

Thanks

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]