Re: In place upgrade to 18.04 LTS

Vinícius Ferrão via Ltsp-discuss <[email protected]> Thu, 1 Aug 2019 17:25:19 +0000
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
Hello, I’ve sent a message with the solution but somehow the message isn’t delivered, perhaps due to the photo, that I’ve attached.

It was:


==================


Hmm I given up on `do-release-upgrade` and done the update via the old way.

sed -i s/xenial/bionic/g /etc/apt/sources.list
sed -i s/xenial/bionic/g /etc/apt/sources.list.d

apt update && apt full-upgrade

30 minutes later…

<picture was here>

I think I’m good.

Another thing, I moved on from NBD to SQUASHFS-over-NFS.

The only problem that I have now is ltsp-update-image destroying the default tftp boot file. It removes the one that I’ve created and recreates the symbolic link. There’s a way to solve this? Or at least configure LTSP correctly so it regenerates with SQUASHFS-over-NFS instead of NBD?

Thanks,

On 1 Aug 2019, at 14:17, Dashamir Hoxha <[email protected]<mailto:[email protected]>> wrote:



On Thu, Aug 1, 2019 at 7:02 PM Dashamir Hoxha <[email protected]<mailto:[email protected]>> wrote:
On Thu, Aug 1, 2019 at 4:02 PM Joseph Bishay <[email protected]<mailto:[email protected]>> wrote:
Hello everyone,

I face this same issue several times with the school and I'm wondering if there is some guide or advice on how to do the 'backup-reinstall-restore' part, specifically for the user's accounts and files.  I have tried different ways before and run into problems with their browser profiles and file ownership / permissions all changing.  It has in the past resulted in a mess and I then need to go in and manually update all the accounts which becomes very taxing!

Backup/restore is a common sysadmin task and it can mean different things in different systems. It usually includes system data and/or configuration. Experienced sysadmins usually automate these things with scripts because manual operation is tedious and error-prone. If you look around you may find some scripts used by others and customize them for your needs.

For user accounts I may suggest this script: https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/users.sh

This script is almost the same, but without the part that checks for vagrant and guest accounts:
https://gitlab.com/docker-scripts/desktop/blob/master/scripts/users.sh

But I am not sure that it does the right job for you, and it was not meant for upgrading (from one LTS version to another).

Dashamir


Any advice would be appreciated.

Thank you
Joseph
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net<http://irc.freenode.net>

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net