Open zoometh opened 8 months ago
context: KAHD
The automatic incremental of HP doesn't work. We tried to have a look at its configuration (in function manager) but the latter is not accessible:
This Function doesn't require any configuration.
A. unregister, register Incrementor and restart Apache
python manage.py fn unregister --name 'Incrementor' python manage.py fn register --source ./krg_arches/functions/incrementor.py sudo service apache2 restart
B. change ownership of the krg_arches/ folder from arches www-data to arches arches
arches www-data
arches arches
(ENV) root@ip-172-31-35-85:/opt/arches/krg_arches# ll total 44 ... drwxrwxr-x 17 arches www-data 4096 Feb 28 16:51 krg_arches/ '''
Doing chown and restart Apache
chown
chown arches:arches krg_arches sudo service apache2 restart
Incrementor function
The automatic incremental of HP doesn't work. We tried to have a look at its configuration (in function manager) but the latter is not accessible:
This Function doesn't require any configuration.
A. unregister, register Incrementor and restart Apache
B. change ownership of the krg_arches/ folder from
arches www-data
toarches arches
Doing
chown
and restart Apache