Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: mab974 on January 14, 2015, 04:53:55 PM

Title: [Announce] Smeserver-geneweb
Post by: mab974 on January 14, 2015, 04:53:55 PM
Hi,

i have updated the work of Craig Jensen (and others) to geneweb-6.07 and i need some tests. I do not know if there are still users of geneweb on sme.  :)

Packets are available for SME8 and SME9 (geneweb v6.07 and smeserver-geneweb 2.0-19) at http://repos.misouk.com

Misouk repository can be installed.
Code: [Select]
db yum_repositories set misouk repository \
BaseURL http://repos.misouk.com/Sme_Server/\$releasever \
EnableGroups no GPGCheck yes \
Name "SME Repo @ misouk.com" \
GPGKey http://repos.misouk.com/RPM-GPG-KEY \
Visible yes status disabled

Doc in wiki remains valid. (http://wiki.contribs.org/Geneweb)

Feedbacks appreciated.
Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on January 14, 2015, 08:54:13 PM
I'm glad to see a new contributor.....we lack a lot of news like that.....please test this work
Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on January 29, 2015, 07:53:10 PM
Hello,

For a long time I was waiting for a contrib my favorite genealogy software in SME and so I am very interested to participate in the test.
I installed the 4.09 version of Geneweb on a Free-EOS Server (a French version E-Smith Server), there several years, but I do not have the skills to adapt the latest version of Geneweb in SME Server.
I have a machine running SME Server V8.1 now.
So I installed the contrib, and it works!!! 8)

Thank you.

I have 2 minor complaints:
1. Geneweb services do not start automatically.
2. The application does not install a ibay. Do-it should not?
Are you planning to improve this?

Otherwise it's all good.  :grin:
Title: Re: [Announce] Smeserver-geneweb
Post by: mab974 on January 30, 2015, 02:10:04 PM
hello,

Quote
1. Geneweb services do not start automatically.
it's embarrassing, this version is supposed to solve this problem.  :smile:

Quote
2. The application does not install a ibay. Do-it should not?
I really don't know, initially I wanted to do a minimal patch so geneweb remained in the /opt directory but this can be discussed.

I take a look ... as soon as possible.
Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on January 30, 2015, 02:20:35 PM
My 2c and of course you are invited to argue

Since gebeweb is a contrib, the location must be either in /opt (seems a sme standard) or in /usr/share if you want to be redhat compatible.

Both are valuable except that stick to redhat standard should be what we aim
Title: Re: [Announce] Smeserver-geneweb
Post by: janet on February 01, 2015, 10:55:22 PM
stephdl

Quote
Since geneweb is a contrib, the location must be either in /opt (seems a sme standard)....

charlieb suggested to use /opt many years ago & others picked up on that & it became a pseudo standard for SME server,  but it seems charlie may have regretted that suggestion.
SME server is designed to have contribs installed in ibays & IMO all contribs should be installed in an ibay.
 There are problems & extra work required with putting contribs in /opt eg aliases, & there are sufficient ibay controls & protective mechanisms to make ibay usage "as safe as possible".

Personally I move any contrib that installs itself into /opt, into an ibay, it's better for various reasons.

Opinions may vary but it does not really matter where a contrib installs itself to, but there is certainly no compelling technical reason to continue installing contribs (particularly web apps) to /opt on SME server.

We should aim to stick with SME server standards & install contribs to ibays.
Title: Re: [Announce] Smeserver-geneweb
Post by: mab974 on February 02, 2015, 07:19:58 AM
EriK

Quote
1. Geneweb services do not start automatically.

when the local IP address is changed via the admin-console, the gwd restart does not happen despite the execution of the event. The equivalent manual modification with "config setprop geneweb only XXXX" and "signal-event geneweb-modify" is working properly. This needs some investigation.
Otherwise the service seems to work.

Janet
However geneweb is a somewhat special application that does not use php, perl, apache (for now) and mysql. So it may be separated from the standard applications.

Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on February 02, 2015, 11:31:03 AM
Personally I move any contrib that installs itself into /opt, into an ibay, it's better for various reasons.

Opinions may vary but it does not really matter where a contrib installs itself to, but there is certainly no compelling technical reason to continue installing contribs (particularly web apps) to /opt on SME server.

We should aim to stick with SME server standards & install contribs to ibays.

You are a power user, so you can do what you want :)

I disagree with the idea to move files of a rpm to  ibays, I do not know what it can happen if you do a backup and a restoration to another server, you might have some issues, but you have the skill to solve them, so no problem for me.

A contrib is done to users who don't have the skill to trade with a webapp application, if you have the level of knowledge of doing a mysql db and installing all php files (yes it is easy)  I would agree that the good place is the ibay because the server can trade with all the backup process. However backup are in the hand of sysadmin, and when you install a wordpress or any other webapp from epel, they don't provide backup for you, it is your job.

In french we have an expression 'ceinture et bretelles' (belt and braces) so you should have two ways of different backup it is most sure.

From my experience, I would follow the fedora behaviour and install all files in /usr/share.

Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on February 04, 2015, 08:02:19 PM
stephdl

SME server is designed to have contribs installed in ibays & IMO all contribs should be installed in an ibay.

We should aim to stick with SME server standards & install contribs to ibays.
That's what I understood when I first use Free-EOS Server. :smile:
Thank you for consolidated my understanding of this specificity on SME Server :razz:
Title: Re: [Announce] Smeserver-geneweb
Post by: Stefano on February 04, 2015, 08:47:09 PM
it doesn't matter where we install things as long:
- it is well documented
- it is into a standard backup

so, IMHO (@stephdl) if a contrib is installed in /usr/share or $whenever, it should add his destination dir to the list of backupped ones
Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on February 04, 2015, 09:09:43 PM
that could/should be done by the end user,  I don't want to be responsible for the backup of others, mine are enough
Title: Re: [Announce] Smeserver-geneweb
Post by: Stefano on February 04, 2015, 09:11:39 PM
well.. I disagree..
in any case, I'll post a mail in devinfo ML with an idea :-)
Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on February 04, 2015, 10:31:02 PM
You are welcome
Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on February 07, 2015, 11:26:17 AM
it doesn't matter where we install things as long:
- it is well documented
- it is into a standard backup

so, IMHO (@stephdl) if a contrib is installed in /usr/share or $whenever, it should add his destination dir to the list of backupped ones

IMHO, this application (Geneweb) deserves to be installed in an i-bay.
Indeed, the administrator of the Family database is not necessarily the server administrator.
However, the administration of the database sometimes requires to write directly in the application folder (import-export Gedom file, adding pages linked to the database, etc ...)
The installation of the application in an i-bay allows all this via FTP access.
For my part, I manually installed the application in "/home/e-smith/files/ibays/geneweb/files".

The downside is that my system is no longer compatible with the contrib Craig Jensen ( integration of Geneweb into the server manager).
Title: Re: [Announce] Smeserver-geneweb
Post by: mab974 on February 07, 2015, 05:42:33 PM
@erik
there are multiple solutions as usual but IMHO the best way is to change the contrib so that it meets the needs (adding and updating data by authorized users). The data directory of geneweb can be anywhere (separate from the application) and the rights can be refined for FTP (with geneweb existing group for example).

the location of the base application also depends a lot on the source, many recent contribs use the EPEL repository, this can be a very wise choice in light of frequent security updates  more easily achieved by better adapted structures. In this case, the appli will be in /usr/share/XXX, the data in /var/lib/XXX and the configuration files in /etc/XXX.

Quote
if a contrib is installed in /usr/share or $whenever, it should add his destination dir to the list of backupped ones
i agree. each contrib should be able to add (and remove if uninstall) the data directory in a standard backup list used by backup programs.
At a recent upgrade to sme9 I lost data stored in /var/lib. fortunately it was a test appli.
Title: Re: [Announce] Smeserver-geneweb
Post by: stephdl on February 08, 2015, 08:13:50 AM
Not all contribs needs to backup their data, from one I maintain (smeserver-wordpress), it could be interesting, why not. But the sysadmin can decide to choose another backup way, so this has to be disabled by a db entry.

Well the source of wordpress are there : https://github.com/stephdl/smeserver-wordpress

If someone would provide a patch (do a pull request by github), he will do a great thing for the community.
Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on February 09, 2015, 02:28:26 PM
mab974
EriK
when the local IP address is changed via the admin-console, the gwd restart does not happen despite the execution of the event. The equivalent manual modification with "config setprop geneweb only XXXX" and "signal-event geneweb-modify" is working properly. This needs some investigation.
Otherwise the service seems to work.
I'm really confused:  :oops:
I just perceive me as the cause of the non automatic startup Geneweb services is that I had not installed the contrib smeserver-2.0-19 geneweb
After installing that contrib, everything seems ok
Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on February 17, 2015, 07:36:36 PM
Hi,

i have updated the work of Craig Jensen (and others) to geneweb-6.07 and i need some tests. I do not know if there are still users of geneweb on sme.  :)

Packets are available for SME8 and SME9 (geneweb v6.07 and smeserver-geneweb 2.0-19) at http://repos.misouk.com

Misouk repository can be installed.
Code: [Select]
db yum_repositories set misouk repository \
BaseURL http://repos.misouk.com/Sme_Server/\$releasever \
EnableGroups no GPGCheck yes \
Name "SME Repo @ misouk.com" \
GPGKey http://repos.misouk.com/RPM-GPG-KEY \
Visible yes status disabled
    Doc in wiki remains valid. (http://wiki.contribs.org/Geneweb)

    Feedbacks appreciated.
Hi!
Here some little problems with uninstall process :
Last thing:
The gwd script is not templated. Should not it be? (to be SME friendy) 8)
Title: Re: [Announce] Smeserver-geneweb
Post by: mab974 on February 19, 2015, 05:17:39 PM
Erik,

Quote
In /home/e-smith/db/configuration file, the following line is not cleared:
geneweb=service|only|192.168.2.80|status|disabled

This is a common practice it seems to me, configuration and db data should be manually deleted.

Quote
In /etc/rc.d/init.d, symbolic link is not cleared : geneweb ==> /etc/rc.d/init.d/gwd
In /etc/rc.d/init.d/supervise, symbolic link is not cleared : geneweb ==> /etc/rc.d/init.d/gwd
In /etc/rc.d/init.d/rc7.d, symbolic link is not cleared : S95geneweb ==> /etc/rc.d/init.d/e-smith-service]

ok, this will be done.

Quote
The gwd script is not templated. Should not it be? (to be SME friendy) 8)

I see no need, what customization are you thinking of ?
Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on February 22, 2015, 12:45:50 PM
The gwd script is not templated. Should not it be? (to be SME friendy) 8)
Quote
I see no need, what customization are you thinking of ?
I thought that this would allow the administrator to manually change the location of the database. But it is true that SME does not automatically change the file after the contrib has been installed.
From this point of view the use of templates is not essential.
Title: Re: [Announce] Smeserver-geneweb
Post by: mab974 on May 27, 2015, 06:10:13 PM
Hi,

New packets of Geneweb are available for SME9 at http://repos.misouk.com/Sme_Server/6 (http://repos.misouk.com/Sme_Server/6)

geneweb v6.08 is the last stable version. In smeserver-geneweb 2.0-20 admin can now change "Base directory" in console panel.

Misouk repository can be installed as shown at top of this topic.

For those who are interested by the future of geneweb, the version 7.0 alpha is available in http://repos.misouk.com/Sme_Testing/6. (CAUTION : just for testing ! There are still bugs and backward incompatibility of the database.) It comes with smeserver-geneweb-2.1-1 which will bring some  changes.

Title: Re: [Announce] Smeserver-geneweb
Post by: EriK on July 07, 2015, 07:31:07 AM
Hi,

New packets of Geneweb are available for SME9 at http://repos.misouk.com/Sme_Server/6 (http://repos.misouk.com/Sme_Server/6)

geneweb v6.08 is the last stable version.

Hi!
I tested Geneweb V6.08 on SME 8 and it seems to be ok. Thank you for this upgrade.
Quote
In smeserver-geneweb 2.0-20 admin can now change "Base directory" in console panel.

As it is writed, smeserver-geneweb 2.0-20 is for SM9. I confirme thas it does not work with SME 8.
Not tested.
Quote
For those who are interested by the future of geneweb, the version 7.0 alpha is available in http://repos.misouk.com/Sme_Testing/6. (CAUTION : just for testing ! There are still bugs and backward incompatibility of the database.) It comes with smeserver-geneweb-2.1-1 which will bring some  changes.
Not tested.