Ask questions about your install or get help installing and configuring ProcessMaker 2
By cscheetah
#780406
i am running virtualbox with lubuntu 14.04 32bit fresh install fowllowing the instructions from
http://3x.wiki.processmaker.com/index.p ... stallation for the 3.0 install and
http://wiki.processmaker.com/index.php/ ... stallation for the 2.5.2

in both instanaces i would blow away the virtural box so i know its doesnt have a setting from one or the other i started with the 2.5.2 install
i get through the instructions to where i can log into the server and finish configuring process maker but i can never get thier.
i keep running into a page that says

"Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at 10.0.225.51 Port 80"

i am using php 5
Server version: 5.5.38-0ubuntu0.14.04.1 - (Ubuntu)

i follow all the setps and i can not access process maker from the server or a remote computer using the ip. i have redone the server a few times and this is getting frustrating.
we used to have everything working fine on lubuntu 13.04 but it was outdated and we tried to update a file with PHP and the server blew up so im trying to redo the server and cant get it working
any help would be appreciated. i know sure if im doing something wrong or missing something. we would like to use 2.5.2 as it is more stable of a version but if we need to we can use 3.0 let me know if you need anything else from me to try and get this working.
By marcoramirez
#780408
Hi cscheetah,
could you share with us your virtual Host conf.?, and just in case, did you give the correct permissions to the ProcessMaker Folders?.
By cscheetah
#780409
right now i have processmaker 3.0 installed here is everything in the /etc/apache2/sites-available/pmos.conf

<VirtualHost 10.0.225.51>
ServerName 10.0.225.51
DocumentRoot /opt/processmaker/workflow/public_html
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
ExpiresActive On
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
</IfModule>
</Directory>
</VirtualHost>


i have set all instructions as per the wiki page that should be.
By marcoramirez
#780410
Hi cscheetah,

Could change this value

Order allow,deny
Allow from all

for

Require all granted

and try again?
By cscheetah
#780411
i have tried that before will no luck but i will change it again and reload that apache2



ok restarted apache2 same issue
By marcoramirez
#780412
Hi cscheetah,

Could you review this conf.:
<VirtualHost *:3000 >
ServerName "your_processmaker_domain"
DocumentRoot /opt/processmaker/workflow/public_html
<Directory "/opt/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Require all granted
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,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 did you check your folder permissions?.
By cscheetah
#780413
how should i check the permissions? i ran all the comands for the permissions that where on the wiki page
By cscheetah
#780424
<VirtualHost 10.0.225.55 >
ServerName "10.0.225.55"
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
<Directory "/opt/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Require all granted
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>


this is the conf from the 2.5.2 clean install i just did following all instructions and setting all permissions on the wiki page

"Forbidden

You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at 10.0.225.55 Port 80"
By marcoramirez
#780425
cscheetah ,

Is quite rare, which version of ProcessMaker are you trying to install and could you give us more details of your server?.
By cscheetah
#780426
i have 2 servers right now. ones running 2.5.2 the other 3.0
both are lubuntu 32 bit 14.04.1
2GB Mem
25GB HDD
bridged adapter
running in virtualbox
By marcoramirez
#780429
Please, be sure about your permission "chmod -R 777 processmaker/workflow processmaker/shared", your ownership neeeds to be www-data "chown -R www-data:www-data /opt/processmaker/".

And if the iptables service is down or stop.
By cscheetah
#780445
ok i did the commands

sudo chmod -R 777 /opt/processmaker/workflow
sudo chmod -R 777 /opt/processmaker/shared
and
sudo chown -R www-data:www-data /opt/processmaker/

not sure about the iptables
By cscheetah
#780469
how could it be my firewall on a fresh install of linus if the only thing i set up was the network adapter and process maker.

if it is a pre installed firewall how would i fix that?
By cscheetah
#780475
so i think the issue was with PHP 5.5.38 and apache 2.47

u used the instructions at the bottom to downgrade to 5.3 PHP

and now im getting an error

"404 Not Found

The requested URL /sys/en/neoclassic/login/login was not found on this server.
Apache/2.2.22 (Ubuntu) Server at 10.0.225.51 Port 80"
By cscheetah
#780503
ok looks like to fix that latest error i needed the mod_rewrite

this still doesnt explain why i can get it working with apache 2.4.7 and php 5.5.38
By dragonfly
#781159
Can I add a few notes to this thread?

Recently I experienced the same error.
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at processmaker2.dev Port 80
I am running processmaker2 and processmaker3 as two virtualhosts in Ubuntu 14.04.
PHP 5.5.9
Apache 2.4.7

First I read about the changes in pmos.conf needed for Apache 2.4.7 directives.

They are here.

http://httpd.apache.org/docs/current/upgrading.html

e.g. The Order and Allow directives are deprecated in Apache 2.4.

I did note that Apache 2.4 uses AllowOverride none and not AllowOverRide none as in pmos.conf.

I corrected this since Apache directives are case sensitive but I'm not sure if that change had any effect.

I added ... Require all granted.

Also Options directives need a prefix +.

To help with debugging I added this code

between </Directory> and </VirtualHost> ending tag.
Code: Select all
    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel debug
I copied pmos.conf (renamed as processmaker2.dev.conf) into /etc/apache2/sites-available/

Then reloaded config

sudo service apache2 reload

And I was able to start processmaker2 (without 403 error) from

http://processmaker2.dev/

[I have some other problems to solve due to relocating my processmaker pre-installed folders. But that is for another post].

I suggest that more guidance should be given in wiki for Apache 2.4 users since changes in pmos.conf are needed.

I would also check if changing to "AllowOverride none" instead of "AllowOverRide none" has any effect.

===============================================================================

[Later edit] I've corrected AllowOverride All .. to AllowOverride none .. above.

So I just have this inside my config file ..

AllowOverride none
Options FollowSymlinks
Require all granted

===============================================================================
User avatar
By erpnedir
#782182
I did everything according to the wiki installation page http://wiki.processmaker.com/index.php/ ... stallation and stuck with the same error.
After reading the apache documentation dragonfly shared, I understand that I had to remove both the two lines:
Code: Select all
Order allow,deny
Allow from all
from the pmos.conf, not just Allow from all.
When I removed the first line too, I could pass the error:
"Forbidden
You don't have permission to access / on this server.

This should be corrected in wiki page.
User avatar
By liliana
#782183
Hi erpnedir,

Good to have news from you!

Well in our documentation we have a note who explain this change if using Apache 2.4, is this your case?

Note: If using Apache 2.4 (which is found in Ubuntu 13.10 Saucy and later), then change the following line from:

Allow from all

To:

Require all granted
You can find this just below the Apache configuration, if it is not your case, meaning if you are using a different version of Apache just let me know to make the change in the documentation.

Regards,
User avatar
By erpnedir
#782299
Hi Liliana,
Nice to be remembered :)
What I was trying to tell is, you have to change the documentation as below:
Code: Select all
Note: If using Apache 2.4 (which is found in Ubuntu 13.10 Saucy and later), then change the following lines from:
    Order allow,deny
    Allow from all
To:
    Require all granted
Regards,
By websolprov
#782931
I spent a fair few hours this afternoon with the same problem, never thought to look in the error log:

[Mon May 04 20:59:14 2015] [crit] [client x.x.x.x] (13)Permission denied:/opt/processmaker-2.8/workflow/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

When I saved the .htaccess over, it inherited 770 permissions, so make sure the permissions for this file are set to readable (0644) just in case anyone else is having the same problems.
By duncanvarley
#783178
Hi Lillana,

Just for your information - the following is still showing incorrectly on the documentation (i.e. it is still stating that only the line "Allow from all" needs to be replaced with "Require all granted" and not both lines as below).

Kind regards.
erpnedir wrote:Hi Liliana,
Nice to be remembered :)
What I was trying to tell is, you have to change the documentation as below:
Code: Select all
Note: If using Apache 2.4 (which is found in Ubuntu 13.10 Saucy and later), then change the following lines from:
    Order allow,deny
    Allow from all
To:
    Require all granted
Regards,

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]