Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi v6.0 | FAQ #1355

Closed
Fourdee opened this issue Dec 30, 2017 · 52 comments
Closed

DietPi v6.0 | FAQ #1355

Fourdee opened this issue Dec 30, 2017 · 52 comments

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Dec 30, 2017

DietPi v6.0

A new major core version of DietPi is our current release (previously v160).

When will it be released?

  • 🈯️ Released Jan 28th

Where can I download the latest v6.0 image?


What can we expect with v6.0?

All DietPi images will be re-done from scratch using our new PREP_SYSTEM_FOR_DIETPI.sh (https://github.com/Fourdee/DietPi/blob/testing/PREP_SYSTEM_FOR_DIETPI.sh) system

  • The new image prep system was co-created with @MichaIng, who has helped make this possible.
  • Image sizes will be reduced.
  • All images will be identical (package wise, minus any HW/ARCH/DISTRO specific changes)
  • All images will be upto date
  • All images are Debian Stretch (excluding Odroids)

More info: https://github.com/Fourdee/DietPi/issues/1385

Vastly improved error handling:

We don't like to see users experience issues with DietPi, however, they can happen. Sometimes its our fault, sometimes not, but either way we want to investigate:

Use of global variables and commands

The backbone of DietPi has received vast improvements to simplify and optimize the sourcecode.

  • Users will be able to benefit from a more stable system experience, that does not rely on duplicate code throughout DietPi scripts.
  • We've added global commands that start with G_, which can simplify many tedious Linux command processes https://github.com/Fourdee/DietPi/issues/1311#issuecomment-352999485, eg:
    -- G_AGI package, will install a package with minimal prompts, fuss and questions
    -- G_AGP package will remove and purge the data (purge deletes the data from disk freeing up space, the default apt method is to leave it in place)
    -- G_AGA will autoremove and purge data (purge deletes the data from disk freeing up space, the default apt method is to leave it in place)

Why will I not be able to update my existing installation of v159 (or lower)?

One of DietPi core features is the ability to update on demand. We love this feature, however, sometimes we simply need a full reset of existing installations to continue our support with the latest features and code.

  • The new version of DietPi will be available with the latest images.
  • Patching existing systems into the new version is not compatible with the revised DietPi sourcecode.
  • Due to the major update, we need to ensure all our users have the same experience. We have vastly improved our image creation process, and, it will ensure future patches are consistent against the baseline images.

Will my existing v159 (or lower) installation still work?

Yes, however, the system will not be able to update and we will not be able to provide support.

  • Please install the latest DietPi image to ensure future support and updates.

Reference in @MichaIng @k-plan. I hope you both agree this will allow us to completely reset DietPi baseline and focus on the future.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Dec 30, 2017

Notes:

  • 🈯️ Implement decimal based update system, without breaking existing int system on master branch. New branch ?
  • 🈯️ Patch_File will be reset
  • 🈯️ Cleanup/standardize dietpi.txt vars
  • Images will be created, prior to v6.0's release
  • Allo images will be re-created
  • Other features we can implement for the major release?
  • Why v6.0? Our current core version is 5.159: https://github.com/Fourdee/DietPi/blob/master/dietpi/server_version#L2

@MichaIng
Copy link
Owner

@Fourdee
Nice summary,
however do you think it is necessary to completely block update from v159? So far I didn't face major issues during update and as usual the some, appearing, can be handled.

However dropping Jessie support can be going hand in hand with this, as this anyway would need installing new image.. As I see on Odroid forum Meverics thread, the issue with Kodi on Odroid C2 is still present, so I guess we would need to pause offering this for C2 until Meveric made some progress there, to enable us moving on to Stretch.
But ah, I just see that there are many other devices still on Jessie. But I guess, as long as they base on default Debian ARM images, there should not occur major issues from our side?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Dec 31, 2017

@MichaIng

however do you think it is necessary to completely block update from v159? So far I didn't face major issues during update and as usual the some, appearing, can be handled.

Yes.
The main reason is to reset and standardize each image we offer, and ensure the user is running the same when installed.
We can then ensure patches are more stable, as the previous images (and the process we used to create them) have changed vastly since v120 > v159, with minimal standardization.

If you think, it is necessary/the benefit outweighs the work for existing users, then I will start to create a Nextcloud/ownCloud migration script, more less based on this:

Go for it 👍. Although, existing installations will still function, and the user can install v6.0 when they require.
Sometimes a fresh install and clean start is a good thing, even for NC/OC :)

But ah, I just see that there are many other devices still on Jessie. But I guess, as long as they base on default Debian ARM images, there should not occur major issues from our side?

We wont be dropping Jessie, due to Odroid GPU/kodi packages limited to that distro. Other Jessie images (ARMbian etc), we'll re-do with Stretch.

@MichaIng
Copy link
Owner

@Fourdee
Do we want to offer a last v160 update, where we just backport some urgent bugfixes, like the LD_LIBRARY_PATH error?

@Invictaz
Copy link

If someone can help me set up a Doozer or Travis build robot I can compile some software for DietPi that is now requested but not filled in.

Fourdee referenced this issue Jan 1, 2018
+ DietPi-Automation | All dietpi.txt entries have been renamed and
cleaned up: https://github.com/Fourdee/DietPi/issues/1355
@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 1, 2018

@MichaIng

Do we want to offer a last v160 update, where we just backport some urgent bugfixes, like the LD_LIBRARY_PATH error?

Personally, as we offer solutions on the git tickets for these issues, I don't really want to focus on fixes for v159, in a pre-v6.0 update.
Main reason being, we'd also need to dedicate time for testing and then supporting the release if we make any mistakes, or, other issues appear.

I'd prefer we simply focus on v6.0, give it all our attention and ensure its stable from the get go.

@WolfganP
Copy link

WolfganP commented Jan 1, 2018

Sounds like a good plan. As no auto update will be provided, I suggest creating an special document on how to migrate to the new version for those with custom setups (ie running an special backup command that doesn't port unnecessary features, and then restore on v160 forwards), to entice users not to remain on v159 just because the manual overload of migrating to the new platform.

@MichaIng
Copy link
Owner

MichaIng commented Jan 1, 2018

@WolfganP

to entice users not to remain on v159 just because the manual overload of migrating to the new platform.

This were also my concerns, but providing a full migration script, easily breaks the advantage of the reset and makes a lot or work, without anyone being sure if the outcome is what was expected on the individual machine.
As far as I can think of now, this would require migration scripts individually for each software we provide. I will provide one for Nextcloud+ownCloud, but I guess for other software(data+configs) it would need someone who has enough knowledge about the related software and is willing to coding.

@MichaIng MichaIng added the v6.0 label Jan 2, 2018
@MichaIng
Copy link
Owner

MichaIng commented Jan 2, 2018

@Fourdee
To hold the other growing v6.0 related threads at bay, I created the new v6.0 label, to indicate which issues are (or seem to be) related to v6.0 development.

Not to muddle up with v6.0 milestone, which indicates, what we want to solve with v6.0 (but is an issue from prior releases).

@Fourdee Fourdee mentioned this issue Jan 9, 2018
23 tasks
@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 14, 2018

Note:
@MichaIng @k-plan
v6.1 will be reserved solely for bug fixes, if required. To ensure we can patch any issues our users may experience with the vast changes in v6.0

@MichaIng
Copy link
Owner

@Fourdee @k-plan
ownCloud/Nextcloud migration script is ready for testing: https://github.com/Fourdee/DietPi/issues/1413
Automatic recovery on fresh ownCloud/Nextcloud installation will follow. Will review and test this again first.

@blogabe
Copy link

blogabe commented Jan 23, 2018

How's the timing looking for v6.0? Since dietpi-update won't automatically upgrade to 6.0, should we check the main dietpi.com for the release update?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 24, 2018

@blogabe

Due date (release date) for v6.0 is Sunday 28th Jan: https://github.com/Fourdee/DietPi/milestone/64

Should be fee-sable, minus any RL stuff that crops up in-between 😃

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 24, 2018

@MichaIng @k-plan
Surprising email arrived today, looks legit lmao 🤣

Your Best Linux Distributions Recognition Preview is now available.
As Published In: Makeuseof.com, November 2017.
To order Click Here to view your custom web page or enter https://www.showmark.com/products.php?pc=X6AB3EBH&utm_campaign=main&utm_medium=37&utm_source=srvd1&utm_content=sc in your browser.
Your Preview Code is: X6AB3EBH
The plaque is $164 plus S/H.

https://www.showmark.com/products.php?pc=X6AB3EBH&utm_campaign=main&utm_medium=37&utm_source=srvd1&utm_content=sc

@MichaIng
Copy link
Owner

Congratulations, you are allowed to buy something from us 😆.

@k-plan
Copy link
Contributor

k-plan commented Jan 24, 2018

@Fourdee

Surprising email arrived today, looks legit lmao 🤣

first I believe it is a joke.

Your Best Linux Distributions Recognition Preview is now available.
As Published In: Makeuseof.com, November 2017.

But:

The Best Linux Operating Systems
Christian Cawley November 24, 2017

6 Lightweight Operating Systems for Your Raspberry Pi
Christian Cawley November 29, 2017

© 2018 MakeUseOf. All Rights Reserved.

https://www.makeuseof.com/?s=Dietpi

The Best Linux Operating Systems

6 Lightweight Operating Systems for Your Raspberry Pi

@MichaIng
Copy link
Owner

MichaIng commented Jan 24, 2018

@k-plan
Nice, should have taken a closer look 🍾.

But the offer to buy some wall plaque there should still be taken as a joke 😄.

@tatoosh
Copy link

tatoosh commented Jan 28, 2018

Can i use G_AGI with installiert id to install Software without dietpi-software menu?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 29, 2018

@dee31797

You do not need to update if you are happy with your current installation, or, uncomfortable in moving forward with us on this new journey.
However, we cannot provide support the older v159 versions with latest code.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 29, 2018

Thoughts on recent events:

  • Charge for DietPi, granting the funds/staff to allow core version upgrade path expectations of the user, such as MS win 95 > 10
  • Never improve the backbone of DietPi code (even if its required to move the project forward. may result in Owncloud/Nextcloud situation), or, anything that would require core version upgrade.
  • Drop updates, provide new images only which require refresh install each time. Like most other projects.
  • Continue with user complaints of inability to update across core versions "minor inconvenience and somewhat under appreciation of free software", ignorant to the fact that software may require a reset every 2 years to bring the project forward, and, benefit the users in the long run.
  • Shutdown the project, put my free time into my own needs.
  • 🈯 Have a glass of your favorite beverage.

😠 long day, thinking aloud and venting.

@djaydev
Copy link

djaydev commented Jan 29, 2018

I am happy with the current install and I thank you and the Dietpi team @Fourdee. I didn't have to pay a dime for using this project which I think is worth much much more. I can't show my appreciation for that enough. However, running this OS as a server, I can't stay on the version that's being marked as obsolete. At the same time I can't start it over. I would be ignorant to think windows 95 can be migrated to windows 10 since the versions are decades apart, but as you know this update does not compare to that very extreme case at all.

@blogabe
Copy link

blogabe commented Jan 30, 2018

Whoa whoa whoa :) More than happy with DietPi and the all the work you guys have put in. No doubt. Was just looking for clarification since I received an already flashed DietPi install from Allo and only used the built in upgrade command. Re-flashing is new to me and I wasn't sure about the ramifications. Certainly I would have preferred a way to migrate certain services I enabled, but starting from fresh isn't the end of the world.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 30, 2018

@dee31797

Thanks for your feedback. We'll take it on-board.

@MichaIng
Copy link
Owner

MichaIng commented Jan 30, 2018

@ALL
Hehe, after reading first about the idea of dropping update support for this version, I didn't expect anything different, than many users complaining, or at least feeling left behind/stressed by the needed effort to reflash the DietPi image. I do myself 😉.

But yeah, indeed this step enabled us/massively simplified to do some deep improvements, rearrangements, file and software changes. To track and assure all these via incremental patching would have been a pain and could have easily break in some cases, if manual changes were done.

So I can feel with you guys, make the best of it, take the chance to do e.g. a Debian version jump, try some new software versions and feel happy afterwards with a clean fresh DietPi, whose further development benefits from this step.

@djaydev
Copy link

djaydev commented Jan 30, 2018

Hi @MichaIng
Sorry if I sounded complainy, I really was asking if there was an alternate way to upgrade. Run a lot of OS's and was a bit baffled. You mentioned "Debian version jump", the most recent example of that going from Jessie to Stretch its very easy to do an in-place upgrade. I couldn't image wiping my Debian server every two years it's just not done.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 30, 2018

the most recent example of that going from Jessie to Stretch its very easy to do an in-place upgrade.

Fresh install, yep.

How i see it, on any system with software installed, regardless of DietPi:

  • sshd old config needs a new one, yes or no? yes = cant login with root, no = service fails to run
  • Failed to upgrade Sysinit to SystemD, due to package X being a dep of package Y with package Z being downloaded from user added customrepo.com/ubuntu and having a version of 5.1 but requires 5.1.0.1. Broken.
  • segmentation fault, out of memory as you have manually disabled swapfile, PSU dropped to 3.5v for 100ms, SDcard gold contact on pin X is worn, conductivity loss write failure. Broken.
  • Owncloud APT upgrade, data loss due to mysql conversion failure during mysql Jessie installed with mariadb Stretch expected, during this upgrade. Next run of Owncloud will reset user data as sql db is reset after being incorrectly upgraded.

End result, fresh install and wasted user time on a hope that APT (and all its available packages) succeeds without requiring intervention, and, assuming user has made no changes to any conf file that could accelerate its failure.

So, in our own way, our v6.0 image and forced reset, prevents situations like the above.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Jan 30, 2018

@dee31797

Please do not take this post personally https://github.com/Fourdee/DietPi/issues/1355#issuecomment-361427742
Not in any way aimed at you, we've had a few complaints/feedback, all of which add up and caught me at the wrong time. A time in which I needed to vent in order to try and comprehend the situation.

Very unprofessional/unacceptable from my end and I apologise.

@djaydev
Copy link

djaydev commented Jan 30, 2018

No worries, we just started dating on the internet, don't know each other well enough to get personal ;) kidding

When I mentioned

the most recent example of that going from Jessie to Stretch its very easy to do an in-place upgrade

I was taking about Debian main (or however it's said). If you run straight Debian Jessie or any modern server really, you can update yesterday's version to today's version, like from Jessie to Stretch. Then from Stretch to whatever and so on. No love lost if dietpi is going in a different direction do whats best for the project I just wanted to ask about possible upgrade methods before I wiped this thing.

@borpin
Copy link

borpin commented Jan 30, 2018

$0.02 worth;

No upgrade path is disappointing, but sometimes necessary. It is the old adage of 'throw away a prototype'.

I have been swithering over rebuilding my systems; Stretch was one driver but this is the final one. I think DietPi is an excellent Distro and this change will, I think move it forward big time.

Anyone with a 'I can't rebuild my system' argument is, as you pointed out daft. Everyone has to rebuild at some point and often it is beneficial. Document what you do and then you can recreate it :)

Keep going and rubber ear the complainers. Emphasise that updating the underlying OS is still possible.

@djaydev
Copy link

djaydev commented Jan 30, 2018

Hi @borpin I don't agree with .02 worth, at least 10 times that! Kidding Dietpi has been a priceless OS for me.
Not rebuilding isn't silly, unless of course your goal is to rebuild, it's just a different perspective. Perspectives are created based on your background and environment. Is Dietpi's perspective wrong, of course not noone's is, just different. Me being an old enterprise geezer, you take good backups,
maintain up time, roll your OSs. I've done Win2008 to 2012 to 2016, or Ubuntu in a shorter duration but similar manner. I have done some rebuilds with virtual machines, keep the old one up while I move from to a new one, but for me that's usually a platform change like debian to centos. To wipe centos and then install centos, well I'll say it doesn't fit my perspective. But I do agree with your comment I can rebuild, and I have! I had to switch platforms since this rebuild made my backups kinda worthless, created a large amount of downtime and I'm still not 100% (main services are running that I can't live without). I love the os so much I'm going to keep it bookmark, and I'll probably still use it for one of my RPi zero Ws, now that I have a better understanding of the project perspective I know the proper use case going forward.

@borpin
Copy link

borpin commented Jan 30, 2018

Just one other thought - Just tried to update an install currently on v158 and it baulked. Does this mean that anyone on an older version cannot even update to the last version - v159?

I'd be inclined to have a v160 to remove the Christmas tree and update the banner message.

@k-plan
Copy link
Contributor

k-plan commented Jan 30, 2018

@borpin

🎄 - Remover:

http://dietpi.com/phpbb/viewtopic.php?f=9&t=2689#p10362

as script: XMAS_TREE_REMOVER_FOR_DIETPI.sh

wget https://github.com/Fourdee/DietPi/files/1678822/XMAS_TREE_REMOVER_FOR_DIETPI.zip -O dietpi-xtree-rem.zip
unzip -o dietpi-xtree-rem.zip
rm dietpi-xtree-rem.zip
chmod +x XMAS_TREE_REMOVER_FOR_DIETPI.sh
./XMAS_TREE_REMOVER_FOR_DIETPI.sh

Done!

or direct into terminal:

### DietPi XMAS tree remover ###
cp /DietPi/dietpi/dietpi-banner /DietPi/dietpi/dietpi-banner.XMAS-tree.bak
wget https://raw.githubusercontent.com/Fourdee/DietPi/521f611a69b9cc41ca7ac1f07ccc18182c5a4eb0/dietpi/dietpi-banner -O /DietPi/dietpi/dietpi-banner
chmod +x /DietPi/dietpi/dietpi-banner
clear
/DietPi/dietpi/login
echo -e '[\e[32m  OK  \e[0m] Store away XMAS tree and housekeeping.\n'

Done!

XMAS_TREE_REMOVER_FOR_DIETPI.zip

@k-plan
Copy link
Contributor

k-plan commented Jan 30, 2018

@borpin

Just tried to update an install currently on v158 ...

Hmm ... must be a RPi Jessie? Correct?

Do you want/need/search a Jessie DietPi image for RPi?
Something like: DietPi_v6.0_RPi-ARMv6-Jessie.img

Does this mean that anyone on an older version cannot even update to the last version - v159?

Correct.
v159 , the "former" master source tree is down on github.
v6.x is now master, so no update tree for old images available any more.

@borpin
Copy link

borpin commented Jan 31, 2018

@k-plan I think there should be an option for folk who do not want to migrate to V6 to at least be able to move to v159 - the last, and greatest, of that series! In this case, for me, I'm not going to move. The whole OS is on an HDD so rebuilding that is not an option at this time. It works fine as a data gatherer for my weather station (hence the HDD as there are frequent writes).

@Fourdee Fourdee mentioned this issue Feb 1, 2018
@blogabe
Copy link

blogabe commented Feb 1, 2018

@Fourdee Allo image is spot on and works. I had downloaded the generic RPi image from the download page, not the specific Allo Web GUI image. Reflashed and everything is as it should be. Letting you know here since I don't have an account at computer audiophile and I see that thread has many questions about the upgrade. Either way, for those of us using dietpi w/ Allo, reflashing and following the instructions at http://dietpi.com/phpbb/viewtopic.php?f=8&t=2317&p=8869#p8869 will work.

@MGWGIT
Copy link

MGWGIT commented Feb 17, 2018

Why in v.6 I didn't see a storage with configuration files such as dietpi.txt after flashing an image?
Windows suggest only to format this drive...

@k-plan
Copy link
Contributor

k-plan commented Feb 17, 2018

@MGWGIT

Why in v.6 I didn't see a storage with configuration files such as dietpi.txt after flashing an image?

Which image?

ARMbian based images, build using ARMbian build tools?

https://github.com/Fourdee/DietPi/issues/1385#issue-287129015

Please have a look here:

https://github.com/Fourdee/DietPi/issues/1465#issuecomment-362912009

https://github.com/Fourdee/DietPi/issues/1423#issue-291560616

https://github.com/Fourdee/DietPi/issues/1385#issuecomment-360261137

@MGWGIT
Copy link

MGWGIT commented Feb 17, 2018

@k-plan thanks, I think there are because Windows can't read EXT4...
I try to configure image for Orange pi zero.

@k-plan
Copy link
Contributor

k-plan commented Feb 17, 2018

thanks, I think there are because Windows can't read EXT4...

Yes, that's correct.
Read ext4 file systems form Windows is not such a big problem.
There are some free file system drivers.
But we don't see a practicable way to edit and save file on ext4 file systems direct from Windows.

@eunito
Copy link

eunito commented Feb 21, 2018

Means I have to reinstall all from "ground 0"?
So many things... :/

@mzeichner
Copy link

mzeichner commented Mar 11, 2018

Is there anyplace (link to) that I can find detailed instructions on how I can update an rpi3 running version 158 to 160?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests