LINUX Unplugged - 307: What's your NextCloud?

Episode Date: June 26, 2019

Go full self-hosted with our team’s tips, and we share our setups from simple to complex. Plus what really happens on a 64-bit Linux box when you run 32-bit software, some very handy picks, our reac...tion to the new Raspberry Pi 4 and more. Special Guests: Alex Kretzschmar and Brent Gervais.

Transcript
Discussion (0)
Starting point is 00:00:00 Before we start talking about Linux today, we have to talk about storage. Brent found this story about optical media making a strong comeback. Researchers at the University of Southampton are showcasing a new nanostructured glass disk that has the ability to store data for billions of years with a laser writer. So it's like optical media is back, Wes. Well, I mean, of course, Brent would be promoting optical media, right? Not only can you store
Starting point is 00:00:29 it forever, but you can put a lot on there, like 360 terabytes of data. I mean, we all want more data all the time, right? Yeah, and not only that, but how about them temperatures, too? 1,000 degrees Celsius, that's 1,800 degrees Fahrenheit. Yeah, it'll remain stable, too? 1,000 degrees Celsius.
Starting point is 00:00:46 That's 1,800 degrees Fahrenheit. Yeah, it'll remain stable in up to 1,800 degrees Fahrenheit. That's a good archival media right now. 13.8 billion years at room temp. It's like the next evolution of microfilm, but way better. Maybe they'll be able to fit a single 8K video on there. I assume they're eventually going to get to where the original Superman movie movie where they have the crystals that they put in and have all the data in the Fortress of Solitude.
Starting point is 00:01:10 They're eventually going to get there. That's absolutely what these are. Isolinear chips, Superman crystals. They're glass data. And they show up, like in the show notes, we'll have a link to a video they have in there. And they're holding it up. It's translucent.
Starting point is 00:01:23 It just looks like a piece of glass where they've etched a title onto it, they didn't need to that's just for looks i'd like all of star trek just on one of those sitting on sitting on a shelf on the wall i think you'd have no problem fitting all of star trek on one of those no you know what actually kind of ironically in like 15 years from now somebody could listen back to this and be like oh that's so quaint it'll be like the computer Chronicles is to us now. No doubt. This is Linux Unplugged, episode 307 for June 25th, 2019. Hello, friends, and welcome to your weekly Linux talk show.
Starting point is 00:02:06 My name is Chris. My name is Wes. Hello, Wes. Looking very dapper today. Are you ready to talk about NextCloud? Oh, I'm excited. Yeah, we have an episode that we've been prepping for in the most real sense. You may recall we've recently reloaded our main server here at the JB studios. And we have put it to good use.
Starting point is 00:02:25 Immediately. Yeah, we will tell you about those adventures today, but before we can get that far, we got to do the one, the only introductions. Time-appropriate greetings, Mumble Room. Hello. Hello. Hi there. Hello. Hello, hello.
Starting point is 00:02:38 And of course, Alex, Drew, and Cheese are here as well. Hello, hello. Good day. Good day, everybody. Hi there. Hi day, everybody. Hi there. Hi there, everyone. Well, we have a real panel of knowledge experts on this one. We're going to need them today.
Starting point is 00:02:51 There's a lot going on. You just heard from a whole bunch of NextCloud users there. This is really going to be, I don't know, I feel like the one where I finally nailed it. I am so excited to talk about this. After many years of failed attempts to move away from Dropbox to implement NextCloud only to go back and have to eat crow right here on the air, I feel like we have finally nailed it, and I cannot wait to share our setup with you. Dropbox, they finally just did it with this last update where they want to take over everything and they want to be like your online file system and
Starting point is 00:03:21 ship Electron as part of the Dropbox sync client, I thought, okay, all right. Maybe not. Let's look somewhere else. But before we get there, let's start with some outrageously great community news today as well. A round of applause to the Raspberry Pi folks for tricking us all. The rumors were we wouldn't see anything this cool until like next year.
Starting point is 00:03:43 And so we kind of just thought, all right, well, we got what we got. And we'll wait. But yesterday, the Raspberry Pi 4 Model B was launched. And it's actually a pretty decent upgrade from the Pi 3, which they're saying this new device can now provide desktop performance comparable to an entry-level x86 pc system oh that's exciting okay but how does it perform as a server right can we can we replace this new box we've got can we have just waited a little bit and got this new raspberry pi no it basically while it's a huge upgrade it's
Starting point is 00:04:20 it's still a raspberry pi at its heart although Although, there's a lot to like, right? So DDR2 RAM, that's been upgraded to DDR4. And the new Cortex-A72 CPU is anywhere from double to quadruple the speed of the older A53. Plus, there's gigabit Ethernet that isn't hamstrung by that darn USB 2.0 bus that everyone's been ragging on for years. So you can actually saturate some traffic now. Yeah, genuine gigabit Ethernet is a big deal. And keep in mind, all of that is still at the starting price of $35, which is still a pretty good deal.
Starting point is 00:04:58 One of the things they're doing differently now, though, is they're including different SKUs, three different SKUs, up to 4 gigabytes of RAM, which is the model I purchased. Did you get the 4GB? I mean, you're going to say no to that. It was like $55, not that much more. Cheese, did you pull
Starting point is 00:05:16 the trigger? I haven't purchased one yet, but I plan on it. Alex, you were probably too busy on vacay to pull the trigger. I was. I use a Pi to run my 3D printer. I have a 3B plus right now. I think a 4 will be in my future. I'm going to see if this 8 gig rumor shakes out, though.
Starting point is 00:05:34 Mm-hmm, mm-hmm. There is a rumor in the manual. They talk about an 8 gig model, which that might be what we see in 2020. Drew, are you a Raspberry Pi fan? Yeah, I've got a few lying around the house, but I think they're all ones and twos. I didn't actually buy any threes. Thinking about the four, but I don't know.
Starting point is 00:05:55 I mean, I don't have a project for it yet, except that it's cool. Yeah, I bought it because I'm going to try it as a desktop. I'm going to test this claim. You know, I'll go with reasonable expectations. I'll tell you one thing it will be really great for. It has x265 hardware decoding. So we've all had h.264 for years and years.
Starting point is 00:06:17 And now x265 offers significantly smaller files. And this thing has hardware decoding. So it will make an absolutely great media box. They're also saying potentially 4k video out early benchmarks. Seems like some of the reviewers have had issue getting that 4k video to actually work, but jury's out in my opinion on that one. I think something else they did with the announcement is they had a little bit of a, is it fair to call it a publicity stunt, or would it be a proof of concept? Proof of concept, I don't know.
Starting point is 00:06:49 I think it's just a fun thing to do. The launch site for the new model is mostly running on a cluster of 18 Raspberry Pis themselves, right? So why not self-host it with the product you're selling? 14 handle PHP code execution. Two more serve static files. And then two run our old friend, Memcached. Of course. Of course, that's all sitting behind Cloudflare.
Starting point is 00:07:14 As you do. Which is caching. And also, I think the databases aren't on that cluster either. But if you're serving cached content, it still worked. It's legit. I think the way to look at it is not really proving anything. It's just saying, look, these are capable little devices. Maybe don't use them for production, but they're great for small little tasks.
Starting point is 00:07:33 Yeah. I see quite a few people on HomeLab and all that kind of thing on Reddit using three, four, five different pies to run small Kubernetes clusters. So there are definitely use cases for that kind of thing. I'm kind of feeling that the Raspberry Pi, as time goes on, is becoming sort of the universal Linux computer.
Starting point is 00:07:54 The Raspberry Pi 4B now kind of makes it competitive with a lot of the other boxes that are out there at a pretty competitive price point. This isn't the fastest, but Raspberry Pi is a brand. It's an ecosystem. It is a standard now. It's integrated in production equipment, and it's also in classrooms with students tinkering.
Starting point is 00:08:15 And it's at an accessible price that a massive range of people can afford. And the sort of pop a disk in like a floppy disk and boot off of an operating system approach where you can flash it from a Windows or a Mac and then just pop it into a little Raspberry Pi is approachable. It's just so easy and you get such leverage for such a low entry fee. And it brings something that we so rarely have to the Linux desktop. And that's why I'd really love to see as the Raspberry develops, when the 5 and the 6 come out, maybe one day we'll even have a Raspberry Pi 10. Could you only imagine what that thing's going to be for $35? It's the opposite of fragmentation.
Starting point is 00:09:05 It's one company, one product, and we're not locked into it. That's what's so great about it. It's available to us, and because of its brand and its ecosystem and its user base, it's becoming this common platform. It's not the Apple style where only one company makes all of the hardware and only their operating system runs on all of that hardware. It's like Linux is still available to everybody. I really like where the Raspberry Pi is going as a broader product. When you look at it individually with the different boards and stuff, you can argue about
Starting point is 00:09:31 which one's technically superior. But when you zoom out and look at it as a platform in an ecosystem, it's creating something for Linux. As it becomes powerful enough for the desktop, it's creating something we've never had, in my opinion. I'm very excited about it. So that's why I ordered what they call their desktop kit. You get the Pi 4B with a keyboard and mouse, and you get that micro HDMI adapter. I wish they hadn't done micro HDMI. That's the one thing I'm not really a big fan of. And they've added two micro HDMI outs.
Starting point is 00:10:04 Yeah. I would have loved some kind of a SATA interface instead of a second HDMI port, but maybe that's just me. You know, with gigabit ethernet, there's a lot of ways I can get storage onto that Pi now. I think one of the original issues too is that with the original CPU, you were tied down to USB 2.0 throughput. So that's why you could never really get gigabit speeds out of it. And now that it's upgraded, you know, with USB 3.0, obviously, yeah, you can get that speed out of it. No problem.
Starting point is 00:10:35 And I mean, there are tests that have been run out there that actually show that they're able to get their full gigabit speed out of it. Are you happy with this? You follow these types of boxes or I guess boards pretty closely. Are you happy with this product? You follow these types of boxes, or I guess boards, pretty closely. Are you happy with this release? Yeah, I mean, I own several of these. I own Raspberry Pis, Orange Pis, Nano Pis, you name single board computer, I probably have one of them
Starting point is 00:10:59 from one company or the other. I think it's a great step for the Raspberry Pi Foundation. This is obviously a response to the popular RK, the Rockchip 3399 that's in some of the other boards out there and set-top boxes and stuff. It seems to stack up pretty well. I will say, though, that that cluster that they set up, the photo that they tweeted out of that just drove me crazy because of the cable management and the don't look, man.
Starting point is 00:11:29 Yeah. Just don't look. It's a nightmare. But no, I mean, I think this, this is going to be a really good board and it's going to be something like you said,
Starting point is 00:11:37 I mean, raspberry raspberry PI already has an ecosystem built around it. There's so many companies that produce raspberry PI hats that are continued to do that. And I think that this is just going to be a continually growing project from them where they, I think they focus more, kind of take that Debian approach and focus more on reliable, tried and true hardware before they just step off into the next thing. You know, like you have some of these other single board computer manufacturers orange
Starting point is 00:12:12 pod and to, to name one that just iterate so quickly on these boards. And they're all over the place. They're, they've saturated the market with these different boards and stuff. Some of them are good. Some of them aren't, but it just kind of dilutes the whole thing. So it's really nice to see Raspberry Pi just chugging away, doing what it does, coming out with what's sure to be, you know, a great board once it gets out on the scene and everybody starts using it. So I'm really looking forward to seeing what they do. Man, I can't even imagine a Raspberry Pi 10, what that's going to Man, I can't even imagine a Raspberry Pi 10, what that's going to entail.
Starting point is 00:12:54 A couple of use cases that I haven't super seriously considered the Raspberry Pi 3 or previous Raspberry Pis for. Number one now is, to me, this seems like a clear contender for a Kodi box. You got real performance on this thing now, real Ethernet, real HDMI out. It just seems like a clear contender. So that's something I'm going to have to try. And then also, you and I were just talking about this a couple of days ago. We kind of need like a computer that is
Starting point is 00:13:15 low noise, low heat, doesn't have to be super powerful. We just need to show graphs and different inputs and different meters and just readouts of different data that we have. And a Raspberry Pi that can run two monitors. That would be perfect. That could be exactly what we need.
Starting point is 00:13:36 And it could take the job of a louder, more power-hungry x86 PC easily. That's kind of cool. You know, I just thought of another use case, too, is considering that these are fanless, this would not be a bad choice for something to run Reaper on in a little mini recording booth. Yeah, that's got to be tried, I think, right? Why not?
Starting point is 00:14:00 They do have an ARM version. They do. And also, our mixer makes the mixer's GUI software for the Linux ARM as well. Yeah, so that's why I said we could get meters right off the mixer on a Raspberry Pi. It's pretty great. There's also a link in the show notes to Scenic Software, which got one of these units and did a series of benchmarks on it. I don't really know what to take from this. A couple of temperature benchmarks.
Starting point is 00:14:23 Remember, there's ambient. There's other things you have to consider. But at idle, it ran at 62 Celsius. And then when the benchmarks were being downloaded and loaded, you know, accessing disk and network, 64 Celsius. And then when John the Ripper was ripping, 73 Celsius. And he appears to have observed some CPU throttling as temperatures have gone up. observed some CPU throttling as temperatures have gone up. He kind of describes it as a particular type of peak performance,
Starting point is 00:14:50 bursting performance, I guess. Yeah, it'll operate perfectly fine. You don't need extra cooling. It's designed for sprint performance, right? You're going to get a few extra workloads done here and there, but you're not loading it all the time. If you are keeping the CPUs ramped up, you'll probably want some extra cooling.
Starting point is 00:15:06 Yeah. Yeah. Otherwise, passive cooling does seem to be sufficient. And he also did test that gigabit Ethernet and was getting pretty reasonable transfer speeds, you know, between 95 megabytes a second, 93 megabytes a second on the send and receive, which is perfectly, perfectly good. And did run into some
Starting point is 00:15:26 4K video playback issues, but again, early days on that. So I'm going to wait and see on that one. I'm tempted to pick one up, 3D print a little housing for a USB hard drive, and then just send it to my parents' house, plug it into the network, and then just use
Starting point is 00:15:41 BitTorrent Sync as a remote endpoint. Oh yeah, great little management whenever whatever, having something in someone's house. Perfect. I could definitely see it being a little Sync endpoint or a little NextCloud endpoint potentially as well. Well, we have to move on because, of course, there was some dramatic breaking news. Everybody freak out. Ubuntu is dropping i36 architecture support.
Starting point is 00:16:03 Oh, no. Yep, if you are on an Intel series processor, no longer will there be 32 support. Steam is pulling out all support for Ubuntu, and Valve developers are upset, and Wine developers are... Wait, what's that? It's the Linux gaming apocalypse? I'm sorry. I'm sorry. I was just going off an article that was posted by PC Gamer just 20 hours ago.
Starting point is 00:16:24 Uh-huh. Hold on, Wes. Just one second. I'm getting... I'm getting... I gotta get... I'm sorry. I gotta get pulled aside.
Starting point is 00:16:30 Apparently there's an update. The cone of silence. Okay, what's going on? So, you're... I'm getting word here that all of this is a complete overreaction. Oh, yeah. There's some updates. Oh.
Starting point is 00:16:43 We should get into them. Oh, okay. All right. All right. Well, maybe we'll get into them. Oh, okay. All right. All right. Well, maybe we'll just cut all that out, okay? All right. Let's go. Yeah.
Starting point is 00:16:49 So this week, there was a big upset when it appeared that Canonical would be removing support for i386 packages in Ubuntu 19.10 and subsequently 2004 LTS. So kind of the series of events is this is something that's been discussed for quite a while. We covered the timeline on LAN a little bit, but from what I can kind of see, it seems like you really kind of see the conversation kick off around May of 2018. And we've seen other distributions make similar moves already. Yeah, in fact, OpenMandriva just announced they're dropping.
Starting point is 00:17:20 Now, ARM architecture, you've got ARM's keeping 32-bit. That's not going away. This is just for the Intel x86 side of the camp. And so you see conversations, and the message really seems to be from the Ubuntu developers is our sense is, I'm paraphrasing for them, our sense is that these packages are not well-maintained. They don't really have a lot of eyes on them. There is security issues that they're known to be vulnerable to, like Spectre and Meltdown, that they're not receiving mitigations for, amongst other issues. And we kind of think
Starting point is 00:17:54 to protect the overall platform moving forward, we should remove these packages because they're likely a security risk. Although we can't prove it, they likely are. Canuckle didn't want to come out and scare everyone, but in their own way, that's essentially the message they were relaying is, hey, nobody's really looking at these. I mean, we're, we're shipping them and we're putting the work to package them and, and make sure they're built against your current distro. And we're making sure they're in the repo and that's all good, but they might not be very, they might not be very well maintained. And that conversation sort of went off from the mailing list onto the web and then onto podcasts we've talked about a little bit.
Starting point is 00:18:33 And then this last Tuesday, just after the show wrapped up, Ubuntu desktop lead developer or manager, Will Cook, went onto their community discourse and said, here's the plan. We're going to start officially deprecating support for i36. A couple of days go by. Nobody really says much except for a few other people from Canonical chime in on the conversation. And then on Friday, a staffer from Valve posts on Twitter that the removal of i36 support would be untenable and that Steam would have to look at dropping support for Ubuntu
Starting point is 00:19:09 moving forward in 1910. Yikes. That was the moment that really set the internet on fire because all of a sudden it looked like Steam was dropping support. So then you immediately had half a dozen articles go live saying that Valve was officially dropping support for Ubuntu. And within a short time after that, a change.org petition was created to force Canonical
Starting point is 00:19:35 to keep 32-bit support in the distribution. And there was sort of a back and forth about if this was good or not for the longevity of the Linux desktop. And by Sunday, Canonical had decided they would walk it back a bit. And then on Monday morning, they made an official announcement that they would be keeping the 32-bit i36 packages for Ubuntu. They wrote, thanks to a huge amount of feedback this weekend. That's how they start the blog post on their Canonical blog. And then later on,
Starting point is 00:20:05 they say community discussions can sometimes take unexpected turns. Ain't that true. And then they later write, we also look forward to working with Wine, Ubuntu Studio, and gaming communities to use container technologies to address the ultimate end of 32-bit libraries. And that's important right there. Yeah. So I want to continue this conversation, but I thought maybe what we should do is not a lot of people are really discussing what it takes to run a 32-bit x86 program on a 64-bit x86 Linux system. So suppose that you have a modern 64-bit x86 Linux system and that you want to run an old 32-bit program on it.
Starting point is 00:20:42 I do. Maybe a game or something like that. It's got some libraries. you want to run an old 32-bit program on it. I do. Maybe a game or something like that. It's got some libraries. So what does it require from an overall system,
Starting point is 00:20:49 both from the kernel and the rest of the environment, to actually run a 32-bit application on a 64-bit box? All right, well, at a minimum, that requires your 64-bit kernel to support programs running in 32-bit mode and making 32-bit kernel calls. Okay, so there's some kernel stuff. Oh, yeah, of course, right? And supporting those calls is not always easy because there's all kinds of different structures
Starting point is 00:21:10 involved and those structures have to be translated back and forth between the native 64 bit version and the emulated 32 bit version. Wow, imagine so like when you're on Windows, when you're playing a Windows Proton game that's 32 bit on Linux, there's so many layers of translation happening there. Oh, yes. And, you know, a lot of those, they're not always pretty. I'm sure there's many in the kernel community
Starting point is 00:21:32 who wish that, you know, it would just be kind of simpler, it'd be cleaner not to do this. There's more complications around iOctals and, you know, dealing with pseudo-terminals and other sorts of devices like that. And more complications with the VDSO, where you have stuff that gets mapped
Starting point is 00:21:48 into just about every program running, even for statically linked programs that don't necessarily make use of nice sorts of optimizations for dynamically linked programs. The system doesn't know, so it's just got to load it. Yes, and that means the kernel has to carry around another 32-bit ELF image, which has to be generated somewhere.
Starting point is 00:22:07 And that's where a lot of this stuff gets the most complicated, I think, right? Because you have to get all of these programs. You have to make all of these shared libraries. You have to generate and compile all this stuff. And that's never going to be simple. Well, and it gets even significantly more complicated because it's a little simpler if the 32-bit application, like you were saying, is statically linked. However, if it's a dynamically linked 32-bit application, then there needs to be 32-bit libraries all the way down, and they're all loading all of this extra baggage and crap all the way down, including if you have an application that needs to do a name lookup. There needs to be a 32-bit name lookup library.
Starting point is 00:22:45 Oh, yeah, all those NSS modules you have in nswitch.conf. Yeah, you got to take care of those. There's lots of complications with glibc. Maybe there's some other libraries you have, stuff like Curses or X11 or the standard library for, say, C++. There's just lots of stuff lurking all over, and a lot of it might need a 32-bit compiler or tool chain. Now, in theory, it's often possible
Starting point is 00:23:09 that you can do cross-compilation, but it's just a lot of infrastructure that actually has to be supported to make all of this work at the level that you expect on a modern Linux desktop. Well, if you try to file a bug against a 32-bit application that was built on a 64-bit system,
Starting point is 00:23:22 they'll tell you to go screw yourself. You're supposed to, if it's going to work in production, you build a 32-bit app on a 32-bit application that was built on a 64-bit system, they'll tell you to go screw yourself. You're supposed to, if it's going to work in production, you build a 32-bit app on a 32-bit system. I mean, it is possible, but in practice there's problems. On top of that, many build systems just don't really even support it. So there's that as well. So forgive my perhaps ignorant question. Why do Valve care so much about the 32-bit thing? Is Steam a 32-bit app or something? Keep in mind, this was an employee at Valve. This wasn't an official Valve announcement about a Valve partner. This was an employee venting on
Starting point is 00:23:52 Twitter. But it's the games. It's the games. The games need the 32-bit libraries because a lot of the games are 32-bit. And everybody that has played a handful of Steam games has definitely run into this. I mean, I know I have 32-bit libraries on my system right now just for Steam games. Canonical's insight data that they get from the surveys that people opt into in 1804 shows that less than 3% are getting the 32-bit version of the ISO.
Starting point is 00:24:19 That's the ISO. It doesn't tell you how many of them are 64-bit systems running 32-bit libraries. But that tells you how many people are going directly to 32-bit. It tells you, really, it affects your entire system to run a single 32-bit application. We'll have a great breakdown linked in the show notes if you want to dive into just everything that has to go on. There's a real technical cost. There's a genuine technical cost.
Starting point is 00:24:39 And sure, we all have memory to burn, and we all have processor to burn these days, but I don't know. I like my system to be as efficient as possible right as always supporting this stuff it's it's a cost benefit analysis and people are using it and it's useful to have then you should do it but it's never free somebody tell me if i'm wrong but let's just pretend like we live in a world where internet outrage didn't didn't drive immediate reaction by corporations and canonical really stuck to their guns on this. And they said, no, no, no, no. You don't understand. We're going to maintain the libraries in 1804.
Starting point is 00:25:15 There'll be ways to get those libraries on 1910. It's not a big deal. The libraries aren't changing that much. We'll be backporting security fixes. You just get it that way. What if they had done that? Because to me, it seems like, because that was the original proposal, to me, I see a few ways the problem could have been solved. We could have had our cake and eat it too. You could keep 1910 64-bit pure and then wrap all this stuff up in a snap, one Steam snap that has all the 32-bit libraries you need. Or how about the flat pack that literally already exists? There is a flat pack already that you can install on a pure 64-bit system and you can play 32-bit games.
Starting point is 00:25:48 It exists today. Of course it does. What about a PPA? How about a PPA that just installs the 1804 libraries? Could have done that. Valve could update the Steam runtime to just simply include the now-missing 32-bit libraries. They have chosen certain libraries to include already
Starting point is 00:26:03 but then opted to allow the OS vendor to supply the rest that they consider to be less important. Perhaps Valve could reconsider. It seems like the community does think they're important. Perhaps they could just package them up like they've been already packaging a lot of libraries. So what I don't quite understand, and I'm genuinely seeking feedback here, is what was the risk? It seemed like there was always going to be a pretty solid solution. In fact, some that are already working today. So I don't quite understand what the upset was about, why we needed a change.org petition, why we harassed, not we, just saying generally the people in the community, we harassed, not we, just saying generally the people in the community, harassed Canonical employees over the weekend about this. PC Gamer just posted an article this morning,
Starting point is 00:26:50 even after Canonical clarified, just trying to get clicks and drive controversy. You had people that were trying to get others to switch distributions. Come to Manjaro, it'll solve your problems. I mean, that was all over the place. And I don't understand why we, as a fairly technical community, are susceptible to this, because it seems like, and I guess maybe I'm just idealist, but it seems like the immediate conversation should be, all right, well, how do we solve this with technology? How do we get together as a community and collaboratively solve this problem? Right. Or at least maybe the beginnings of, hey, this could cause problems for us. What are our avenues?
Starting point is 00:27:26 Do you have, you know, how can we migrate our software? Because usually, and I know this is true for Canonical, people care about others running their software and they want to help, right? You could be a part of this in a positive way and engage to and have help from Canonical to find the best solution. It's harder to do when you start in such an aggressive tone.
Starting point is 00:27:45 Well, what I don't understand is that people are so up in arms over this now, where this is something that's been talked about for quite a while now. Yeah, I think it was that developer at Valve's tweet that sort of, that kicked off the headlines. Why are we taking faith in this guy's statement when it's not a direct statement from Valve? I mean, I've gone to Valve's blog. They have, they've stated nothing about any of this. I guess to be fair, there was
Starting point is 00:28:10 also a conversation going on on the wine development mailing list too, about what, you know, some serious, but yeah, I, again, I come back to, there were ways there always was going to be ways to solve this. And at some point, we do need to move forward. Just for funsies, was it you that went and dug up the original announcement about transitioning to 64-bit? Yeah, way back in the day over at Linux.com.
Starting point is 00:28:35 And it's quaint because it's written in a way where they clearly don't think we'll be, the 32-bit supports like a transitional technology. These will hang around for a while and then be gone. Yeah. Like, no, here we are in 2019. Yeah, almost like 15 years later.
Starting point is 00:28:51 Yeah. You do kind of wonder, when is it time to go? And I know the elephant in the room here is that Catalina from macOS Catalina drops in the fall, and it's 64-bit only. And Apple's like, just shut up and make it work. Deal with it. And they don't even have the same technology. They don't have Snaps, Flatpaks, same technology. They don't have the snaps, flat packs, Docker images.
Starting point is 00:29:07 They don't have cheroot environments. We have a lot of ways to solve this problem. I think what kind of gets me, I'm going to just take this moment to remind everybody, currently a very happy Fedora user on my daily driver and just moved my server over to Fedora. However, you have to acknowledge that Canonical takes it in the face
Starting point is 00:29:25 on this stuff all the time. They move something forward like this that maybe is a little bit earlier than anybody else, or because of the size of their user base, it's genuinely the first time it matters. They take the brunt of the reaction. And then in a year when Fedora announces they're going 64-bit only, crickets. The day Open Mandriva announces it, crickets. Canonical's reputation constantly takes it as they move this stuff forward. And people love to trot out old wounds like Mir and Upstart. It even came up on the YouTube comments. Pulsatio. Yeah.
Starting point is 00:30:02 And it's at what point do you go, you have to weigh the good with the bad. They make a decision, they listen to the feedback, and they change it. That seems to be the balance. That seems to be the right balance. And in this particular instance, I kind of wish they had stuck a little more to their guns because you've got to think about the long-term picture here. These distributions, like 2020, the LTS version, are going to be supported until, what, 2025? And now they're doing 10 years, so it could be even longer. So when they commit to shipping these 32-bit libraries in these LTS distributions, they're committing to paying staff to maintain
Starting point is 00:30:45 those libraries, even if they import them from Debian once a cycle. Yeah, that's still a lot of money, time, and effort. For years. So they have to cut at some point because there is a knock-on effect for years. A long tail, yes. A very long tail here. And somebody's got to do it eventually. That's what makes it so funny too, right?
Starting point is 00:31:04 We had this discussion in such a rapid, I mean, quote-unquote discussion, in such a rapid-fire manner when this is all stuff happening over months and years of timeline. So there's plenty of time to figure it out. The fervor really kind of started Saturday morning London time, which is where
Starting point is 00:31:19 Canonical's offices are. Saturday morning. And they had provided clarification by Monday morning PST, Saturday morning. And they have provided clarification by Monday morning PST, Pacific time. That's a very, very small window of time to respond, to come to a consensus, and then issue a statement. Which is funny because a lot of people are getting on them for not responding faster. What do you expect? You need to go watch our video on burnout. Because this is getting ridiculous. Anyways, so yeah, the end result is they're essentially they're backpedaling to a degree. And they do leave a line in the second to last paragraph in their update.
Starting point is 00:31:55 They write, there is a real risk to anybody who is running a body of software that gets little testing. of software that gets little testing. Again, they're trying to tell you in a professional, non-fearmongering way that they don't think, in their opinion, that these are safe libraries, that this stuff is not getting enough attention, and they really recommend that we stop using it.
Starting point is 00:32:16 And we're kind of forcing them to continue to ship it. That sucks. Yeah, it must be pretty frustrating. We've been thinking about it. It's not like they rushed into this. You might say that they did or that, you know, they could have done some things better
Starting point is 00:32:27 or communicated more or whatever. It really wasn't rushed into. It's just silly. All right. I know by the time people are listening to this, it's probably been
Starting point is 00:32:36 talked to death. So if you have thoughts in the mumble room you want to chime in, let's do it in the post show because I feel like I just, I know people are probably sick of the topic,
Starting point is 00:32:42 but that's where it stands of us right now at least. Any other thoughts? Maybe just go play some games on your suite gaming Linux room. I'm going to go play some 32-bit games while I still can. I actually, I thought it would be kind of a laugh to start a change.org petition that demanded that
Starting point is 00:32:59 Canonical goes all 64-bit, like do the opposite. Get that gross 32 off my system. Promote it here in the show and get like quadruple the amount of signatures. But I thought, you know what? Canonical's probably just ready to move the F on. They don't need me trolling them. I am too. Yeah, me too.
Starting point is 00:33:16 All right. And with that, let's do a little housekeeping. Oh. We got some good stuff. We won't be doing the Friday stream. I mentioned that here because a lot of times the crew here on this show is who's on the Friday stream. So it's like a sneaky second Linux unplugged. But this week we're going to be in Texas.
Starting point is 00:33:31 So no Friday stream this week. But Friday 8 just came out. Best thing about a Monday? Friday stream comes out. Random access memories. Wes is there. Drew's there. Cheese is there.
Starting point is 00:33:41 I'm there. And we share the stories of our very first PCs. Yeah, yeah. It's a retro show. It's a lot of nostalgia, a lot of fun. We solve some problems for the world. Of course we do. Of course we do.
Starting point is 00:33:54 And I won't spoil it, but there is a competition to give away a game in the show. And one of the hosts here on the show wins. And we won't say anymore. We won't say anymore. FridayStream.com slash 8 is a really, really fun episode. Go check that out. And then catch up while we have an off week. Why not, right?
Starting point is 00:34:12 Oh, yeah. That's a great time. We're doing it at 1 p.m. Pacific time. Check out meetup.com slash Jupiter Broadcasting, too. We have a security meetup coming. We just had our burnout, understanding burnout, I should say. That's actually the name. The understanding burnout meetup.
Starting point is 00:34:24 And it was really good. Really good. I mean, Drew's got a heck of a file he's got to go through. But once we get a chance to process it and all that, we'll get it up on the YouTube channel. It's a lot, Drew. I'm sorry. It's a long one. But it's so good.
Starting point is 00:34:37 It's really good. This is an instance where the Mumble Room showed up. We had just a really great participation and just so good. Organic, helpful discussions. We'll have a link to that in a future Linux Unplugged. Just keep an eye out at meetup.com slash jupyterbroadcasting for that. Also, a little sneaky tip. This is a little birdie.
Starting point is 00:34:57 This isn't an official feature, but I think you guys might like to know. Linux Academy is going to be soft rolling out transcripts on the platform over the next couple of days for the videos. Killer feature when you're trying to study. Now, it's just going to be initially in some videos, they're working out the tech, you know, they want it to be really solid. Of course. I've seen the demos though. It's nice. The implementation is solid. The tech is good, but they're going to, you know, they're going to be measured about how they roll it out. But a little sneaky, little insider tip. I noticed that's rolling out soon. I know people have asked in the audience. Yeah, that's nice to have. It's
Starting point is 00:35:26 really nice to have that. All right. Anything else we want to mention in the housekeeping? All right. I'm calling it then. So you probably heard in the last few episodes, if you've been listening, that we did a hot swap, a live swap of our free NAS box to a Fedora box. At the time we said, don't do what we did, but it actually worked great, so maybe you should. Jeez, it's been good. And we'll keep, you know, if it goes wrong, we'll tell you. Of course.
Starting point is 00:35:51 Of course. Oh, my gosh, it's been so good. Because we really took the philosophy of put all of the applications we're running on this thing in a container. Is NetData in a container, or is that actually installed on the host system? That's on the host. Alright, so that might be the one app that is actually installed
Starting point is 00:36:08 locally, but otherwise it's pretty much just a pure Fedora server install. And then we have begun standing up back-end services that I am already so elated over. But the one that was sort of number one with a bullet on
Starting point is 00:36:24 our list was replacing Dropbox. So it's not, you know, as a business it's not the end of the world to pay $1,000 a year for storage, but it's a big chunk of change. It's sizable. You have to think about it. It shows up on the accounting. Yeah. Well, and you know, $1,000 a year in hard drives would be a much better
Starting point is 00:36:39 investment in my opinion. And they, this is so silly because now it's, I disagree with past Chris. Past Chris is such an idiot, you know, you know, future Chris, you don't know about that guy, but present Chris is really, he's got to figure it out. I'm hopeful for future Chris. Yeah. Right. But present Chris, I really feel like he's got everything figured out. You know, he, he really knows what's going on. And he has, he had came to a realization that the reason why he was sticking with Dropbox
Starting point is 00:37:05 was really because I just wanted something that was fundamentally really good file sync technology that I could generate a web URL so people that don't have an account or don't have the software installed could still get access to resources. It's like Combo, right? It's this everywhere file system that follows you around and you can easily get stuff from it whenever you want. And sort of sneaking up on me, I didn't even realize what's happening, Wes, is it turns out like a good mobile app matters. Yeah, it does, yeah. When I started FileSync, it didn't matter. But now here on the, you know, in the 2019s, I want a good mobile app. You do stuff on your phone, and the better it is, the more you can do. So when Dropbox announced their latest update,
Starting point is 00:37:47 where they would be packaging the Electron runtime and integrating with Google Docs and Google Sheets and trying to connect all of your different online systems together and one activity dashboard that you could share with your colleagues, I realized if the dropping of everything but Extended 4 wasn't enough, this was it. It's not your Dropbox anymore. It's just not a product for me anymore.
Starting point is 00:38:12 It's not. And I thought Nextcloud wasn't for me because I didn't want the overhead of a whole website and all of the collaborative stuff. I just wanted FileSync. So I was convinced I would go with SyncThing or Resilio Sync. I tried them all out and I thought about it
Starting point is 00:38:27 from a collaborative space and I realized how important some of the mobile app features were and the web interface was. And in the end, NextCloud won out. So I came to you, Wes Payne, I said,
Starting point is 00:38:37 Wes, bestow upon us a NextCloud instance. That's how he talks all the time in real life, yeah. It's weird. And Wes, grant us with the performance that only a dedicated database can provide.
Starting point is 00:38:50 These are the words that I conveyed to you. And you came back to me with a multi-container setup on our fake NAS. So can you walk us through our setup a little bit, and then we'll get into everybody else's setup. Yeah, actually, NextCloud provides some pretty handy Docker
Starting point is 00:39:05 Compose YAML files ready to go up in their repositories on GitHub. We'll have that linked, of course. So you can get it set up. There's all kinds of ways. It's a blessing and a curse with Nextcloud. There's also a really handy Linux server I.O. image we also
Starting point is 00:39:21 have linked, and there's a snap. So there's all kinds of ways to get NextCloud installed. Well, to that end, we'll hear from each of those in a moment, but you went with the official... Yeah, I thought we might as well give it a try, right? See what that road was like, and we ran into a few snafus
Starting point is 00:39:37 because I wanted to use Postgres, which is my database of choice, and we ran into an issue with using some of the automated setup to sort of populate our stuff, set up an admin user right out of the box. Had to do a little tinkering. Were they expecting you to use a different database? Well, no, it just, it seems like that bug was only affecting Postgres
Starting point is 00:39:56 because you can also use MariaDB or SQLite. Or SQLite, right. But we wanted good database performance as that's supposedly quite important for doing, you know, heavy file syncing of large media files. Once we got through that, through all the configuration stuff, it's working great.
Starting point is 00:40:12 So we have Redis in there, we have a Postgres container, the actual web container that has all the app and has PHP FBM running, and then some proxies in front of it that are handling Let's Encrypt and all the rest. Yeah, and it works beautifully. And in front of it that are handling Let's Encrypt and all the rest. Yeah, and it works beautifully. And the performance seems to be actually pretty wonderful.
Starting point is 00:40:35 While we're talking the container method, though, Alex, do you know what would be the advantage of going with the Linux Server I.O. container over the project's main container? This is an aspect of Docker that bewilders me. So full disclosure, Linux Server I.O IO is a website that I helped found several years ago. But the reason that I run the Linux Server image instead of the upstream Nextcloud image is the permissions mapping that the Linux Server images do. So the user that is running inside of a container will probably have a different UID and GID to that on the host um so we allow through environment variables which are specified at runtime um you can specify a specific user and group id that matches that that's running inside the container so it just makes permissions a lot more simple all right very good yeah a lot of the other things almost all of the other things we're running are Linux Server I.O. Oh, yeah. There's, I don't know, 10 of them on there?
Starting point is 00:41:25 Yeah, that has been your lead. I expect nothing less, Chris. Well, that way I know who to yell at if it doesn't work. Treat that. Okay, so Cheesy, you did the snap method, right? Yeah, I did the snap method, and super simple. Snap install, setting up your let's encrypt certs. I'd spoken with Wimpy at Linux Fest Northwest and I told him how snaps are just kind of freaky to me because I'm used to
Starting point is 00:41:54 being a little more hands-on with my setup and going through and editing files and, you know, setting up the configuration and everything. So it's just weird that literally just one command can pull it down and get it working. Um, so that's what I've done. But one thing that I did notice, um, with a particular snap image is that it's based on next cloud 15. Um, I wanted to run 16. So, uh, and you can do that. It took a little bit of, uh, Google foo getting around and just reading some of the documentation there for the snap. But doing a snap refresh package name, tack, tack, channel equals 16 forward slash candidate, then you can pull down the latest 16 and give it a go. You can even pull down edge versions or nightly builds. Yeah, and you can revert as well if it screws up.
Starting point is 00:42:48 I've played a little bit with the Snap as well. It's pretty nice. Yeah, it's super painless. And then what I've done is I've gone through and connected to some block storage elsewhere so that all of my data basically resides in that storage. So that if I need to nuke or redo something, do something different with the snap, or if I wanted to flip it over to being a Linux server.io Docker container,
Starting point is 00:43:18 I could do that. Right, the data's still there. And my data's still there. Yeah. Chris and I, we were talking about how good a time it is to be running some of these server-side apps on Linux because it's easy, it's easy to reason about, and it's safe because all of them have these nice mechanisms for protecting your data.
Starting point is 00:43:35 Yeah, like, I mean, multiple times yesterday, we would just completely destroy a container and then stand it back up and just reattach it to the data, and it's like nothing changed. It's just incredible. Several years ago, I was pretty anti-Docker. I thought it was going to be a flash in the pan and a waste of time and just the next kind of noise in the industry, really.
Starting point is 00:43:56 And then I started using, this was when I was using Unraid, so it was probably five years ago now. Docker was like 0.3 or 0.4 or something so it was a while ago um and i blew away probably 15 apps worth of configuration um by mistake um however it turned out that unraid had mapped my volumes to a persistent storage somewhere and i hadn't really realized what i'd done to set it up because I was a complete novice um I reinstalled Unraid and came back and had all of my apps exactly as they were within five minutes and I'll tell you what that single thing alone was just like a light bulb going off
Starting point is 00:44:37 in my head of just to say yes containers but storing the state outside of the application runtime I am 100% on board with this. This is fantastic. So Drew, we haven't asked you yet. So we've got a couple of container-based installs. We've got a snap installed. Have you done a traditional install for your Nextcloud or are you also a container guy now? Container all the way. Mine is set up very similar to the way Wes set up the studio instance in that I've got Docker running NextCloud, Redis, and PostgreSQL all behind a reverse proxy. So very, very similar. Wow.
Starting point is 00:45:12 None of us have done a traditional package install or anything. I don't want to. I mean, especially for like a PHP sort of app like NextCloud, unpleasant. I literally never would. After this experience, I just never would. And I think my takeaway advice is if you're running an instance for a group of people like a small office or like a couple or a family, the Snap version is really solid. I've experimented with it, used it myself.
Starting point is 00:45:37 And if you're going for a larger team instance like we're using here, then something with a traditional like Postgres database is a better setup. Using a container where you have a little bit of flexibility because it is a fast moving project that needs updates. And then that's kind of the nice thing is we can we can just track now. And if things go wrong, we'll just go back, go back, go back. Just a heads up for other listeners. MySQL works just fine as well, if you prefer that for your database. There you go. Yeah, yeah. So there's a lot you can do with Nextcloud besides filesync,
Starting point is 00:46:09 but that's how I came at it. I've always really been primarily interested in that. But I started now to look at it more as like a team collaboration piece of software. And when I changed my perspective to that, I think I started, that's really for me when it started to click. I started to see it in a different, total different light. And I've been watching how Drew and Cheese use NextCloud quite a bit. You guys have really kind of integrated it quite a bit.
Starting point is 00:46:37 Drew, I have a sense maybe you're one of the longer NextCloud users on the show. I'm not sure, though. I get that sense, though. Six months, maybe. Okay. Cheese, how long have you been running NextCloud users on the show? I'm not sure, though. I get that sense, though. Six months, maybe. Okay. Cheez-In, how long have you been running NextCloud now? Probably three or four months. Okay.
Starting point is 00:46:53 Yeah, so we're all kind of new to it. What about you, Alex? So I guess maybe, Alex, you're probably the longest term. Over a year. Before I emigrated, I digitized every single document in my house. And I have to say, when I was emigrating across the ocean, just being able to pull up a scan of this bill or that piece of ID at a moment's notice on my phone was so unbelievably useful. That sounds wonderful.
Starting point is 00:47:14 Yeah. So when I started looking at it, and we're obviously the newest because we've only been running it for a week. So it's still very new to us. But I've ran Nextcloud on and off for years now. And now that I'm looking at it, it's more of like a team collaboration tool. These apps are starting to make sense. One that I'm looking into right now is called Workflow External Scripts. I'll put a link to this in the show notes. And this just allows you to pass files through this. And depending on the type of file and a set of defined rules, it will take different actions. So I was imagining
Starting point is 00:47:45 we could have like a NextCloud drop folder where this would be set up, and it would read the file name and then take actions based on what type of file it is. What a way it needs to go. Oh, that's a great idea. Absolutely something we could use, right? So that I put in there. The other one that I installed, but it
Starting point is 00:48:01 sounds like maybe isn't so great, is there's an audio player that I thought would be great for us because we have a lot of media content in there. That's hit and miss. Doesn't seem to be working, does it, Cheese? Well, I tried out the latest version of that audio player plug-in or app, as they call it. a DigitalOcean droplet with one CPU and two gigs of RAM. There was this crazy runaway PHP FPM process that I can only associate with that player that I guess I don't know exactly what it was, but it pegged the CPU at 100%.
Starting point is 00:48:38 So, I mean, I think that there are still, maybe on the particular instance that you have set up, it might not be a big deal. You're the guy trashing the server now. Yeah. No, that's always me. I'm always the guy that's like just totally soaking up the CPU.
Starting point is 00:48:53 Yeah. You know, some of these apps are a little hit and miss and you do have to kind of check how they went. You know, sometimes, yeah, you have side effects. There's something that Nextcloud doesn't do by default that seems sort of necessary for what our use case is, because we'll often be inviting people in, is it doesn't have registration on by default. When you go to NextCloud, you just kind of have to have an account or someone has to have made one for you. And that's, again, that's nice for like a small team. So I turned on the
Starting point is 00:49:20 registration app and I said, you know, if your email is this domain, you can register essentially is what I did. And that works. That's a great little feature for small teams. And you can say, make sure it goes into this group. You can turn on two factors as well. But here's, I want, I wanted to find something kind of cool that you could never have in a Dropbox. I turned this on for the whole team because I'm that guy. It's called Keep or Sweep. Keep or Sweep. It's Tinder for your files, essentially. Just when you get bored and you're in NextCloud, you hit this little random button that's up in the toolbar,
Starting point is 00:49:52 and it'll just bring up a random file in your Drop, in your NextCloud, almost a Dropbox. It'll bring up a random file in your NextCloud, and it will ask you if you want to keep it or delete it. Oh, that's kind of handy. And you can sweep it or keep it. And I sat there and I went through, and like I started going through some old pictures.
Starting point is 00:50:07 I don't need that picture anymore. Sweep it. Yeah, yeah. Speaking of pictures, I'm looking forward to when we go to events, turning on the phone auto-upload feature in the app. And just have it, like, as I'm taking pictures at events, just put them all up on NextCloud automatically. But this one is a game changer.
Starting point is 00:50:25 Now, this, I admit, is not applicable to all teams or even probably anyone else on our team, but this one I'm very excited about. It's phone track. People might be familiar that I have a rover tracker in the RV. And he likes everyone to know where he is all the time. Well, I really only turn it on when I'm on trips, typically. Every now and then, like, we went somewhere in Oregon and I turned it on
Starting point is 00:50:46 and somebody noticed. That's kind of cool. Because it is always up at jupiterbroadcasting.com slash rover, at least the trackers. But I pay for that and it uses
Starting point is 00:50:55 a proprietary service and it has a hardware device that... You got like a dongle hanging around. Yeah. So PhoneTrack is an application
Starting point is 00:51:02 for NextCloud that will generate links that you can plug into corresponding apps on a phone or hardware device, and it will supply location data to this NextCloud application, and then it will generate a real-time map using OpenStreetMaps. And it looks really good, and you can get history, you can create an entire tracking session,
Starting point is 00:51:23 you can display location history if you want, you can check history. You can create an entire tracking session. You can display location history if you want. You can check distances and points. You can display session statistics. And, of course, you can also make it public if you want. It'll generate a public page that I could make available, which is kind of neat. So we wouldn't necessarily have to use the proprietary tracking service. We could use this. That is a great application. So we wouldn't necessarily have to use the proprietary tracking service. We could use this.
Starting point is 00:51:45 That is a great application. I tried it out. I loaded an app on the old iPhone and said allow background tracking. And sure enough, it's accurate. It's very accurate. And I was able to then share the link with the team. It could be useful too, though, right?
Starting point is 00:52:01 Like if you're trying to coordinate or maybe we're all going to the same meetup or event and keeping track of one another. I actually think it'd be a great way, like for a meetup, to like, you know, tweet out, here, this is where we're at. Especially if we were at some sort of large event where you're moving around. Oh, right. Or if I'm on the road. Like that's where I actually, the main reason I've used the Rover tracker so far is because people watch where I'm going and they send me emails.
Starting point is 00:52:24 And they're like, hey, man, if you're in my town, stop by and say hi. Let's go get dinner or something, you know? And so that's really neat because people can kind of anticipate where I'm going to go next if they're looking at the map and stuff. Right. You don't have to, I'll be in this in two hours. Yeah, right. Now it's just on NextCloud.
Starting point is 00:52:38 Just on NextCloud. I think the thing that we have now is something like it's close to 90 bucks a month for the service. It's meant for like fleets that have have trucks that they want to track and stuff. It's not really meant for- You know the industrial grades. It's not meant for a podcaster in his RV. Cheesy, you threw in a news app.
Starting point is 00:52:57 Oh, it looks like a feed reader app. Yeah, and that's exactly what it is. So I've previously been using an instance of fresh RSS, it is. So I've previously been using an instance of fresh RSS, basically just to have my own little RSS newsreader that I can log into and pull down feeds from. I just switched over a couple of days ago to using the news app that's in Nextcloud and it's super solid, really good. It's a lot quicker than fresh RSS was as far as updating the feeds. It will give you kind of like a little notification if you're on that tab, letting you know that, that, you know, it's been updated. It's a really solid, solid newsreader.
Starting point is 00:53:37 I'll tell you where they could improve it if they made it. So it was a group RSS shared set of feeds. So we could have like a one feed dashboard that we could go into and it'd be, that would be great. Like the way it is now is each user has their own app data. Right. And then another thing I would recommend
Starting point is 00:53:54 that an app that you install, and maybe one of the first is the app order app, which will allow you to reshuffle the icons along the top header. So you can place those wherever you want. You can do that as like an admit from an admin level. So, you know, you can choose what to show all of the users, which icons to show them, which ones not to show them.
Starting point is 00:54:18 You can reorder them and or you can just set it up so that the user basically has the ability to reorder and and, you know, show and hide whichever icons that they want to see. So it's a really nice little feature that I'd like to see built in. Another one is right-click. At first, whenever I installed NextCloud and I got it going and I couldn't right-click and get that context menu, it kind of drove me crazy. So I would highly recommend that you also install the right click app. Right click is pretty much necessary in 2019. So I have a couple of recommendations as well.
Starting point is 00:54:55 One of them is a two-factor authentication for login. So that supports like Google Authenticator and Authy and all that kind of stuff. As I mentioned, I've got a lot of personal information in this one, so I wanted to make sure it was safe and secure. The other one is QoNotes. I don't know if you've used this desktop app. I think it's a Qt app that allows you to take notes, and it allows me to use NextCloud to sync my notes
Starting point is 00:55:20 like I used to use Evernote to do. I think it's text only, but I mean, that's good enough for most things. Supports Markdown. Yeah, it supports Markdown. And yeah, that's all I need. So QoNotes API is the name of the plugin for Nextcloud. Yeah, we should probably set that up. I love QoNotes. That's a good one. Drew, you got any pro Nextcloud tips? Yes. So you can actually use it as a full PIM suite, P-I-M, personal information management. It does have a mail client and a calendar, and you can even get your contacts in there if you want to set it up so that you have all of your stuff. Is it good though? It's okay. It's not great. It's not going
Starting point is 00:55:59 to be challenging, you know, Gmail and Google Calendar anytime soon. But as far as a simple implementation of each of those things, it's all right. If you're so really, if you're going the route of NextCloud, because you want the enhanced privacy aspect of self hosting it not having somebody controlling your stuff, and say you also have your own mail server, this is a good way to have a web-based interface to your various services like mail, contacts, calendars that isn't being snooped on. So using it that way, you can get a little more off the grid, as it were. I have one more pro tip, if I may, and that is something called Rclone. Now, Rclone allows you to mount a directory using Fuse on your Linux system
Starting point is 00:56:55 and then use Google Drive or any other kind of, quote-unquote, limitless backend. So if you wanted to host Nextcloud on a droplet, for example, it's only got 20, 30 gig of disk. Without paying for digital ocean spaces or something, you could use your preexisting Google Drive account and it's all encrypted. Our clone handles the encryption and it's completely transparent to Nextcloud using Fuse.
Starting point is 00:57:17 So that's another top tip. Nice. Well, my early, my newbie tip then would be take a look at the desktop client's selective sync options. And I'm very happy to report that I feel like they've given really good data on the sync process. In fact, much better data than Dropbox gives. Really? Yeah, I'm really happy with the desktop sync information.
Starting point is 00:57:36 You were skeptical of sync. Very happy. And for us, because we have archival information, we have large productions that some people just aren't even involved with, its selective sync is such a killer feature. And I'm very happy to report that it seems to be working quite well. So my early tips are to play around in the settings of the Nextcloud client and take a look at that. I'm excited to switch to this already.
Starting point is 00:58:00 Yeah. I've moved, like, three or four folders out of Dropbox already. That's, like, how far I've gone. And then I feel like after the company event, we're going to just do the big switch. Another quick tip related to that for any GNOME users out there, GNOME Online Accounts does support NextCloud, so you can add it. And it shows up as a file system in your files app, Nautilus, on the left-hand side, where you can click into it and directly access all of your folders,
Starting point is 00:58:30 not even the ones that are just synced, and it just grabs everything over WebDev. Yeah, so you don't even have to, if you just need a couple of files, you don't need to bother with sync, which is probably a fair number of people on the team, really. Always on connection, et cetera. Yeah, oh, it's so great. Yeah, I really think that's pretty neat. We've been experimenting with all kinds of people on the team, really. Always on connection, et cetera. Oh, it's so great. Yeah, I really think that's pretty neat.
Starting point is 00:58:46 We've been experimenting with all kinds of different ways, too, to make sure that, like, I have a couple of automation, I don't want to go into a lot of details, but I have a couple of automation things that kick off when certain things enter folders right now in Dropbox. And Wes and I yesterday were experimenting with replicating that in NextCloud with the extra layer of challenge that you then have to, like, mount that path to where that is in NextCloud into the Docker container. Like, there was, like, a little extra layer of work we had to do there to kind of figure that out.
Starting point is 00:59:16 So there's some instances like that we're still sorting a couple of things out. But I think for us, the other area we're going to use this out of, and I don't even know how you do this yet, is there's that feature where you can request somebody sends you a file. And we're going to use that for production purposes. When we record, we can then send a guest a link, say, hey, please upload what you just recorded to us here. Give me those bytes. And otherwise, we were actually just, we were discussing building that. I guess we'll just build this ourselves for free, because that'd be great. And then we look at the next cloud and go, oh yeah, that's just a feature built in.
Starting point is 00:59:47 It's pretty nice. Hey Chris, I don't know if you remember, but for our Portland trip, I sent you a link like that and you gave me all your photos. Yeah, all the photos. That's incredible. It was awesome.
Starting point is 00:59:55 It was the first time I'd used it. It worked really well for us. I was going to ask you, have you been finding success there? Do you sync a lot of photos? What's like that? Kind of like a lot of little files, big files. What's the Brent breakdown? Yeah, what's the Brent experience?
Starting point is 01:00:08 Yeah, so I've been recently moving towards NextCloud for syncing photos to clients as like a method of delivery because almost everything I produce in my photography stuff is digital as you might imagine. So I've
Starting point is 01:00:24 been testing that a little bit, and it's been working really, really well for clients. I've gotten no bad feedback, and it has mostly the features I need, not all, but mostly. And it's worked great. I haven't had anybody complain about it. I think after the last week, Cheese and I were talking about raw support for giving previews of raw photos. That's something he ran into as a problem, but I don't ever serve raw photos sort of to a public place. It was fine for me, but it's been super solid. I've been running it for a year now and also moved all of my contact and calendar syncing from the phone to the computer. Wow. You must be feeling good about it.
Starting point is 01:01:06 Oh, yeah. That I've been doing for a few months now. And I was testing it alongside the Google services just because I think as you learned last time, you tried NextCloud, you should sort of test it for a while. And sometimes you run into some strange bugs. But it's been really really solid and i've been loving it uh that all of my syncing of almost everything is in the same place uh so one login and i get files i get calendars i get contacts i get you know notes i get all that stuff so i would encourage you to consider that as well it's been really powerful and i've helped a bunch of people move to that and they've loved it that does sound appealing especially because he and i right now
Starting point is 01:01:49 are like trying to sort out like what's the best way for us to share that kind of information yeah next cloud dude definitely is uh brent there is a camera raw plugin that you can install which i have used successfully for a while yeah it requires an eye magic plugin that has been deemed some people said it wasn't so secure. So I would love to get your take on that at some point. But that's for that reason I considered not going for it. I didn't know that. I just installed it. Honey badger. I didn't care. Ironic. What's your next cloud address again? Yeah, let's give that out on the air. Yeah, let's do that. Can we talk about business applications for just a moment?
Starting point is 01:02:25 Please do, sir. So there are a couple other cool things that you can do with it. There is the ability to white label where you can put in your own logos, your own color themes and all of that. Cheers! JB Cloud. That's right. Yeah, I want to do that. I definitely want us to do that. There are some other neat features in the app store, like a DICOM viewer for people working in HIPAA sites that actually works.
Starting point is 01:03:07 had to deal with DICOM files, but essentially they're files that are typically somewhat encrypted and you end up shipping them on a CD from one hospital to another. And then they've got this included viewer that only runs on windows and some of them only run on windows XP. Like for x-ray images and whatnot. Yeah, I think I have. It's been a long time. So, you know, for HIPAA, where you are trying to self-host all the things as much as possible, NextCloud is a really good option. Okay, so now, Brent, you brought it up, federation. I got to ask how federation is going to fit into our future setup. Because I envision, and I want to get your feedback on this, all of you.
Starting point is 01:03:45 set up because I envision, and I want to get your feedback on this, all of you, I envision our on-premises NextCloud box being like a source of authority for all of the data, like terabytes of data on this thing. But then it seems like the more frequent access data, the less historical stuff should be available up on a droplet or something that's fast and available for everyone. And I'm wondering if that's where Federation plays into this or how Federation plays into this. And if maybe down the road I could have a setup where some data is on some Nextcloud servers and the rest of it's on another,
Starting point is 01:04:16 like how that could work or, you know, do you get where I'm going? Like is there some sort of future where I could have some sort of glorious on-premises cloud hybrid Nextcloud setup? I think the future is here, Chris. Is it? Are you, have you played with Federation? So I have two servers because I basically wanted to play with Federation, but for a few other reasons.
Starting point is 01:04:33 So I have two servers that I am running with a few different users on each individual server. And so that way I can have a certain URL when I share files to clients, for instance. And then another sort of internal URL, if you will, that contains almost all of my sort of internal files. And I have, so you can see it another way, which is I have one for business and one for personal. Oh, that's a good idea. It's been really nice because I can have certain content in one place and I can share it to myself from one server to the other. And I've been really impressed with the federation. It isn't instant when you do a share, but it's pretty darn close. And so I would say if you're if you've got that sort of decentralized notion in your mind of where you want to go, I'd say go ahead and try it.
Starting point is 01:05:26 It's been super solid and really easy to share files. They have sort of a nomenclature that's easy to understand for sharing files between different servers from user to user. And I say go full steam ahead. Couldn't be easier to test that kind of thing in Docker, though. You just spin up another container and test it out. That's true. And we have a system up on digital ocean that we kind of use for those very kinds of
Starting point is 01:05:50 purposes so we could definitely try it and i you know i think i could i could also see myself setting up a personal next next one i was thinking the same probably on do like i don't need as nearly as much storage as if i separated my personal stuff from all the JB stuff, I probably need like a couple of gigs at most, because it's mostly documents and backgrounds that I like. It's all the boring stuff, yeah. Don't forget that high-res photo sync, though. That does eat up a lot of space.
Starting point is 01:06:15 It does, yeah. But I'm going to be sending those to the JB one, because my intention there is to just turn that on while I'm at events and then turn it off after. Because otherwise, I've got built-in platform solutions for syncing the photos and backing them up. But I guess I feel like one of the things that has made me feel like this is the time to go with Nextcloud, besides just the project getting more mature and Nextcloud getting, or I mean, Dropbox getting crappier, is the setup that we now have,
Starting point is 01:06:47 where we have at multiple layers what I feel like are solid sketch hatches. If the container goes bonkers, we can go back, or we can switch to a different container. It's isolated from the config and the data. The data is not the application. The two things are not at all intertwined and they're completely safe to separate and move independently. And then the operating system also,
Starting point is 01:07:12 as we have now proven, can be swapped out to anything that supports ZFS. And when we have gone from a free NAS install that was maybe one release behind or current and went to Fedora and we able to just successfully mount those CFS pools. That was lovely. And did we end up doing these command to bring it up to date? We've not upgraded the pool to the latest stuff. Yeah, we did look though.
Starting point is 01:07:37 There is an option to essentially upgrade the pool to the most current, but then there's no going back to FreeNAS if we do that. Does Alan know that you've dropped BSD? I haven't really said anything, no. I'm pretty confident that at this point, if for some reason we were like, oh, screw Fedora, it's so horrible for some reason, even though we've been running it on other systems on DO now for a while, I'm pretty confident we could put Ubuntu LTS on there,
Starting point is 01:08:03 spin those containers up and mount that ZFS pool, and we'd be back in business in an hour. And so at each, like, all these different levels, we're abstracted and we're safe. Like, there's, like, NextCloud can screw up, we're good. The ZFS pool can have problems, it doesn't mess, like, the OS. And at the same time, it's not making it like it's some horrible thing. In fact, it's easier to manage, if anything.
Starting point is 01:08:22 It is. It's way easier. It's great. Like, I'm giddy with how simple it is really once you've gotten the most basic Docker understanding Compose files are easy to read and the Docker command line is very simple or you can use
Starting point is 01:08:38 even on top of that you can use Cockpit and it has a front end a graphical front end and if you don't need to do anything fancy, it's fine. I'm so pleased you guys are doing this. It's been the way I've been running my servers now for two, three years or whatever, just 100% Docker containers
Starting point is 01:08:54 for everything I can get my hands on. It just makes life so, so easy. It's great. I guess I feel like, I don't know, a lot of times when you do something like this, you've got to compromise. You've got to give something up when you go with the free solution that's self-hosted but this time it's like I'm gaining a bunch of stuff and I'm going to be saving money and I also got privacy that like I didn't have before like so I've gained like on every front like I think
Starting point is 01:09:23 the application is better the suite of tools is better, the platform it's on is better, and it's private. And, oh, by the way, it's under my own roof. And it's kind of fun. Yeah, and it's really fun, too. Because it's not a huge hassle. I just, oh! This is just, I love open
Starting point is 01:09:40 source. I love free software because this is, when it's at its best. It really is. So good. So I really encourage you to go out there and check it out. However you want to install it, it's worth the time to just play around with it a little bit and see if maybe it would work for you because I was resistant, legitimately.
Starting point is 01:09:56 Now I'm just really happy we gave it a go. And maybe some of our fine audience have some tips we should be hearing about how they have their next cloud instances set up. How do they tell us, Wes? LinuxUnplugged.com slash contact. Absolutely. Hey, by the way,
Starting point is 01:10:12 next week we're going to have a special on PCI pass-through for virtualization. And our general VM setups, how we do them, and maybe some of Wes's tricks for running operating systems. We decided to just make one authoritative episode that we can refer people to. So it's going to be our comprehensive setup on how we do virtualization. I have been all in on PCI
Starting point is 01:10:35 pass-through and eGPUs, and so has Drew. And I just, I feel like we need one definitive spot. And so while we are traveling, we thought, let's go ahead and release a special. So that's, we're going to do a PCI pass-through special next week. So make sure you grab that. Should be really good. All right, Mr. Payne. Well, I'm so excited I could talk about NextCloud for another hour, but we should probably get to these picks because they're crazy good.
Starting point is 01:11:00 And one of them is rather relevant to us that you found. And I love the way they talk about this project. So it's called Lexicon. And here's how it describes itself. Manipulate DNS records on various DNS providers in a standardized way. It's just, what does that mean, Wes? Well, okay, I think Lexicon is actually a great name, right? Because we're dealing with names.
Starting point is 01:11:25 We have all these different terms. DNS helps you look things up. Unfortunately, different providers do things in different ways. Some have very nice APIs. Some have complicated APIs. Some have unofficial, undocumented APIs. All of that's been combined in Lexicon, which is a handy Python library
Starting point is 01:11:41 that has a great little command line. So it was built with Let's Encrypt in mind primarily, as well as being a general utility. So you can do stuff like do their DNS challenge, where you have to go add a specific thing to your DNS update. With Lexicon, you can do that programmatically. Yeah, and it supports a ton of providers. Route 53, Cloudflare.
Starting point is 01:12:04 Oh, yeah. Hover. Hover, Digitalflare. Oh, yeah. Hover. Hover, DigitalOcean, EasyDNS, GoDaddy, obviously, Google Cloud DNS. I mean, Linode, like, just essentially all of them. I'm looking. Yeah, Namecheap's on there. All of the ones I've ever used are on there, including ones I haven't. So regardless of, in theory, as long as it's on this list,
Starting point is 01:12:25 regardless of who your DNS provider is, it's the same set of command syntax to update DNS records, modify DNS records. Yeah, there's like a few little variances here and there as they're acquired by the platforms. And it's one pip package in Python, but a few of them have a few extra packages because they have extra dependencies maybe.
Starting point is 01:12:43 So look into the details for your specific provider. But in our case, we were doing some stuff with Hover. Really easy. You just had to go, you know, you could get your credentials, pass that in. They have a couple different options for how you do it. And then you can make queries and stuff. So I used it.
Starting point is 01:12:57 We needed a dynamic DNS updater. Now that we're using a whole bunch of stuff at the server, obviously, you know, here in the studio, we want to know where it is when we're on the road. That made it really easy. I just wrote a little bash script. You could go and query hover through Lexicon to find out what the current IP address is, and you can easily delete it or change it.
Starting point is 01:13:22 And does that just become like a script that gets cronned or? Yeah, I stuck it in a Docker container on the server here, and then it's just running all the time. Of course it is. All right, well, how about something you're not going to run in a Docker container this week? It's called a RanderR or a Rander. I realized that I never really followed up on how I solved this super obnoxious problem I had
Starting point is 01:13:41 where I had two vertical screens on the side and a horizontal screen in the middle. So I have three Asus 27-inch monitors, two of which are vertical, one of which is standard 16 or whatever it is. You know, you get what I'm saying. And I have this really obnoxious problem that has plagued me across all the different desktop environments. And I eventually just decided I had to come up with a solution. I thought the desktop environments would solve it. I thought maybe switching to an AMD GPU from an NVIDIA
Starting point is 01:14:09 GPU might solve it. A dramatic switch, by the way. It did not solve it. In fact, now it just manifests in different weirder ways. So I had to make a script. And a render, or a render, or whatever you... A render? Yeah. You know, it's essentially a front end to Xrandr,
Starting point is 01:14:26 which is a way to script the layout of your screen, windows, et cetera. And the nice thing about this is it just looks like a regular display manager window where you arrange your monitors like you would in a multi-monitor setup, and then you hit save, and it generates the script for you. I put that into a desktop launcher. That's in my menu bar. As soon as I wake up, my screens, if they're screwed up, I click that within a second.. That's in my menu bar. As soon as I wake up my screens, if they're screwed up,
Starting point is 01:14:46 I click that within a second. Everything's laid out perfectly. You know, it's funny. I discovered this a few years ago when I was still running Unity. And then I had three screens on an NVIDIA GPU over, like they were just
Starting point is 01:14:56 PlayPort daisy chained. And it was just the worst. I had to do fighting with the built-in desktop environment display manager. It just wasn't as good. Plus, as you say, like you can easily add it to startup scripts or just restore scripts.
Starting point is 01:15:09 Yeah, didn't you just use it recently here in the studio? Oh yeah, it's on the Reaper machine now because I wasn't happy with how XFCE was doing it. Yeah, we have like a stand-up, the jack system, patch everything in because we have so many things. And so Wes created a script to standardize it, and part of that is you just run this so that way every time the monitors,
Starting point is 01:15:26 you just know they're always laid out correctly. Yeah, it's so nice because you can run this once and then it solves the problem for you forever. And I don't know if you've ever experienced some of the ones, I think in the GNOME heritage in particular, where the screens just don't move
Starting point is 01:15:40 where you tell them. Yes. It doesn't happen, right? It's just, it's the perfect amount of simplicity. It's not flashy. It gets the job done.
Starting point is 01:15:49 I will have a link in the show notes. I encourage all of you, at least as long as we're still running X, that was one of the stories that did not make it in, but I want to talk about soon,
Starting point is 01:15:57 is we now kind of have a end of day date for X. Maybe we'll try to cover that next episode because that's kind of a big deal too. Maybe we should spend some time switched wholly over to Wayland. See how,
Starting point is 01:16:08 you know, evaluate. We really should, especially since we've got the ThinkPads with the full Intel setup. Yes. We really could. I have done it a little bit. The issue is,
Starting point is 01:16:15 is once I switched back to XFCE, I basically kissed that goodbye. But, you know, it's not bad to check in on GNOME or KDE. I think I need to. Yeah. And we could do that.
Starting point is 01:16:25 We could definitely do that. Well, I want to say thank you, everyone, for listening. We really appreciate you listening to these shows, sharing them with your friends, sending in feedback, or even if you've just been a longtime silent listener who's never said anything, we're thinking about you, and we appreciate you. We do this for you.
Starting point is 01:16:39 That's the whole reason, right? Yeah. We very much appreciate your time and choosing to listen to us, so thank you very much. We will not be live next week because I'll be traveling back. I'll be doing a road trip back from Texas. So we'll have the pre-recorded PCI pass-through episode, but we'll be back after that, the next Tuesday, the following Tuesday. We do it at 2 p.m. Pacific time, but you can go to jupiterbroadcasting.com slash calendar. I'm Matt Chris Elias, the network's at Jupiter Signal. Thanks for being here. See youitles.com. let's go boat.
Starting point is 01:17:49 I'll tell you where I use A-Rander, and that's when I'm switching between two virtual machines with PCI pass-through. I can use that script on a hotkey to rearrange my monitors to have just one as Windows 10 or just one as Linux. That's a nice way to do it. Hockey is a good way to go, too. I should hockey it. I don't know why I don't.
Starting point is 01:18:10 I should. I really should just hockey that. Control F10 is now Windows 10, so it just makes sense. That way when you try out Wayland again, you'll have to figure out how to make that work. You're really on this. It's the future, Chris. I use Xclip and Aranda.
Starting point is 01:18:26 I'm heavily all in on X. Yeah, I know. I know when I was reading this post about sort of like the plans for wrapping up Xorg, I was thinking to myself, I don't know if I'm ready. I don't know if I'm ready. But, you know. You're going to be installing the weird 32-bit Xorg snap, and that'll be your system. I'll have X whale in 32-bit. No, but like seriously, though, you joke, but like we were talking about with weird 32-bit XOR snap, and that'll be your system. I'll have X whale in 32-bit.
Starting point is 01:18:46 No, but seriously, though, you joke, but like we were talking about with the 32-bit stuff, at some point, you do have to make a transition, and like it or not, we're running an engineer's workstation operating system here. We're not really running macOS for end users, right? And so sometimes the stuff's a little bit of a pill to swallow, but that's sort of the agreement, I think,
Starting point is 01:19:07 when you run desktop Linux, like it or not. Maybe I'm wrong, but it sure seems to be the case. See, the upside, if we do some playing around there, that's a good excuse to play with Pipewire again, too. Yes, yes, yes. I like the way you're thinking, Wes Payne. We're going to have to make that happen. What are you thinking?
Starting point is 01:19:24 Are you thinking like Fedora? Yeah, that's what I was thinking. How'd you know? Oh, I know.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.