Hello,
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: mkdir /tmp/certificates 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?
also my sudo /edx/bin/supervisorctl status contains only following parameters
Hey, @Shiva-prog123 this means that there is no migration to run. You can restart the LMS and try creating a certificate. To restart lms you need to run sudo /edx/bin/supervisorctl restart lms. You can also monitor LMS and studio logs and see if you notice any error.