[Openstack] [openstack-dev] Unable to start Horizon after successfully installation through devstack.

hitesh wadekar hitesh.wadekar at gmail.com
Thu Sep 6 09:27:17 UTC 2012


Thanks Tihomir for the information and reply,

Here is the output of

Media root -> /opt/stack/horizon/media
Static root -> /opt/stack/horizon/static

" code snippet for" ->

MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media'))
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'static'))
STATIC_URL = '/static/'

I think this is the wrong path.  Please update me if I am wrong.

Also, I found this https://bugs.launchpad.net/horizon/+bug/1036571, where
they mentioned its compressor issue.

Thanks,
Hitesh

On Thu, Sep 6, 2012 at 2:20 PM, Tihomir Trifonov <t.trifonov at gmail.com>wrote:

> Hitesh,
>
> In fact the error you've pasted means that there is no /horizon subdir in
> /static/, which however seems like a settings misconfiguration. Would you
> paste what you have for
>
> STATIC_ROOT
>
> in your openstack_dashboard/settings.py file?
>
> When I delete the horizon/static/horizon dir, I get a similar error:
>
> 'horizon/js/horizon.js' could not be found in the COMPRESS_ROOT '/opt/stack/horizon/static' or with staticfiles.
>
>
> And /opt/stack/horizon/ is supposed to be the dir for horizon installation
> with DevStack. What version of devstack scripts do you use? Latest from
> github?
>
>
>
> On Thu, Sep 6, 2012 at 8:26 AM, hitesh wadekar <hitesh.wadekar at gmail.com>wrote:
>
>> Hello Folks,
>>
>> Recently I tried with DevStack installation. It has successfully
>> installed, even success message has been appeared at cmd. However, when I
>> checked it in the browser I got this issue.
>> "Internal Server Error"
>>
>> The server encountered an internal error or misconfiguration and was
>> unable to complete your request."
>>
>> Also, when I checked it with DevStack Horizon screen. It has been stucked
>> at  -> UncompressableFileError: 'horizon/js/horizon.js' isn't accessible
>> via COMPRESS_URL ('/static/') and can't be compressed.
>>
>> Any idea about it?
>>
>> Cheer,
>>
>> Hitesh
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
>
> --
> Regards,
> Tihomir Trifonov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120906/3d367c80/attachment.html>


More information about the Openstack mailing list