Q1. I have setup my own gateway and Airavata. When I log into the gateway I cannot create Compute resources. What should I do? Answer: In your pga_config.php (in folder .../testdrive/app/config) under heading ‘Portal Related Configurations’ set ‘super-admin-portal’ => false, to true.
Q2. I don‘t get notifications when users create new accounts in my gateway. Why? Answer: That’s because you have not defined an email address in
‘admin-emails’ => [‘xxx@xxx.com’,‘yyy@yyy.com’]. Here you can add one or many.
Q3. I am not receiving email notifications from compute resoures for job status changes. What should I do? Answer: In airavata-server.properties please locate and set your email account information.
Q4. In my Airavata log I have error messages like
ERROR org.apache.airavata.api.server.handler.AiravataServerHandler - Error occurred while retrieving SSH public keys for gateway
ERROR org.apache.airavata.credential.store.server.CredentialStoreServerHandler - Error occurred while retrieving credentials
What should I do?
Answer: This could be due to missing tables in your credential store database. Check whether CREDENTIALS and COMMUNITY_USER tables exits. If not create then using
Q5. I cannot login to my Compute Resource and launch jobs from Airavata using the SSH key I generated. What should I do?
Answer: Steps to use generated SSH key
- Generate SSH key + token using Credential Store
- Add the generated token to your resource through PGA --> Admin Dashboard --> Gateway Preferences
- Add the generated SSH key
Q6. When installing PGA in MAC i got below error after updating the composer.
- Error
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output:
Answer: Install mcrypt installation; mcrypt Installation Steps
Q7. After following the required steps only the home page is working and some images are not shown properly.
Answer: If you are facing this behavior first check whether you have enabled mod_rewrite module in apache webserver.
And also check whether you have set AllowOverride All in the Vhost configuration file in apache web server.
(e.g file location is /etc/apache2/sites-available/default and there should be two places where you want to change)
<VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot /var/www/html/portal/public ServerName pga.example.com <Directory “/var/www/html/portal/public”> AllowOverride all ErrorLog logs/pga_error_log CustomLog logs/pga--access_log common
Q8. I get the Error message Permission Denied to app/storage directory.
Answer: Execute the following command and grant all permissions; sudo chmod -R 777 app/storage
Q9. In Ubuntu environment when executing sudo composer update it fails with message “Mcrypt PHP extension required”.
Answer: To fix this install PHP mcrypt extension by following the below steps;
use locate mcrypt.so ,to get its locaton locate mcrypt.ini and open the mcrypt.ini file sudo pico /etc/php5/mods-available/mcrypt.ini change the at line a extension=<location of e mcrypt.so file> eg:/usr/lib/php5/20121212/mcrypt.so save changes. execute the command: sudo php5enmod mcrypt Now restart the apache server again and test PGA web-interface.
Q10. When tried to login or create a new user account an Error is thrown which is similar to PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from...
Answer: If you face this kind of an error first check whether you have enabled PHP SOAP and OpenSSL extensions. If even after enabling them the issue is still occurring try updating the PHP OpenSSL extension. (Using command like yum update openssl)