|
First, I can successfully run:
And visit "127.0.0.1:8888" to use the web interface on Ubuntu. Second, I was trying to start the Veracity server when Ubuntu starts using these steps: http://www.ubuntu-howto.info/howto/how-to-execute-a-command-program-or-script-at-startup-init-mini-howto Where my /etc/init.d/vvserve script contains:
But when I restart Ubuntu and visit "127.0.0.1:8888", I am redirected to the following page:
Any repository URL I visit or select in the menu, also redirects me to the same page. So, the server is running but something is not configured properly? |
|
Add the following to the end of your ~/.profile file:
Or specify port and run publicly:
This would work, but requires you to log in. The advantage of the init.d script is that it will run if the computer is turned on, even if you don't log in. (I don't have any experience with init.d so i can't really say more about how it might work.)
(Feb 16 at 09:21)
PaulE ♦
@PaulE, I understand the limitations. My goal (at the moment) is to allow each developer to launch the web interface once logged in without running a separate command.
(Feb 16 at 09:35)
Jace Browning
I guess it's true that without using the
(Feb 16 at 09:52)
PaulE ♦
|
|
If you want your server to be running for any user, i.e. if you want to stick to the init.d script, you could consider changing your SGCLOSET location. In addition you perhaps should run the vv serve script as a different user that has the necessary permissions. |
|
I'm not an expert on this, but it looks like you're seeing a "clean" web environment with no repositories. 'vv serve' expects .sgcloset to be in its home directory. With it running as a startup process, I suspect that it's not running under your user account, where your repos are kept. If you're seeing repos in the drop-down menu, that may be coming from a cookie left over from a prior session. Maybe I should try to start the server from "~/.profile"?
(Feb 15 at 21:36)
Jace Browning
Yeah, that would probably be best. That way you'll avoid any potential (likely?) permissions issues as well. vv serve --port 8888 & (add "-P" if you want external access)
(Feb 15 at 23:39)
Joe Ream ♦
|

Seems every time I upload an image, it fails to load on this site.
Sorry about the images. This site gets a little confused when it auto-generates the URL, and I've logged a bug to fix that. (URL gets generated as /upfiles/image.xyz but the correct URL should be /qa/upfiles/image.xyz)