Re: [DNG] Distribution upgrade issue

2021-02-21 Thread Pontus Goffe via Dng


Den 2021-02-22 kl. 02:25, skrev Curtis Maurand via Dng:

Steps for the upgrade.

1. patch system to latest ascii patch level. apt-get update && apt-get 
upgrade


2. edit the /etc/apt/sources.list to change the ascii entries to 
beowulf and I commented out the source package entries.


3. apt-get install devuan-keyring (error, already installed)

4. apt-get update

5. apt-get dist-upgrade


I think you are supposed to have a 4b, "apt-get upgrade" in between.

//PG

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Distribution upgrade issue

2021-02-21 Thread Curtis Maurand via Dng

On 2/21/21 6:17 PM, Antony Stone wrote:

On Sunday 21 February 2021 at 23:33:39, Curtis Maurand via Dng wrote:


I found an issue with a distribution upgrade from ascii to beowulf.

Please give at least an outline of how you performed that upgrade?


This machine is running as kvm guest. It is Devuan Ascii.  The only 
thing running on this machine that is not out of the box devuan is 
Rainloop.  Rainloop is a webmail application that runs on a website, so 
not an issue and not involved.  It uses PHP and is happy with anything 
5.6 or higher. Except for that his server is running out of the box 
packages from deb.devuan.org.


The machine has a full LAMP Stack on it.  It is running ispconfig 
(https://ispconfig.org), but that's an app that runs on apache.  It 
configs web and mail accounts. It has about 20 websites running on it.  
I previously got this upgrade to run on a different copy of this 
particular virtual machine, but changes had been made since a november 
snapshot.


It also has postfix, amavisd-new, spamassassin, clamav, fuzzyocr and 
other tools related to taking apart mail messages, scanning them and 
putting them back together.  It's a workhorse and I'm so glad that I 
ditched systemd and all the trouble that it brings.  This very well 
could be a Debian issue.  I will need to install a like debian machine 
of the appropriate version and upgrade it to see what happens.


Steps for the upgrade.

1. patch system to latest ascii patch level. apt-get update && apt-get 
upgrade


2. edit the /etc/apt/sources.list to change the ascii entries to beowulf 
and I commented out the source package entries.


3. apt-get install devuan-keyring (error, already installed)

4. apt-get update

5. apt-get dist-upgrade

First error almost immediate is that perl's net::SNMP is missing from my 
system and it's part of getting amavis to stop.  I believe that the 
install script is trying to call amavis-snmp-agent to stop it, but I'm 
not using that, so hence the error.  I started aptitude, found the 
package and installed it and issued apt-get --fix-broken install and 
moved on.


Amavis again bombed on a permissions problem involving ownership of it's 
lock files and died.  I couldn't stop amavis (service stop amavis) for 
the same error.  I killed amavis manually.  I deleted the lock and pid 
files in /var/run/amavis/ folder. apt-get --fix-broken install and 
continued on.


Then the roundcube upgrade failed due to mysql not running.  I did not 
stop it.


I ignored the error and continued.

Then mysql/maraidb got upgraded

Then apache got upgraded


Roundcube has dependencies upon the LAMP stack. It seems logical that 
the Roundcube upgrade would follow the LAMP stack upgrade since it's a 
php application.


I don't know where or how the order of these things gets set, that's why 
I'm bringing it up, here.  I'm not a developer.  I'm just trying to 
report problems that I ran into.  I am not complaining.  These are not 
deal breakers or things that can't be fixed afterwards dpkg --configure 
roundcube for instance.  They are just a nuisance.  I found out about 
the perl thing while testing.  not hard.  While upgrading ascii, install 
libnet-snmp-perl.  then the install skips right past it.


Thanks for your help.

Curtis




During the upgrade mysql is stopped. later  in the process the upgrade to
roundcube is attempted.  When that happens, the script can't make the mysql
connection because mysql is not running.
I had to go get the upgrade script from roundcube to update it's database
manually. The roundcube upgrade should happen after the mysql/mariadb
upgrade and mysql should be running.

I find it somewhat hard to believe that this is a Devuan (rather than Debian)
problem.

Can you identify:

1. whether any of the packages involved in the upgrade have been forked by
Devuan

2. whether a Debian Stretch system running the same applications upgrades to
Buster without the same problems

3. which repositories you are fetching the various packages from


This may help to identify whether:

a) Devuan is causing the problems you experienced

b) the same would have happened under Debian

c) the problems are caused by some mismatch of package versions which can't be
handled by a routine upgrade


Regards,


Antony.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Distribution upgrade issue

2021-02-21 Thread Antony Stone
On Sunday 21 February 2021 at 23:33:39, Curtis Maurand via Dng wrote:

> I found an issue with a distribution upgrade from ascii to beowulf.

Please give at least an outline of how you performed that upgrade?

> During the upgrade mysql is stopped. later  in the process the upgrade to
> roundcube is attempted.  When that happens, the script can't make the mysql
> connection because mysql is not running.

> I had to go get the upgrade script from roundcube to update it's database
> manually. The roundcube upgrade should happen after the mysql/mariadb
> upgrade and mysql should be running.

I find it somewhat hard to believe that this is a Devuan (rather than Debian) 
problem.

Can you identify:

1. whether any of the packages involved in the upgrade have been forked by 
Devuan

2. whether a Debian Stretch system running the same applications upgrades to 
Buster without the same problems

3. which repositories you are fetching the various packages from


This may help to identify whether:

a) Devuan is causing the problems you experienced

b) the same would have happened under Debian

c) the problems are caused by some mismatch of package versions which can't be 
handled by a routine upgrade


Regards,


Antony.

-- 
Success is a lousy teacher.  It seduces smart people into thinking they can't 
lose.

 - William H Gates III

   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Distribution upgrade issue

2021-02-21 Thread Curtis Maurand via Dng

Hello all,

Thank you for the great work that you do.  I found an issue with a 
distribution upgrade from ascii to beowulf.  This server has a lot going 
on, but it is a web and mail server with a webmail system on it.  It 
runs Postfix, Amavisd-new, Spamassassin and a lot of other things.  the 
webmail system uses roundcube.  During the upgrade mysql is stopped.  
later  in the process the upgrade to roundcube is attempted.  When that 
happens, the script can't make the mysql connection because mysql is not 
running.  Ok, so I started mysql and do the retry on roundcube and skep 
the questions, because before I started, roundcube was working.  So the 
update connects to roundcube and lo it cannot do the upgrade because the 
upgrade to mysql has to happen first. I had to go get the upgrade script 
from roundcube to update it's database manually. The roundcube upgrade 
should happen after the mysql/mariadb upgrade and mysql should be running.


During the amavis upgrade, amavis runs into a permissions problem it 
will not recover from involving it's lock files.  I had to remove the 
lock files and continued with apt-get --fix-broken install to continue.  
I think amavis needs to be stopped first. Also the amavis upgrade fails 
if perls net::SNMP is not installed.


I've had to revert back to a previous snapshot due to a different error 
that is solvable, but involves partition resizing (no space left on 
device an a too small partition *sigh*).  That's a different problem 
altogether.  It's of my own making.  :-)


Thanks for your attention,

Curtis

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng