Is there a GUI for Greyhole?

  • Question
  • Updated 3 years ago
I was wondering if a GUI has been written for Greyhole that's not part of Amahi?

The main reason is I have some hardware that is incompatible with Fedora 12, so I've gone for the xUbuntu install and am going through the process of installing Greyhole, sabNZBd, Sickbeard and CrashPlan
Photo of karaokestuK

karaokestu

  • 5 Posts
  • 0 Reply Likes
  • excited

Posted 4 years ago

  • 3
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
There is a simple web app you can run on Apache. But it's currently not adapted for Ubuntu.
There is an issue in the bug tracker (just added) about this: http://code.google.com/p/greyhole/iss...
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
The web-app (version 0.8) should now be compatible with Ubuntu.
Let me know.
Photo of karaokestuK

karaokestu

  • 5 Posts
  • 0 Reply Likes
I'm getting the following error after I've ticked a couple of the storage pools and clicked the update link:

Your changes have not yet been applied.
You'll need to execute the following command in a terminal or using SSH, logged as root on your server

Along with the command.

/var/www/files is empty, although I assume this should have the newly updated configuration files in?
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
The customized configuration files should be in the directory that you see as the first argument of the command you're asked to execute.
If they are not there, it's probably because your web server couldn't create them. Make sure the permissions of that directory would allow the user running your web server (nobody, or apache, or httpd) to create files there.
The INSTALL file that came with the web-app should explain this.

You can also confirm this is the problem by looking in your web server's error_log. You'll probably see errors about being unable to create such and such files.
Photo of karaokestuK

karaokestu

  • 5 Posts
  • 0 Reply Likes
Hi,

I've made the necessary changes, however now whenever I try to change one of the checkboxes, it un-checks itself again and won't let me save.

Any ideas?

I'm wondering if it's something to do with my smb.conf?

I've made it absolutely minimal...

#======================= Global Settings =======================

[global]
unix extensions = no
follow symlinks = yes
wide links = yes

[stuart]
path = /users/stuart
create mask = 0770
directory mask = 0770
read only = no
available = yes
browseable = yes
writable = yes
guest ok = no
printable = no
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
Again, the INSTALL file tells you:
"If you didn't do that before you tried to access the web-app for the first time, then the current URL is probably index.php?edit=1. Once you fixed the above, you'll need to load index.php, without any parameter (remove the ?edit=1 from the URL)."
Photo of karaokestuK

karaokestu

  • 5 Posts
  • 0 Reply Likes
Sorry to be a pain, but I've done this too.

The files have been created successfully, however when I tick one of the checkboxes to add the drive to the storage pool, the ajax loading icon shows and then un-checks the box again.

Also, when I tried to run the file it says on clicking update, I get this error:

[: 28: !=: unexpected operator
greyhole start/running, process 11436
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
OK. You should hold off on this until I have time to test the web-app on xUbuntu myself, which probably won't be very soon.
Until then, you'll need to edit the smb.conf and greyhole.conf files manually.
The instructions to do so are found in the Greyhole INSTALL file (not the web-app INSTALL file).
If you're not comfortable editing config files, you're only other option is to use Amahi. Maybe their Fedora 14 alpha version would work for you.
Photo of karaokestuK

karaokestu

  • 5 Posts
  • 0 Reply Likes
It's a shame it's not C# we're coding in or I might have been able to help!

I'll have a look through the manual config route and see if I can get it all setup there - I just hate samba config files!
Photo of John Harrison

John Harrison

  • 1 Post
  • 0 Reply Likes
In the latest versions of Greyhole, I cannot find any reference to the web app mentioned above.

How do I install / access the Web App?
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
It's been deprecated. It caused more issues than anything else.
An new UI is in the work.
Photo of Stéphane Bocquet

Stéphane Bocquet

  • 12 Posts
  • 1 Reply Like
Could we imagine something like a plugin in this new server which sound promising: openmediavault (http://www.openmediavault.org)
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
I personally won't work on integration Greyhole into other open-source projects.
I'm working on my own web UI.

If others would like to integrate Greyhole in their projects, I'll be happy to help them by adding specific functionality to Greyhole; stuff like JSON output format, or configuration change via the greyhole executable.
Photo of Stéphane Bocquet

Stéphane Bocquet

  • 12 Posts
  • 1 Reply Like
Thanks for your answer. I will contact you if needed...

Just one question : when can we expect to see your web UI ?
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
Very hard to say; it greatly depends on my free time.
There is still a lot of work to do, so at the latest, a month or two. More realistically, I'd say 2-3 months.
Photo of talexoneT

talexone

  • 8 Posts
  • 0 Reply Likes
Hello,
Is there any changes with your web UI after three months?
Photo of Guillaume Boudreau

Guillaume Boudreau, Developer

  • 434 Posts
  • 30 Reply Likes
No, nothing new.
You can track the advancement on this here: https://github.com/gboudreau/Greyhole...
Photo of Stéphane Bocquet

Stéphane Bocquet

  • 12 Posts
  • 1 Reply Like
Hi Guillaume,

Just to thank you for your help, and let you know that our first version of Greyhole plugin for OpenMediaVault is here.

The next version will be there pretty soon, with more pool disk management feature, and we are looking forward for the --unwind option ;)

Cheers,
Photo of Stéphane Bocquet

Stéphane Bocquet

  • 12 Posts
  • 1 Reply Like
Some screenshots... ;)





Photo of ernest.figuerasE

ernest.figueras

  • 3 Posts
  • 0 Reply Likes
Some great work on this! hopefully it will be exportable/applicable to other distros...
Photo of Ashimema

Ashimema

  • 1 Post
  • 1 Reply Like
Great work.. it's good to see Greyhole making an impact in the wider community beyond Amahi.. Nice work!