/srv/irclogs.ubuntu.com/2025/03/04/#ubuntu-server.txt

dmick_Hi all.  I'm having trouble understanding exactly how cloud-init data is handled in a subiquity-autoinstall boot01:02
dmick_I'm PXE booting the ubuntu server image, supplying ds=nocloud-net;s=http:...01:02
dmick_which of course contains a user-data file with the autoinstall map as well as cloud-init config data.  I'm specifically trying to understand how things like script files (placed in the datasource in the relative path scripts/per-instance, for example) are used.  They would be used on reboot into the target after installation is complete, I assume, but...how do they get there?  and where is there?  (Can it be the same datasource01:05
dmick_ as was used in the PXE boot?  If so should it be specified on the kernel command line for the new target install?)01:05
dmick_another way to say it: if I supply scripts/ on the original https data source, does subiquity or something copy those scripts to an appropriate place on the target so they run when desired?01:10
dmick_if there's a better place to ask about this, I'm happy to be redirected02:04
=== JanC is now known as Guest3224
=== nate- is now known as nate
=== nate is now known as 073ABUGQ4
kenyondmick_: I think it's "standard cloud-init" once you get to the first boot of the installed machine, nothing specific to Subiquity06:39
dmick_so...what happens to the scripts/ directory that was populated during the pxe boot?  Are they just ignored, because they're not part of whatever datasource cloud-init uses when booting from the target?  What is that, even?09:08
dmick_(I'm coming to this inside-out, trying to understand Subiquity's use of c-i without really having done much "traditional" c-i)09:08
=== eggzabyte_ is now known as eggzabyte
Guest95Hi all. Hope you all doing fine. A bit of a long shot maybe but I will try my luck here. I am trying to update ubuntu 20 to 24... the do-realease-upgrade went through but when the server rebooted it is still v2012:01
grywhat kernel version is it now?12:03
Guest955.15.0-133-generic12:03
grysudo dpkg -l linux*12:05
gryshows which kernels are installed12:05
Guest95can I paste here?12:06
=== sdeziel_ is now known as sdeziel
Guest95pasted on private just in case, avoiding to get banned for flooding lol12:07
gry!pastebin12:08
ubottuFor posting multi-line texts into the channel, please use https://bpa.st | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.12:08
gryuse the https://bpa.st12:09
gryit will give you an url to share12:09
Guest95https://bpa.st/WYGQ12:09
gryOK, thank you12:10
Guest95thanks for helping me out12:10
grytry do apt update and apt release upgrade again, does it do anything now?12:11
grywhat is in your /etc/apt/sources.list ?12:11
Guest95https://bpa.st/JWOQ12:12
Guest95when I do the release upgrade again it gets aborted after a while12:13
grycat /etc/*release*12:13
grywhy aborted? what error message?12:14
Guest95https://bpa.st/IRTA12:14
Guest95No candidate ver:  python3.8-minimal12:15
Guest95Restoring original system state12:15
Guest95Aborting ... and a bunch of other packages...12:15
gryplease pastebin these errors12:17
Guest95well let me do the upgrade then12:17
gryhm, i am wondering what is best way to resolve this,12:18
Guest95it is so many no candidate vers that I wont even be able to see them all12:18
Guest95https://bpa.st/IMGA12:20
gryOk, please wait a while here12:21
grydoes it say anything before that?12:22
Guest95I can't see now..12:23
Guest95it's just showing th packages and saying no valid mirror found and if it should rewrite sources.list anyways... when I press y then it tries and aborts12:25
gryok thanks, please wait around for someone more experienced than me to assist. this is a lot of useful information, i am sure it will help to identify the cause and solution12:27
Guest95aight, thanks12:28
tomreynGuest95: can you show your configured apt sources?12:32
Guest95it was here https://bpa.st/JWOQ12:33
tomreynGuest95: does this include what's in /etc/apt/sources.list.d/ ?12:36
tomreynthis might be easier:   grep -Ehv '^(#.*)?$' /etc/apt/sources.list{,.d/*.list} | nc termbin.com 999912:36
Guest95https://termbin.com/tj8a12:39
tomreynare you using plesk or cpanel on this system?12:40
tomreyni guess i should just say that with any third party repositories you are basically on your own / depend on their support.12:41
Guest95cpanel12:41
tomreynubuntu release upgrades may still work with software from third parties installed, but there's no way to support this scenario in a volunteer support setting12:42
tomreynin your case, apparently, they would not work, most likely because those third party repositories or other third party packages you have installed have introduced unresolvable dependencies12:43
Guest95so basically they have done it like this the hosting company so I need to take support from them12:43
tomreynyou can inspec the release-upgrade log files in /var/log/release-upgrade (might be called different, this is from memory) where main.log should indicate what failed exactly12:44
tomreynyou can sort this out yourself, with partial support (when comes to software and tooling ubuntu provides) from here. or you can get (probably commercial) support from third parties, if those can support your combination of third party apt repositories.12:45
tomreynapt-forktracer is a package and command you can use to get a list of installed .deb's (debian packages) - and versions - which are installed from non ubuntu sources12:48
tomreynGuest95: it's possible that cpanel provides release upgrade instructions which prevent the "No candidate ver:  python3.8-minimal" issue from occurring.12:50
tomreynbut this may not solve all the issues, because you also have other third party repositories activated (and may have installed software from these)12:51
Guest95yeah they have this https://cpanel.github.io/elevate/ but I am not able to do that either... as soon as I try to do the wget it says scheme missing12:52
tomreyni'm not familiar with this, so yes, i guess you'll need to seek cpanel support on this12:53
tomreynmake sure you backup first of all12:54
Guest95yeah thanks12:56
tomreynthe issue with cpanel is that is applies rather invasive changes on the system, so much that - as they state - you cannot just use the OS provided release upgrade mechanism12:58
Guest95well that sucks... do you have any better suggestions? alternatives?12:59
tomreynfor shared web hosting? you can manage the components yourself, but this requires more dedication to understand them13:01
tomreynthere are numerous guides on setting up a shared web hosting environment based on ubuntu13:01
tomreynthere are also alternatives web panels, if you need one.13:02
tomreynthose may or may not be invasive, too, though13:02
tomreynIMO, doing shared web hosting properly requires a lot of low level knowledge and practice. cpanel abstracts much of this and gets you a system which works, is easily manageable (as long as it works as designed and intended). if that's what you need, it can be an ok compromise. on the other hand, if you want to understand what you're doing and how components are interacting with one another, be able to deviate from the standard track, while 13:08
tomreynremaining fully compatible to the linux distro, then your own setup may be preferrable.13:08
=== Guest4672 is now known as ogra
=== ogra is now known as Guest2233
=== Guest2233 is now known as ogra
gry218:12
=== patrick_ is now known as patrick
=== y0sh- is now known as y0sh_

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!