Mail missing from configuration menu after uninstall / re-install


(Dennis Lloyd) #1

Odd question, been trying to find an answer but no luck so far.

I made some changes to my NS install in my test machine and ended up removing and trying to re-install mail services. Was getting errors about conflicting cache and such. so I ended up flushing everything, uninstalling everything and re-installing by cli for my next round of testing
nethserver-mail2-disclaimer
nethserver-mail2-filter
nethserver-mail2-server
nethserver-sogo
nethserver-webtop5

Now, it seems the mail configuration link is missing from the side menu?

Any thoughts on how I can get it back? I belive that was also where I could view the rspamd stats.


(Mark Verlinde) #2

this seems impossible, it is straight forward php and installing those packages puts the code in place. :thinking:

assuming there where no errors while (re)installing those packages:

sorry to ask: did you refresh the web page in the browser?

firefox can be a bit nasty with it’s cache; although have to say never have experienced this with the nethserver web-gui. Clearing the cache, trying it in an other browser or simply close your browsers and login again?


(Marc) #3

Could be due to missing nethserver-mail2-common


(Dennis Lloyd) #4

sure did, but I will try clearing cache again also… I waited a couple days before posting looking for something I did wrong. here is a SS from my install. I agree, it’s very odd… even tried from a different browser but I can be an idiot sometimes and might not have checked close enough. I was sure under configuration I used to have an “Email” option?? or did I sniff some glue ?


(Dennis Lloyd) #5

I will attempt to manually install this one now. BTW… mailserver is working… I can send/receive and EAS connections are working correctly as well.


(Mark Verlinde) #6

:thinking::thinking::thinking::thinking:

rpm -qa | grep nethserver-mail2


(Dennis Lloyd) #7

[root@sparky X]# yum install nethserver-mail2-common
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile


(Dennis Lloyd) #8

[root@sparky X]# rpm -qa | grep nethserver-mail2
nethserver-mail2-filter-2.2.7-1.ns7.noarch
nethserver-mail2-common-2.2.7-1.ns7.noarch
nethserver-mail2-disclaimer-2.2.7-1.ns7.noarch
nethserver-mail2-server-2.2.7-1.ns7.noarch
[root@sparky X]#


(Markus Neuberger) #9

IIRC you have to install nethserver-mail-smarthost…


(Dennis Lloyd) #10

that did it…

Did I miss a step when installing from CLI? I orignally upgraded from mail, to mail2 following the upgrade document… however when I uninstalled everything and attemped to use the gui to install the new mail2 it errorred with coflicts… using the button on the gui to clear cache did not work… I ended up having to clear manually with cli:

  309  2018-08-19 19:17:49 yum install nethserver-mail2-*

the install gave my first errors after trying from gui and clearing cache (from gui)

  310  2018-08-19 19:18:11 yum remove nethserver-mail-*
  311  2018-08-19 19:21:35 yum clean all
  312  2018-08-19 19:21:50 rm -rf /var/cache/yum

that allowed me to install from gui.


(Markus Neuberger) #11

I think you removed nethserver-mail-smarthost and it hasn’t been reinstalled because it’s not required by any other package.


(Dennis Lloyd) #12

that would make sense when i removeed nethserver-mail-* would have taken smarthost out, and I didn’t re-install it.

should that perhaps be a dependency of mail when installing? or did I not read enough in the docs? I don’t mind getting told to RTFM at all.


Automatic upgrade to mail2
(Mark Verlinde) #13

however kudos to @mrmarkuz, i want to go to sleep (@SGVFR different time-zone) but this was to weird to be true :grinning:


(Markus Neuberger) #14

That’s a good idea so it would be reinstalled if removed accidentally.


(Mark Verlinde) #15

+1

It used to be a dep off nethserver-mail(1)-common:

Not in the nethserver-mail2-common:

Although it depends on nethserver-base which does not depend on nethserver-mail-smarthost.
The latter is installed as mandatory member of the ISO group.

IMHO @SGVFR found a #bug