[Spce-user] Error user sipwise during upgrade mr9.4.1 to mr9.5.4

cappellari at connectlife.it cappellari at connectlife.it
Sat Apr 16 06:03:57 EDT 2022


Hello! 
I have a problem upgrading from mr9.4.1 to 9.5.4 .. I get sipwise user home directory error. The problem is that such user on system 9.4.1 does not exist. The log says the home directory is on ~ sipwise but it doesn't actually exist .. 

I tried to create the user with useradd sipwise --home / ngcp-data / home / sipwise 

The upgrade was successful, is the procedure correct? 

WARNING: Home of user sipwise not the new canonical '/ngcp-data/home/sipwise' 
but also not the old canonical '/var/sipwise', 
the current home was detected as: '~sipwise' 

Please move by hand the current home to '/ngcp-data/home/sipwise', 
you can try with: 

# make a backup of the current home, for example: 
cp -av ~sipwise '/ngcp-data/backup/ngcp-upgrade/ngcp-mr9.4.1-mr9.5.4//home-of-user-sipwise' 

and then 

mkdir -v --parents /ngcp-data/home/ && usermod --move-home --home /ngcp-data/home/sipwise sipwise 

or 

mkdir -v --parents /ngcp-data/home/ && mv -v ~sipwise /ngcp-data/home/sipwise 
# ... and then edit /etc/passwd to change home of user sipwise by hand 





Cappellari Danny 
Customer Support Engineer | ConnectLife S.r.l 

Tel. +39 045 2081019 | Mobile: +39 392 4206436 
[ mailto:cappellari at connectlife.it | cappellari at connectlife.it ] 


Questo documento è formato esclusivamente per il destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, 
sono da ritenere esclusivamente confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e 
del Regolamento europeo 679/2016 – GDPR- e quindi ne è proibita l’utilizzazione ulteriore non autorizzata. Se avete ricevuto 
per errore questo messaggio, Vi preghiamo cortesemente di contattare immediatamente il mittente e cancellare la e-mail. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20220416/6779a85d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma-connectlife.jpg
Type: image/jpeg
Size: 44763 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20220416/6779a85d/attachment-0001.jpg>


More information about the Spce-user mailing list