Koozali.org: home of the SME Server

Pre upgrade ponderings

Offline ReetP

  • *
  • 3,317
  • +5/-0
Re: Pre upgrade ponderings
« Reply #45 on: September 10, 2021, 01:39:27 PM »
Cool, that seems to have installed. I'll update later on how it works :)

Let us know if that fixes it please.

You can help by doing a proper verification:

https://wiki.koozali.org/SME_Server:Documentation:QA:Verification
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #46 on: September 10, 2021, 01:52:07 PM »
Let us know if that fixes it please.

You can help by doing a proper verification:

https://wiki.koozali.org/SME_Server:Documentation:QA:Verification

I'm just looking at it now.

While it appeared to have worked directly after updating and fetched a batch of mail from the 'catch all' email it appears to have been a 1 time collection and then stopped.

That seems to be confirmed by the cron email time stamps which skip 10 mins (I'm on a 5min collection) at that point before resuming as before with this message repeated 3 times as before:   

Code: [Select]
/var/lock/fetchmail/fetchmail.pid: Permission denied
fetchmail: lock creation failed. 

So I think still broken. I could try the yum again ?

Offline Jean-Philippe Pialasse

  • *
  • 2,207
  • +8/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Pre upgrade ponderings
« Reply #47 on: September 10, 2021, 01:54:38 PM »
what gives

ll -d /var/lock/fetchmail
ll /var/lock/fetchmail


also paste here what you did to update.

i do not think fetchmail is restarted on e-smith-email update

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #48 on: September 10, 2021, 02:34:29 PM »
what gives

ll -d /var/lock/fetchmail
ll /var/lock/fetchmail

First attempt it asked for a pw but then locked me out. I restarted the Putty session and:
Code: [Select]
[root@sme10 ~]# ll -d /var/lock/fetchmail

drwxr-xr-x 2 root root 40 Sep 10 09:25 /var/lock/fetchmail
[root@sme10 ~]# ll /var/lock/fetchmail
total 0
[root@sme10 ~]#

Quote
also paste here what you did to update.

Code: [Select]
yum update e-smith-email --enablerepo=smetest
followed by

Code: [Select]
signal-event post-upgrade; signal-event reboot
I ran the yum command a second time and get a "No packages marked for update" response at the end.

Quote
i do not think fetchmail is restarted on e-smith-email update

The machine did reboot. I've rebooted again just to see but no change.
« Last Edit: September 10, 2021, 02:53:48 PM by david000 »

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Pre upgrade ponderings
« Reply #49 on: September 10, 2021, 03:15:44 PM »
my lock dir better yet

[root@fagehome ~]# ll /var/lock/
total 0
drwxr-xr-x 2 root   root   40 Sep 10 21:40 dmraid
drwxr-xr-x 2 qmailr qmail  40 Sep 10 23:15 fetchmail
drwx------ 2 root   root   60 Sep 10 21:39 iscsi
drwxrwxr-x 2 root   lock   40 Sep 10 21:39 lockdev
-rw------- 1 root   root    0 Sep 10 21:39 masq.adjust
drwxr-xr-x 2 root   root   40 Sep 10 21:39 ppp
drwxr-xr-x 2 root   root  100 Sep 10 21:40 subsys

so this is with changes to ownership
« Last Edit: September 10, 2021, 03:19:27 PM by TerryF »
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Pre upgrade ponderings
« Reply #50 on: September 10, 2021, 03:23:43 PM »
as a quick test, change contents of
/usr/lib/tmpfiles.d/fetchmail.conf

to
d /var/lock/fetchmail 0755 qmailr qmail

restart and let have it

+Added: new update does that
« Last Edit: September 10, 2021, 03:30:31 PM by TerryF »
--
qui scribit bis legit

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #51 on: September 10, 2021, 03:58:33 PM »
as a quick test, change contents of
/usr/lib/tmpfiles.d/fetchmail.conf

to
d /var/lock/fetchmail 0755 qmailr qmail

restart and let have it

+Added: new update does that

I did the edit with nano.

All seems OK on the restart. No cron emails, the catch all is collecting. Email appears to be sorted to the correct accounts. The other pop collection in 'mail retrieval' seems to be OK (but just testing again).

I think that would appear all to be working.

I'll let this run for a while before rebuilding it again and going live. Will this change pick up automatically now with the new update ?

 
 

Offline TerryF

  • grumpy old man
  • *
  • 1,728
  • +2/-0
Re: Pre upgrade ponderings
« Reply #52 on: September 10, 2021, 04:01:13 PM »
Good result, yes latest update in /smetest e-smith-email-5.6.0-13.el7.sme.noarch.rpm   has this change

Please post your results to the Bug
--
qui scribit bis legit

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #53 on: September 10, 2021, 04:26:39 PM »
Good result, yes latest update in /smetest e-smith-email-5.6.0-13.el7.sme.noarch.rpm   has this change

Please post your results to the Bug

Do I need to log a new bug or is it already logged ? I see one from mid Summer but I'm not sure it's the same as marked as fixed.  That said reading back, I think it must be this:

https://bugs.koozali.org/show_bug.cgi?id=11634
« Last Edit: September 10, 2021, 04:36:23 PM by david000 »

Offline Jean-Philippe Pialasse

  • *
  • 2,207
  • +8/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Pre upgrade ponderings
« Reply #54 on: September 10, 2021, 04:35:54 PM »

Do I need to log a new bug or is it already logged ? I see one from mid Summer but I'm not sure it's the same as marked as fixed.
as stated in previous page :


already opened bug for this particular one https://bugs.koozali.org/show_bug.cgi?id=11634

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #55 on: September 10, 2021, 04:45:27 PM »
K - I've added some notes to the page. Let me know if I need to add more detail ?

Offline ReetP

  • *
  • 3,317
  • +5/-0
Re: Pre upgrade ponderings
« Reply #56 on: September 10, 2021, 07:58:00 PM »
Nice work, thanks for the patience, and verification.

We need more 'doers' !!

If you want to get a bit more involved just ask DM me for a Rocket account here.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #57 on: September 10, 2021, 09:17:07 PM »
Nice work, thanks for the patience, and verification.

We need more 'doers' !!

If you want to get a bit more involved just ask DM me for a Rocket account here.

Glad to be able to help. I do have a rocket account and am glad to help if my limited skills (and time) can be applied. My linux is super basic but I was excited to be able to make the nano edit !!!!

All that said, I'm happy to test and assist to get roundcube up and running plus affa.  They are the missing links from my current v9 set up. 

I'll ping a hello back on rocket to make contact again.



Offline david000

  • ***
  • 150
  • +0/-0
Re: Pre upgrade ponderings
« Reply #58 on: September 12, 2021, 04:50:01 PM »
Moving on.

The server has been 'up' for about 48hrs.  However the /webmail/ returned a 'service not available message when I tried to look at it this afternoon.  I thought the PC may have just gone into sleep mode but I think not - server manager was available. That said I did press the space bar on the keyboard so maybe that awoke it, but /webmail/ stayed off line.

On reboot /webmail/ is back.  I'll leave it overnight and report back.
 

Offline Jean-Philippe Pialasse

  • *
  • 2,207
  • +8/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Pre upgrade ponderings
« Reply #59 on: September 13, 2021, 01:25:28 AM »
next time, check httpd/error_log

might encounter php74 fpm not reachable

if it is this a simple
systemctl restart php74-php-fpm.service



but still this should not happen.