Zentyal Forum, Linux Small Business Server

News and Announcements => News and Announcements => Topic started by: J. A. Calvo on April 11, 2014, 10:16:04 am

Title: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: J. A. Calvo on April 11, 2014, 10:16:04 am
Hi all,

To upgrade your Zentyal 3.3 Community Edition to 3.4 you only need to update your 3.3 first to get the new zentyal-core 3.3.8. After that, an upgrade button will appear on the dashboard.

Please take into account that this upgrade involves also a distribution upgrade (from Ubuntu 12.04 to 13.10), so it make take a bit longer depending on the packages you have installed and your internet connection.

Remember also that only one community edition is maintained at the same time, so the end of life of Zentyal 3.3 has been reached already.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 11, 2014, 01:31:39 pm
Upgrade went very smooth indeed.

thnx guys  :D
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: Gopher on April 11, 2014, 01:45:04 pm
No upgrade button appears for me after core update
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: roswitina on April 11, 2014, 03:37:40 pm
Quote
No upgrade button appears for me after core update

as well ...

Rosi
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: logdog on April 12, 2014, 01:32:01 am
No upgrade button appears for me after core update
+1
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: lapzenz on April 12, 2014, 01:44:02 am
No upgrade button appears for me after core update
+1
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: gadgetusaf on April 12, 2014, 01:44:57 am
My upgrade failed and i cannot continue the packages installs it failed with zentyal-ips
error
Reading database ... 312401 files and directories currently installed.)
Preparing to replace suricata 1.1.1-1 (using .../suricata_1.4.3-1_i386.deb) ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/suricata_1.4.3-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
No apport report written because MaxReports is reached already
                                                               * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 5
Preparing to replace grep 2.10-1 (using .../archives/grep_2.14-3_i386.deb) ...
Unpacking replacement grep ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Errors were encountered while processing:
 /var/cache/apt/archives/suricata_1.4.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: pstrebel on April 12, 2014, 09:54:33 am
No upgrade button appears for me after core update

+1
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: Gopher on April 14, 2014, 11:36:50 am
Will this end up like my other box, stuck running 2.3 with no nice integrated complete or documented way to upgrade, forgotten and ignored in favour of the latest bleeding edge,buzzword filled and dubiously tested release....
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: J. A. Calvo on April 14, 2014, 04:20:34 pm
To the ones that are not seeing the button: can you confirm if your server is subscribed to Zentyal Remote or you have a commercial trial? If that's the case we will provide a new package soon.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: chappy on April 14, 2014, 04:41:53 pm
I also have no update button. My server is registered as community edition.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: leojrfs on April 14, 2014, 04:50:04 pm
Upgrade button doesnt appear, my server is registered on zentyal remote as a community edition


Thanks
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: Gopher on April 14, 2014, 04:52:58 pm
Yes community and registered for zentyal remote.
A recent (~1 month) install that has a developeda few quirky issues after some of the recent updates, fingers crossed a full upgrade will make them go away.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: J. A. Calvo on April 14, 2014, 08:34:12 pm
Ok, now if you upgrade to zentyal-core 3.3.9 the button should appear no matter the subscription. Thanks for the feedback!
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: gadgetusaf on April 15, 2014, 01:37:31 am
My upgrade failed and i cannot continue the packages installs it failed with zentyal-ips
error
Reading database ... 312401 files and directories currently installed.)
Preparing to replace suricata 1.1.1-1 (using .../suricata_1.4.3-1_i386.deb) ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/suricata_1.4.3-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
No apport report written because MaxReports is reached already
                                                               * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 5
Preparing to replace grep 2.10-1 (using .../archives/grep_2.14-3_i386.deb) ...
Unpacking replacement grep ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Errors were encountered while processing:
 /var/cache/apt/archives/suricata_1.4.3-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I had the same error, I reverted back to 3.3 reloaded a back up config, Hoping to see if there is an answer as to what caused this issue.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: markus.leitold on April 15, 2014, 07:42:29 am
For all of you who are using Zarafa as main Mail / Calendar / Contacts Application:

As it is NOT CLEARLY mentioned somewhere in the docs, not even in ChangeLogs:

!!Zentyal has COMPLETELY DROPPED ZARAFA in this release as Zarafa does not provide Packages for Ubuntus non-LTS releases!!

Yesterday I was surprised and shocked that my complete EMail / Calendar / Contacts Infrastructure incl. ActiveSync stopped working after upgrading to Zentyal 3.4, so now I have to revert back to 3.3 and hope I get my Zarafa Stores up and running again.

@ZentyalStaff: IMHO this should be announced more clearly, it es even NOT mentioned in the ChangeLogs! What are the future plans for Zarafa? Will this completely be removed and changed to OpenChange? Are there any migration plans for current Installations running Zarafa to Openchange?
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 15, 2014, 09:56:33 am
I don't think it was actually planned.

Zarafa only supply for LTS.

Then I think the Zentyal crew ran into dependency hell as Zarafa and Openchange clashed. As compiling for saucy was the option.

I think in the next release which will be a LTS Zarafa will be back alongside Openchange.

Part of their development strategy is to release often and follow the ubuntu releases so each new LTS doesn't turn into a car crash.

Guess you will have to be patient or stay with what you had.

What I wish and its not that I am saying in anyway Zentyal are wrong. I just feel it would actually save a lot of angst if all this was explained.

The download page and community release from my point of view looks like a stable full working product.

I don't think it would detract to have an important readme that explains about release policies a little more.

Bored of saying this to be honest.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 15, 2014, 10:07:53 am
i am doing several tests and one was to simply click on the X button where is says to upgrade to 3.4

OK...HOW do i bring it back?

thnx
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 15, 2014, 10:22:12 am
I am not all that sure and actually if you should of been able to.

I mean obviously you could be 3.4 is supposed to be run on saucy which should require a dist-upgrade before hand.

So really that upgrade button should of been greyed out.

I guess you will have to do each of the zentyal modules installed.

apt-get install pkg=version version = previous version.

I have done this on other software but there are quite a few packages from zentyal.

Also your /etc/apt/sources.list will need to revert back to 3.3.

Might be sort that out just purge and reinstall. Thing is you have all your users and stuff.

So actually I will stop there , dunno.

This is generally why I think more of a warning with upgrades and releases would be a much easier and less painful path.

I never upgrade to be honest its always a reinstall and bring back data (users and files + config)

Also I might be unusual as a sysadmin but be it SBS or Zentyal I have never done an upgrade without having a working copy on another piece of hardware.

I know it should work and the Zentyal info is a bit shoddy, but guys if your system is critical then doh!
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 15, 2014, 10:27:43 am
to make it clearer

i have several servers running as tests and i am playing around...i have already upgraded to 3.4 some and it worked fine.

BUT

now i had another one that i wanted to upgrade later. So i simply CLOSED the button UPGRADE TO 3.4...There should be a way to bring it back....!
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 15, 2014, 10:32:19 am
Apols changing /etc/apt-sources.list and forcing an install.

Got a horrid feeling it might blast any users in samba.

I can't say as I just wouldn't try, my reaction would be several grunts, a sigh and a reinstall.

Not really sure how you close a button though.

Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 15, 2014, 10:33:53 am
Thanks...but i cannot accept that

There has to be a way to show the button AGAIN !

waiting for official answer !
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 15, 2014, 10:36:09 am
I thought you where still trying to go back.

Change etc/apt/sources.list to the 3.4 repo. I guess.

But you should be on saucy not 12.04
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 15, 2014, 10:37:53 am
no...its very simple.

I am at 3.3.9....i CLOSED the BUTTON --> UPGRADE TO 3.4

HOW DO I BRING IT BACK?

Simple....should be at least !
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 15, 2014, 10:42:04 am
Probably is, somewhere.

Dunno, sort of stayed clear from 3.4 as the mail thing isn't good enough for me.

Also by not doing upgrades I am blind. But from forum history I thought the upgrade just upgraded the zentyal modules.

3.4 is based on 13.10 and I thought it was all chicken and egg unless that has now been fixed.

I am sure one of the Zentyal people will tell you.

Apt-get dist-upgrade to 13.10

nano /etc/apt/sources.list change all entries from 3.3 to 3.4

apt-get upgrade will prob do what that button should of done.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 15, 2014, 10:44:47 am
I agree....but since they provide this button to simplify the process i want to believe that this button should be available all the time till u decide to upgrade and not just disappear when u close it.

lets see !
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: BrunovonTroba on April 16, 2014, 12:02:53 am
I have had this button, but after upgrade to 3.3.9 disappeared mysteriously

Probably is, somewhere.

Dunno, sort of stayed clear from 3.4 as the mail thing isn't good enough for me.

Also by not doing upgrades I am blind. But from forum history I thought the upgrade just upgraded the zentyal modules.

3.4 is based on 13.10 and I thought it was all chicken and egg unless that has now been fixed.

I am sure one of the Zentyal people will tell you.

Apt-get dist-upgrade to 13.10

nano /etc/apt/sources.list change all entries from 3.3 to 3.4

apt-get upgrade will prob do what that button should of done.
Checked - not possible
That is because automatic firewall rule for Zentyal Administration has changed name and is not properly replacing old rule
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: steffenromeiss on April 16, 2014, 01:52:19 am
I will do the same... 5 hours lost... I'm frustrated
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: steffenromeiss on April 16, 2014, 02:02:18 am
Fresh install...3.4

initial software installation failed
terminal does not work at all
vm is stuck again

it was working until I upgraded to 3.4

my test 3.4 install from yesterday does not work any more, i guess it's a broken update
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 16, 2014, 04:24:08 am
OK here is the upgrade script.

Code: [Select]
#!/bin/bash

UPGRADE_FILE=/var/lib/zentyal/.upgrade-finished

rm -f $UPGRADE_FILE

export DEBIAN_FRONTEND=noninteractive

function upgrade
{
    apt-get update

    for i in `seq 1 10`
    do
        if apt-get dist-upgrade -y --force-yes --download-only
        then
            break
        else
            echo "Download failed, retrying in 5 seconds..."
            sleep 5
        fi
    done

    apt-get dist-upgrade -y --force-yes -o DPkg::Options::="--force-confdef"
}

sed -i "s/^deb-src/#deb-src/g" /etc/apt/sources.list

echo; echo "Upgrading your current system to the latest packages..."; echo
upgrade

# Stop modules to avoid conflicts in listening ports with haproxy
for module in usercorner captiveportal webserver
do
    service zentyal $module stop > /dev/null 2>&1
done

# Copy samba data to new destination and re-create hardlinks
if dpkg -l | grep -q zentyal-samba
then
    service zentyal samba stop
    pkill -9 samba
    pkill -9 smbd
    mkdir -p /var/lib/samba
    cp -r /opt/samba4/private /var/lib/samba/
    cp -r /opt/samba4/var/locks/* /var/lib/samba/
    ln -f /var/lib/samba/private/sam.ldb.d/DC*FORESTDNSZONES* /var/lib/samba/private/dns/sam.ldb.d/
    ln -f /var/lib/samba/private/sam.ldb.d/DC*DOMAINDNSZONES* /var/lib/samba/private/dns/sam.ldb.d/
    ln -f /var/lib/samba/private/sam.ldb.d/metadata.tdb /var/lib/samba/private/dns/sam.ldb.d/
    chown -R root:bind /var/lib/samba/private/dns
    chmod -R g+rw /var/lib/samba/private/dns
    service zentyal samba restart
fi

PRINTERS_INSTALLED="no"
if dpkg -l | grep -q zentyal-printers
then
    PRINTERS_INSTALLED="yes"
    apt-get remove -y --force-yes cups-common
fi

echo; echo "Upgrading from Ubuntu 12.04 to 13.10 with Zentyal 3.4..."; echo
sed -i 's/precise/saucy/g' /etc/apt/sources.list
sed -ri 's/zentyal(.)3.3/zentyal\13.4/g' /etc/apt/sources.list
upgrade

echo; echo "Forcing pending packages installation..."; echo
rm -f /var/lib/dpkg/info/freeradius-ldap.postinst
for i in users remoteservices
do
    sed -i '/initial-setup/d' /var/lib/dpkg/info/zentyal-${i}.postinst > /dev/null 2>&1
done
apt-get -f install -y --force-yes -o DPkg::Options::="--force-confdef"

pkill -9 samba
pkill -9 smbd
service zentyal samba restart > /dev/null 2>&1

if dpkg --configure -a --force-confdef
then
    if [ "$PRINTERS_INSTALLED" == "yes" ]
    then
        apt-get install -y --force-yes -o DPkg::Options::="--force-confold" zentyal-printers
    fi

    /usr/share/zentyal/global-action --action saveAllModules
    for i in users remoteservices
    do
        /usr/share/zentyal/initial-setup $i 3.3 > /dev/null 2>&1
    done
    service zentyal users restart > /dev/null 2>&1
    service zentyal webadmin restart
    service zentyal haproxy restart

    echo; echo "Zentyal upgrade finished!"

    rm -f /var/crash/_usr_sbin_samba*
    apt-get clean
else
    echo; echo "Zentyal upgrade failed. Full log at /var/log/zentyal/upgrade.log."
fi

touch $UPGRADE_FILE


After much farting about searching through Zentyal java scripts, deleting cookies and generally getting frustrated.
I think its a json / ajax variable that is client server orientated  and basically the answer is you can't

The script is in /usr/share/zentyal so run it from sudo.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 16, 2014, 07:53:30 am
I am sorry but this is a JOKE !
it is like Microsoft telling you that if you choose to update later then do it through Powershell.

It shows how light those guys take this whole project when they cannot even implement a button.

Just abort the project completely guys if you cannot provide a fix for that.

Shame !
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: Gopher on April 16, 2014, 09:29:25 am
Upgrade button appeared. After applying the update this error is now occurring: https://forum.zentyal.org/index.php/topic,21499.0.html.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 16, 2014, 12:20:21 pm
Illunis, chill slightly as I am not Zentyal staff or anyway connected.

Also considering I am dodging 3.4 but spent the time finding the answer for you, please I am only small :)

Code: [Select]
sudo sh /var/share/zentyal/upgrade-to-3.4
Its not powershell with a CLI added to a GUI

Its linux that is a CLI with a GUI.

Also to be honest most servers are dropping the whole GUI through security and loading reasons.

Run the above. Sorry there isn't a button.

I do understand your concerns and so do many others. So without this getting into another smite feast.

Tell me how the upgrade went as that might be another part of the story.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 16, 2014, 12:25:18 pm
StuartNaylor of course there is nothing personal with or against you and i appreciate your help.
I am referring to anyone that is actually related to the project and they simply choose to ignore it. They can put as many minus they like but they cannot hide the truth !

I have already upgraded two servers to 3.4 and everything worked fine.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 16, 2014, 12:28:55 pm
I sort of agree with you and I have learnt the hard way.

If you start to shout, even though virtually you will get a petulant zero response.

You have to pet Zentyal and tell it that you love it, before it will roll over :)

Sorry all but, I am beginning to find it all slightly amusing.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: illunis on April 16, 2014, 12:35:53 pm
If you read from the start you will see that i was the first to write that everything went well with the upgrade. So i always applaud a good effort but i will not be afraid to shout loud when something is wrong and i see no response to it.

The project is full with bugs and instead of fixing first these they move on to new buggy features. Still there is no proper way to perform a restore of a backup. I have even opened a ticket about it and the answer was "Would be nice to have one day"....the MOST important thing to have....a working backup/restore and it would be nice to have....no comments....

anyways....thanks once again.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 16, 2014, 12:42:22 pm
Its OK and no offence taken.

I am exactly the same give credit where credit is due, criticise where bad.

I don't give criticism or mean it to be taken as a negative. Its feedback and often criticism is constructive.

When it comes to negative Karma I am king OK, lol.

Keep making new logins just to drop the karma from before.

Its also truly sad when you start to work out where the negative karma comes from.

To quote Hamlet "There is something rotten in Zaragoza"

But they have a new CTO and maybe things are on the mend.

Guess we will have to wait and see.

Actually might be "The state of Denmark" but I think that is where the venture capital came from :)

PS I did search through Redis but very hard to find http://redisdesktop.com/ very good gui to get at Zentyal's awful registry.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: nontrivial on April 16, 2014, 04:01:29 pm
Hello,

Is there an option to upgrade from the command line and not use the GUI? Hopefully something like being able to reinstall the users module by running "/usr/share/zentyal-users/reinstall"?

James
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: nontrivial on April 16, 2014, 04:03:56 pm
Whoops, sorry, I see now my question has already been answered. Now all I have to do is get all my 3.2 boxes to 3.3. :-)

James
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: collinssolutions on April 16, 2014, 05:09:55 pm
question. Regardless of how you get the box upgraded since zarafa is replaced does the upgrade move accounts and mail to the new system? Will i loose users email?
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: J. A. Calvo on April 16, 2014, 05:41:47 pm
question. Regardless of how you get the box upgraded since zarafa is replaced does the upgrade move accounts and mail to the new system? Will i loose users email?

You shouldn't loose any data because the removing zentyal-zarafa does not mean removing the zarafa database stored in MySQL, but if you are using Zarafa, upgrading to 3.4 is probably a bad idea unless you have a migration plan for your mailboxes (using imapcopy or whatever).
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: collinssolutions on April 16, 2014, 05:46:06 pm
That's what I was wondering. If there was any manual migration of mail after upgrade.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: robb on April 16, 2014, 08:39:31 pm
No offense, but as mail is most likely a major module, the upgradescript should at least have some checks in place that warn if (in this case) Zarafa is getting deprecated.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 16, 2014, 09:33:48 pm
I have forgot the link. https://wiki.zentyal.org/wiki/Zentyal_3.4_Announcement I think that is the one it shows.

I agree Robb as it is a little bereft of information that your emails will now be in a database that unless you ship to a working version of Zarafa they are now a collection of chocolate kettles.

Also Openchange not supporting OU's apart from users is quite a big withheld piece of info.

https://tracker.zentyal.org/issues/350
Title: Upgrade from Zentyal 3.3 to Zentyal 3.4 is NOT ready
Post by: Lonniebiz on April 17, 2014, 01:11:09 am
Upgrade from Zentyal 3.3 to Zentyal 3.4 is NOT ready:
https://forum.zentyal.org/index.php/topic,21537.0.html
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: StuartNaylor on April 17, 2014, 06:30:14 am
Look guys I downloaded 3.3 set up a very basic server dns, dhcp, ntp and networking.

Then ran the upgrade after updating to 3.3.9 ?

Anyway it works and eventually there is an upgrade script.

You need to look at your repo's in /etc/apt/sources.list

Code: [Select]
deb http://archive.zentyal.org/zentyal 3.3 main extra for 3.3

Code: [Select]
deb http://archive.zentyal.org/zentyal 3.4 main extra for 3.4

The ppa has been moved, killed or has gone into hiding its a ppa a temp dev repo.

So there is some legacy junk with repo's to sort out before you upgrade.

Maybe the script could include this.

Also zentyal when it comes to scripts and repo control there is a subfolder sources.list.d that is included into the apt scope.

I hate trying to create sed text manipulations make things easy for yourself and maybe use it and separate config files.

Again I am not having a go but why does Zentyal keep using that god damn awful registry aka redis.
Why do we need a high performance database such as redis for configuration.

It creates a barrier for bug checking, when you have perfectly good /etc config files that are generally the defacto way of configuration why does Zentyal believe its more clever than Linus?

Why do it?

Smites from the team that make this perfectly working piece of software. :)


Well I won't add anything else to this. I thing that I have exposed all that I needed to. The broader views you have DO NOT refer to open sourcing, but to different ways on which a community is build, and that is not  something I'm going to discuss about.

Open Source is what what have been speaking about, guess that you do not consider your self cleverer that Stallman, do you?

Period

   

Title: Zentyal upgrade failed
Post by: JPB on April 17, 2014, 10:33:24 am
Error log show these after Upgrade was pressed and it went through it all

Code: [Select]
Errors were encountered while processing:
 suricata
 zentyal-ips

Zentyal upgrade failed. Full log at /var/log/zentyal/upgrade.log.

I also found this error running apt-get update
Code: [Select]
W: Failed to fetch http://ppa.launchpad.net/zentyal/3.4/ubuntu/dists/saucy/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/zentyal/3.4/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: robb on April 17, 2014, 10:42:09 am
I just browsed through the repo and the 3.4 branch is not there: http://ppa.launchpad.net/zentyal/
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: JPB on April 17, 2014, 10:46:19 am
I just browsed through the repo and the 3.4 branch is not there: http://ppa.launchpad.net/zentyal/

It seem like they dropped the ppa.launchpad but did not include edit for it in the /etc/apt/sources.list edit in the upgrade script. It did add the line
Code: [Select]
deb http://archive.zentyal.org/zentyal 3.4 main extraLooks like it supersede the ppa I did a rem # on that line and ran the update again - holding thumbs!
Title: BIG mess!!!
Post by: JPB on April 17, 2014, 10:52:01 am
After making the edit above in prev post and running apt-get update && apt-get upgrade results in:
Code: [Select]
...
...
...
Extracting templates from packages: 96%E: Could not open file descriptor -1
E: Prior errors apply to /var/cache/apt/archives/libdatetime-locale-perl_1%3a0.45-2_all.deb
E: Prior errors apply to /var/cache/apt/archives/libdatetime-perl_2%3a1.03-1_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/libfm-data_1.1.2-0ubuntu1_all.deb
E: Prior errors apply to /var/cache/apt/archives/libfm-gtk-data_1.1.2-0ubuntu1_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/libpam-ldap_184-8.5ubuntu3_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/libtommath0_0.42.0-1build1_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/mtr_0.85-1_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/python-tz_2012c-1_all.deb
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 100%
Setting up bash (4.2-5ubuntu3) ...
Installing new version of config file /etc/bash.bashrc ...
Installing new version of config file /etc/skel/.bashrc ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... 335809 files and directories currently installed.)
Preparing to replace suricata 1.1.1-1 (using .../suricata_1.4.3-1_amd64.deb) ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/suricata_1.4.3-1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
 * NFQUEUE support not found !
 * Please ensure the nfnetlink_queue module is loaded or built in kernel
invoke-rc.d: initscript suricata, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 5
Preparing to replace dash 0.5.7-2ubuntu2 (using .../dash_0.5.7-3ubuntu1_amd64.deb) ...
Unpacking replacement dash ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/suricata_1.4.3-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: [SOLVED]
Post by: JPB on April 17, 2014, 12:35:24 pm
I found a Solution on http://ubuntuforums.org/showthread.php?t=1608698 thanx to  matt_symes
Quote
There is a way to manually remove a package from dpkg.
This is assuming you have tried _all_ other methods.
i.e Purging and removing the package from dpkg.

As unless you know what you are doing you can do serious damage. If you want to be sure, it might be worth trying it in a VM first.
And make a backup the /var/lib/dpkg directory. I dont want to break your setup. Use at your own risk. Also i used this under debian.

1. dpkg -P suricata

If this does not work

2. dpkg -L suricata

This will list the files that suricatauses.

Navigate to.

3. /var/lib/dpkg/info

Delete the file.

4. suricata.postrm

Run

5. apt-get remove --purge suricata

Remove all files and directories you found with dpkg -L  <<<---Careful don't delete directories only files!!

Then run

6. apt-get update.

Kind regards.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: BrunovonTroba on April 17, 2014, 04:10:33 pm
Illunis, chill slightly as I am not Zentyal staff or anyway connected.

Also considering I am dodging 3.4 but spent the time finding the answer for you, please I am only small :)

Code: [Select]
sudo sh /var/share/zentyal/upgrade-to-3.4
Its not powershell with a CLI added to a GUI

Its linux that is a CLI with a GUI.

Also to be honest most servers are dropping the whole GUI through security and loading reasons.

Run the above. Sorry there isn't a button.

I do understand your concerns and so do many others. So without this getting into another smite feast.

Tell me how the upgrade went as that might be another part of the story.
Sorry, does not work.
After complete upgrade and restart can't acces to Zentyal console - says "Waiting until Zentyal is ready" endlessly... (when connected to port 443)
Normally i am using port other than 443 to manage - this port is inaccessible.
And /etc/init.d/zentyal restart gives nothing. Not even a message

I have written it in other posts: DURING UPGRADE DELETE OLD FIREWALL RULE ADDED AUTOMATICALLY TO WEBADMIN - it collides with new differently named rule. User is not able to delete this rule manually.
Or there is another than administration page way to delete it???
I have made upgrade to 3.4 manually by installing fresh 3.4 version AND NOT SETTING WEBADMIN PORT TO OTHER THAN 443, importing configuration from 3.3. But in this case i can't use the old administration port from version 3.3 to access.
If Your Z3.3 is using port 443 to administer, change it in 3.4 to another one before importing configuration from 3.3
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: shaqan on April 17, 2014, 06:22:14 pm
Had only Zentyal 3.0 cd from old times. Installed it and step-by-step upgraded it to 3.4. Worked like a charm, though the process itself was lengthy
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: Roman Pavlyk on April 18, 2014, 02:21:29 am
SUCCESSFUL update

So i have also attempted the upgrade, as i feared it all went to hell , yet somehow I managed to get everything on-line . So for a sake of record im gone post my bash history since the moment i run the upgrade script , hopefully it helps those in trouble. It looks like the upgrade script has a broken upgrade sequence where some package were updated before their dependencies. But do judge for yourself.
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: BrunovonTroba on April 18, 2014, 10:58:53 am
Had only Zentyal 3.0 cd from old times. Installed it and step-by-step upgraded it to 3.4. Worked like a charm, though the process itself was lengthy
So it looks that there is a problem upgrading from 3.3 to 3.4
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: shaqan on April 26, 2014, 02:00:48 pm
Had only Zentyal 3.0 cd from old times. Installed it and step-by-step upgraded it to 3.4. Worked like a charm, though the process itself was lengthy
So it looks that there is a problem upgrading from 3.3 to 3.4

maybe, maybe not. It went like 3.0->3.1->3.2 (or was it straight 3.2 from 3.0?)->3.3->3.4, with reboots between each upgrade
Later, I tried straight 3.4 install and it would'nt recognize USB keyboard past GRUB
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: pcready.cl on July 21, 2014, 06:16:17 am
will be available when upgrading from 3.4 to 3.5?
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: J. A. Calvo on July 22, 2014, 02:19:37 pm
will be available when upgrading from 3.4 to 3.5?

very soon, probably this week :)
Title: Re: Upgrade from Zentyal 3.3 to Zentyal 3.4 is ready
Post by: pcready.cl on July 22, 2014, 06:05:55 pm
will be available when upgrading from 3.4 to 3.5?

very soon, probably this week :)

Thanks!
Title: Upgrade from Zentyal 3 3 to Zentyal 3 4 is ready
Post by: HenryDrync on March 17, 2019, 09:25:14 am
Thanks for the info Sherry.   Will you backup again 7/13 so as not to lose any gallery postings between now and then when the upgrade is done?