I am trying to enable certificates on the Ironwood platform on native open edx installation. The documentation here says:
Step 3. If it does not exist already, create the folder
/tmp/certificates owned by the user and group
www-data . Depending on your configuration, this folder might not survive reboots, and so might need to be created by a script.
I did this way after trying a few things:
create the script:
sudo nano /etc/init.d/certificates.sh
Contents of the script:
#!/bin/bash if [ ! -d /tmp/certificates ] then sudo mkdir /tmp/certificates sudo -u root chown www-data:www-data /tmp/certificates sudo -u www-data chmod 755 /tmp/certificates fi
- add to startup init:
sudo update-rc.d certificates.sh defaults
but after the third step I got a warning like this
insserv: script certificates.sh is not an executable regular file, skipped!
certificates.sh showing running status, but it is not created inside the tmp folder. So I did the following steps:
chown -R www-data:www-data /tmp/certificates
after this steps, the document says to run database migrations… but I don’t know how to do this migrations?
sudo /edx/bin/supervisorctl status contains only following parameters
What should I do next?
Your help in this matter would be greatly appreciated.
Thanks in advance