Forum LAMS for Tech-Heads - General Forum: 2.4 Debian/Ubuntu installers/upgraders out


 
You may request notification for 2.4 Debian/Ubuntu installers/upgraders out.
Search: 

1: 2.4 Debian/Ubuntu installers/upgraders out
08/30/12 07:25 AM
[ Reply | Forward ]
Hi Everyone,

As mentioned at the beginning of this month, we were working on upgraders/installers for 2.4.

LAMS 2.4 was release in April/May but it hasn't been until now that we have been able to provide the Debian/Ubuntu upgraders.

Now they are out and all you have to do, if you are already using the Ubuntu/Debian packages, is just run

sudo apt-get update
sudo apt-get upgrade

and the packaging system should upgrade your LAMS server to 2.4.

We have ran some tests with Debian 6 and Ubuntu 10.04 and 12.04 servers and they all work great (for blank installs and upgrades).

For information on how to use these packages to install LAMS, visit the LAMS Downloads and select the Debian/Ubuntu tab.

If you have any problems, please let post them here.

Thank you,

Ernie

Posted by Ernie Ghiglione

2: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 1 09/03/12 11:53 AM
[ Reply | Forward ]
Thanx Ernie :)

I used the Ubuntu/Debian package upgrade and it (almost) did the full job.

1) repository directory went away (/usr/share/lams2/repository) ... though I might have made mistake (don't think so). Anyhow I did have a backup so there wasn't any dammage

2) In the LAMS admin tool
ear directory was wrong (/usr/share/jboss-4.0.2/server/default/deploy/lams.ear), should be /usr/share/jboss-5.1/server/default/deploy/lams.ear

Btw. I can't find any LAMS config file in the Debian distribution. Everything is in the database I guess (except for defaults that are in the Debian package).

- cheers Daniel

Posted by Daniel Schneider

3: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 2 09/03/12 03:08 PM
[ Reply | Forward ]
Hi Daniel,

Thanks for this, I can confirm that there's an issue with #2.

So for now, you are better off changing it manually in the "Edit configuration settings" in the sysadmin menu. The entry is called "EAR Directory".

Just replace:

/usr/share/jboss-4.0.2/server/default/deploy/lams.ear/

for

/usr/share/jboss-5.1/server/default/deploy/lams.ear/

And that should do this.

There's no db upgrade script as part of the debian packaging, as the first time LAMS starts with the new version it goes itself thru all the upgrade scripts. So no need to have another external one.

I'll fix this shortly

Thanks,

Ernie

Posted by Ernie Ghiglione

4: ,
In response to 3 09/03/12 06:13 PM
[ Reply | Forward ]
Hi Daniel

Posted by Ernie Ghiglione

5: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 3 09/03/12 06:13 PM
[ Reply | Forward ]
Hi Daniel,

Posted by Ernie Ghiglione

6: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 3 09/03/12 06:17 PM
[ Reply | Forward ]
Hi Daniel,

Once again, thanks for you help with this. Very much appreciate it!

The issue with #2 is now fixed. So we should be all good now with Debian/Ubuntu installers.

Just for the record, there's instructions/guidelines on how to install and upgrade LAMS 2.4 for other Unix flavours here:

http://wiki.lamsfoundation.org/display/lams/Unix%2C+Linux+Installers

Thank you,

Ernie

Posted by Ernie Ghiglione

12: Re: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 6 03/28/14 09:54 AM
[ Reply | Forward ]
Hi, some problem is still there I think:

Sorry, the machine speaks french, but basically there is still some old jboss thing hanging in the debian script.

Also, I got 2.4 installed (files data aug 15 2012), and I don't know actually if your official distribution right now (March 2014) includes some packages of interest (bug fixes + language strings).

How could I know the exact subversion of LAMS ?

Btw Any ETA for LAMS 2.4.1 or 2.5 yet ?

- greetings - Daniel


--------------
sudo apt-get install lams2 --force-yes --only-upgrade

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
lams2
1 mis à jour, 0 nouvellement installés, 0 à enlever et 133 non mis à jour.
Il est nécessaire de prendre 60.0 Mo dans les archives.
Après cette opération, 32.8 ko d'espace disque supplémentaires seront utilisés.
ATTENTION : les paquets suivants n'ont pas été authentifiés.
lams2
Faut-il installer ces paquets sans vérification (o/N) ? o
Réception de : 1 http://downloads.lamsinternational.com/debian/ web/ lams2 2.4.0-1 [60.0 MB]
60.0 Mo réceptionnés en 2min 18s (433 ko/s)
Préconfiguration des paquets...
(Lecture de la base de données... 101413 fichiers et répertoires déjà installés.)
Préparation du remplacement de lams2 2.4.0-1 (en utilisant .../archives/lams2_2.4.0-1_all.deb) ...
* Stopping LAMS 2 Server lams2 [ OK ]
cp: impossible d'évaluer «/usr/share/jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/news.html»: Aucun fichier ou dossier de ce type
dpkg : erreur de traitement de /var/cache/apt/archives/lams2_2.4.0-1_all.deb (--unpack) :
le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 1
* Starting LAMS 2 Server lams2 [ OK ]
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/lams2_2.4.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------

Posted by Daniel Schneider

13: Re: Re: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 12 04/07/14 03:16 PM
[ Reply | Forward ]
Hi Daniel,

My apologies for the late reply.

2.4.1 will now be known as 2.5 as we are packing ground changing features within it.

We've been having a lot of activity lately in the development side.

Recently a cross-site scripting issues was brought up and that required to change a lot of code within LAMS to protect from these kind of attacks.

This has throw thing a bit off the original plan which was to release LAMS 2.5 within a month.

Also, I'm yet to put the final release notes for 2.5 but there a quite a lot of new cool features

* New Flashless monitor UI.
* Improved Flashless learner UI (it looks just like the old Flash one, but no Flash).
* New redesigned index page.
* Support for mobile devices in quite a few LAMS activities (unfortunately not all yet).
* Pretty much all tools monitoring interface have been improved.
* Two new activities: Scratchie and Leader tools (more on these shortly).
* Ability to move students backwards in a lesson (get them to redo activities).
* and hundreds more...

Once we are getting closer to the final version, building the installers would be pretty straight forward as they won't have major "under-the-hood" upgrades as with 2.4, but rather feature improvements this time.

We are currently working on Flashless Authoring and it looks quite nice, but I don't think this feature will cut it for 2.5 though.

Thanks,

Ernie

Posted by Ernie Ghiglione

14: Re: Re: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 12 04/07/14 03:19 PM
[ Reply | Forward ]
Hi Daniel,

I realized that I didn't answer your question though :-)

> How could I know the exact subversion of LAMS ?

Check out in the sysadmin menu, in the "Edit config settings", there's a whole bunch of versions (UIs mainly).

The format should be 2.4.0.{date}


More accurately than this would be to check out the patches table in the db:

select * from patches;

Thanks

Ernie

Posted by Ernie Ghiglione

15: Re: Re: Re: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 14 04/08/14 10:43 AM
[ Reply | Forward ]
Thanx :)

Now for those lazy guys who didn't apply the big official 2.4 patches for a while (all were published in spring 2013), read

http://wiki.lamsfoundation.org/display/lams/Patches

If you have a standard Ubuntu install, copy/paste if you are not afraid:

http://edutechwiki.unige.ch/en/LAMS_installation_and_configuration#Small_LAMS_patches

... it's worth the trouble.

Posted by Daniel Schneider

16: Re: Re: Re: Re: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 15 04/09/14 03:26 PM
[ Reply | Forward ]
Thanks Daniel!

Really appreciate that you share these links. Very useful!


Ernie

Posted by Ernie Ghiglione

7: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 1 04/12/13 09:37 AM
[ Reply | Forward ]
Hello folks,

I am doing my annual intro to LAMS lessons (both in our Master and in an adult training class). I got LAMS 2.4.0-1 installed.

Is there an "apt-get" or *.deb upgrade (Ubuntu) for LAMS 2.4.1 ? (don't think so ... but then I my sysadmin skills are going down the hill)

Also, to evaluate if I should do a manual upgrade, is it worth to have 2.4.1 as opposed to 2.4.0-1 ?

- Greetings and thanks ! - Daniel

PS: Also got to catch up with translation, but this semester was really busy here :(

Posted by Daniel Schneider

8: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 7 04/14/13 07:59 PM
[ Reply | Forward ]
Hi Daniel,

We haven't release 2.4.1 as we keep adding new features! :-)

But it's promising to be a really good one. Specially for mobile and tablets use as we will be pretty much getting rid of Flash all together! (except for Author).

So you won't get anything coming downstream from apt-get yet.

I think you can run with 2.4.0 for this semester. Hopefully you won't encounter any issues. Otherwise let me know and I can release a quick patch.

Cheers,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 8 04/15/13 11:12 AM
[ Reply | Forward ]
Thanx, cool to see that you still got resources to improve.

If I find time, I'll apply the two patches I can see here:
http://wiki.lamsfoundation.org/display/lams/Patches

Btw, I guess that you will shout clearly before you plan to deploy 2.4.1 (for translation work I mean).

- daniel :)

Posted by Daniel Schneider

10: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 1 09/17/13 09:39 AM
[ Reply | Forward ]
is Lams 2.4 a server version ?
I want to install it in ubuntu 12.04 32bit server

Thanks

Posted by Panagiotis Karageorgos

11: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 10 09/17/13 10:21 PM
[ Reply | Forward ]
Yes, it is a server version.

If you use the debian/ubuntu installers, it should work quite OK.

Otherwise, look at the logs and post here any errors.

Thanks

Ernie

Posted by Ernie Ghiglione

17: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 1 10/27/14 01:42 PM
[ Reply | Forward ]
Hello from Greece. LAMS is a very popular teaching/learning tool in our country and we really appreciate your hard work!


However, there is a problem with the debian/ubuntu installers link. The links do not seem to work... could please check them out?

Thank you,

Andreas

Posted by Andreas Papakleovoulou

18: Re: Re: 2.4 Debian/Ubuntu installers/upgraders out
In response to 17 10/28/14 05:00 AM
[ Reply | Forward ]
HI Andreas,

Sorry for the delay in getting back to you.

We have now moved the debian installers to CDN with Amazon EC2, so it should work much faster.

The only change is in the domain name.

Instead of downloads.lamsinternational.com, it should be download.lamsinternational.com.

Just change this in your /etc/apt/sources.list, do an apt-get update and that should do.

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum