Install Nextcloud 13.0.0 on Fedora 27
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
I'm REALLY close to having this fully scripted with interactivity on the script
What will be different or better about this method vs SaltStack method?
-
@fateknollogee said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
I'm REALLY close to having this fully scripted with interactivity on the script
What will be different or better about this method vs SaltStack method?
A script is a procedural approach and Salt is a state approach. Results upon completion are the same, but they are different methodologies and are used in different scenarios.
Scripting a build is better for learning and is used to make a repeatable, predictable start to a snowflake managed system.
A state system, like Salt or Ansible, is used to define the resulting state of a system rather than the means to make it so and is not nearly as useful for learning, but is part of ongoing operations rather than simply being the beginning of the process. A Salt state would be used to keep managing the system, not just a one time operation to prepare it.
-
Testing the script now....
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
-
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
What? How are bash scripts not for learning?
I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.
-
@tim_g said in Install Nextcloud 13.0.0 on Fedora 27:
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
What? How are bash scripts not for learning?
I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.
Did you look at his thread? there is no learning. it is "run this"
That is always how he writes them up.
There is zero wrong with that approach. It is in fact a better way to do it if you just want to tell someone go here and do this and it will work.
But that is not what I write my guide to do. My guides are guides that you perform everything step by step.
-
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@tim_g said in Install Nextcloud 13.0.0 on Fedora 27:
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
What? How are bash scripts not for learning?
I learn so much more going over scripts than I would any other way. The more efficient they are written, the more I learn.
Did you look at his thread? there is no learning. it is "run this"
That is always how he writes them up.
There is zero wrong with that approach. It is in fact a better way to do it if you just want to tell someone go here and do this and it will work.
But that is not what I write my guide to do. My guides are guides that you perform everything step by step.
Oh I see what you mean. I agree.
But...
I think Scott meant writing a script or reading a script is great for learning, I don't think he meant copy and pasting a line that is fully automated. -
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
Writing a script is more for learning than writing a state is. Because a state might work without any info or interaction from you.
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Scripting a build is better for learning
I've seen your scripts. they are totally not for learning a damned thing.
That is why I specifically never post instructions like this in a script form.
Writing a script is more for learning than writing a state is. Because a state might work without any info or interaction from you.
Okay, that makes more sense.
-
I have a Nextcloud instance running on Hyper-V using a 500GB dynamically expanding disk that is working perfectly. I can see that it's barely using any of the space. I followed these instructions for creating a Nextcloud instance on Fedora and when I use a dynamically expanding disk, for some reason, the install does not recognize it as a full 500GB disk so after uploading a few large test files, I'm out of space at around 10GB. The Nextcloud instance is on a Fedora 27 minimal install.
Any ideas where I may have gone wrong? I used this command to create the disk:
New-VHD -Path C:\MyVHDs\nextcloud.vhdx -SizeBytes 500GB -Dynamic -BlockSizeBytes 1MB
Does Fedora not play well with dynamically expanding disks? I could instead create a fixed disk but I'd like to avoid that if I can.
-
@nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:
I have a Nextcloud instance running on Hyper-V using a 500GB dynamically expanding disk that is working perfectly. I can see that it's barely using any of the space. I followed these instructions for creating a Nextcloud instance on Fedora and when I use a dynamically expanding disk, for some reason, the install does not recognize it as a full 500GB disk so after uploading a few large test files, I'm out of space at around 10GB. The Nextcloud instance is on a Fedora 27 minimal install.
Any ideas where I may have gone wrong? I used this command to create the disk:
New-VHD -Path C:\MyVHDs\nextcloud.vhdx -SizeBytes 500GB -Dynamic -BlockSizeBytes 1MB
Does Fedora not play well with dynamically expanding disks? I could instead create a fixed disk but I'd like to avoid that if I can.
Haven't tried that, but I would not expect it to like that.
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Haven't tried that, but I would not expect it to like that.
So you're suggesting I'd stick to fixed disk instead? Curious as to why Ubuntu seems ok with it but Fedora isn't.
-
@nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Haven't tried that, but I would not expect it to like that.
So you're suggesting I'd stick to fixed disk instead? Curious as to why Ubuntu seems ok with it but Fedora isn't.
Requires a hook. I'm sure that there is a way to do it.
-
@nashbrydges said in Install Nextcloud 13.0.0 on Fedora 27:
I have a Nextcloud instance running on Hyper-V using a 500GB dynamically expanding disk that is working perfectly. I can see that it's barely using any of the space. I followed these instructions for creating a Nextcloud instance on Fedora and when I use a dynamically expanding disk, for some reason, the install does not recognize it as a full 500GB disk so after uploading a few large test files, I'm out of space at around 10GB. The Nextcloud instance is on a Fedora 27 minimal install.
Any ideas where I may have gone wrong? I used this command to create the disk:
New-VHD -Path C:\MyVHDs\nextcloud.vhdx -SizeBytes 500GB -Dynamic -BlockSizeBytes 1MB
Does Fedora not play well with dynamically expanding disks? I could instead create a fixed disk but I'd like to avoid that if I can.
Last time I check, the default Fedora Server install will only partition enough for its need. But leave the rest untouched.
-
@black3dynamite said in Install Nextcloud 13.0.0 on Fedora 27:
Last time I check, the default Fedora Server install will only partition enough for its need. But leave the rest untouched.
Looks like you might be right. Cockpit only shows the root and boot mounts for a total of 16GB.
-
I used Cockpit to expand the root folder to the max allowable which recognized the 500GB disk. Now shows correctly:
Logged back into Nextcloud and I've now got access to the expanded storage. Sweet!
-
@nashbrydges I had the same issue on a Fedora install. I created a 3Tb dynamic disk and had to manually partition Fedora to get the full disk for /. This was Hyper-V 2016.
-
@brandon220 said in Install Nextcloud 13.0.0 on Fedora 27:
@nashbrydges I had the same issue on a Fedora install. I created a 3Tb dynamic disk and had to manually partition Fedora to get the full disk for /. This was Hyper-V 2016.
This is a normal Fedora tactic. I'll make a guide on this later or something.
-
@brandon220 Using Cockpit was ridiculously easy,
-
@jaredbusch Good to know. This was my first time using Fedora.