Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

/ui/index.html#/ gets nowhere #8

Open
henrchen opened this issue Feb 9, 2017 · 2 comments
Open

/ui/index.html#/ gets nowhere #8

henrchen opened this issue Feb 9, 2017 · 2 comments

Comments

@henrchen
Copy link

henrchen commented Feb 9, 2017

I have installed this from both an OVA and source. I am able to see the login page /ui/index.html, but after I login as admin, the page does not change after some spinning and bar movement.

I was able to run "python switch_model_script.py" which uses auth token. /auth/login also gives me a token. So I am pretty sure admin/admin is a valid user account.

I notice one thing. In /ui/index.html all embedded sources are using a relative path, i.e. scripts/foo.js and access_log shows I am trying to get /ui/index.html#/scripts/foo.js, apparently that is wrong, it should be /ui/scripts/foo.js. When I changed index.html to use an absolute path, i.e. /ui/scripts/foo.js, I was able to see some other pages. But they also use relative paths and get no further. So it looks like I missed a setting somewhere. But I could not find out what it is.

@henrchen
Copy link
Author

It looks like /auth/login is mapped to http://localhost:80/auth/login. I know it is handled by jdoser. But I could not find the place to change that.

@henrchen
Copy link
Author

henrchen commented Feb 10, 2017

Finally got this to work. Need to chmod couple (i.e. autonetket) directories for log files.

I manually change a scripts file in webapp/dist/scripts by hard coding my NAT'd server address, reload apache2, no luck, but the URL was changed from 127.0.0.1 to twice prepended with the address I manually added so I revert my change, restart apache2, and now it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant