Difference between revisions of "Web App Creation Fix"

From Amahi Wiki
Jump to: navigation, search
(Created page with "'''NOTE:''' This <u>ONLY</u> applies to Amahi 6 (Ubuntu 12.04.x). While manually creating a web app via the dashboard, you receive a "HTTP 500 error" message. If this occur...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
'''NOTE:'''  This <u>ONLY</u> applies to Amahi 6 (Ubuntu 12.04.x).
 
'''NOTE:'''  This <u>ONLY</u> applies to Amahi 6 (Ubuntu 12.04.x).
  
While manually creating a web app via the dashboard, you receive a "HTTP 500 error" message.  If this occurs, the work around below should correct the issue.
+
While manually creating a web app via the dashboard, you receive a "HTTP error 500" message.  If this occurs, the work around below should correct the issue ([https://bugs.amahi.org/issues/977 Amahi bug 977]).
  
 
Change the permissions of the /var/hda/web-apps folder to 777:
 
Change the permissions of the /var/hda/web-apps folder to 777:

Latest revision as of 00:35, 6 April 2014

NOTE: This ONLY applies to Amahi 6 (Ubuntu 12.04.x).

While manually creating a web app via the dashboard, you receive a "HTTP error 500" message. If this occurs, the work around below should correct the issue (Amahi bug 977).

Change the permissions of the /var/hda/web-apps folder to 777:

sudo chmod 777 /var/hda/web-apps

Next create the web app. The ownership of the new folder will be something like nobody:nogroup. Change it to your first admin user:

sudo chown -R firstadminuser:users /var/hda/web-apps/appname

Once you do that, it should work fine.