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-System | Quirks noticed by v158 image update #1270

Closed
6 of 12 tasks
k-plan opened this issue Dec 3, 2017 · 6 comments
Closed
6 of 12 tasks

DietPi-System | Quirks noticed by v158 image update #1270

k-plan opened this issue Dec 3, 2017 · 6 comments

Comments

@k-plan
Copy link
Contributor

k-plan commented Dec 3, 2017


General

  • - a typo in dietpi.txt
# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
#   0=Disabled | 1=auto (1GB-RAM = size) | 2+=manual

since v155 size is now set to "2048 - total memory"
so it have to be:

# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
#   0=Disabled | 1=auto (2GB-RAM = size) | 2+=manual

.

  • - missing feature in dietpi-drive_manager : exfat support
    easy it fix, if you want:
    apt-get install exfat-fuse exfat-utils
    (tested and work on updated images)

.

  • - update finalize:
  • automated delete of unwanted .xxxx files in /boot/dietpi/...
  • delete all unessential logfiles in /var/log/ ..., especially if you have tested different software and/or have change over to Logrotate and Rsyslog
  • delete all unessential files in /var/backup/ ...
  • delete all unwanted directory by image editing from other operation system like: .Trashes , .fseventsd , System Volume Information , etc.

.

  • - dphys-swapfile generation during inital installation process:
  • to speedup 2. boot process, I like to have only generated a fix dphys-swapfile of eg 100 MB (if we really need this?)
  • after printing initial setup dialog and after (or before) auto-update dietpi system files, you can create the dphys-swapfile size define in dietpi.txt eg auto (2GB-RAM = size)

Why? Because of generating such a large default dphys-swapfile during second bootup before dietpi has started is a really P.I.T.A. Particularly with slow SD cards and devices without a monitor option, so you don't know, what's really going on ...
Possilble that's user will break initial setup process because of the long periode of time without reaction during dphys-swapfile generation.
.....

......


Dependent on devices

  • - Patching 154 leave package which is no longer required: (OrangePi One, Odroide C1, PineA64, NanoPi Neo, RPi)
[Info] Patching 153 to 154
 
 The following packages will be REMOVED:
  pciutils*
apt-get upgrade

Reading state information... Done
Calculating upgrade... The following package was automatically installed and is no longer required:
  libpci3
Use 'apt-get autoremove' to remove it.

  • Fixed in updated images, but a patch will be helpfull

.

.

  • - can't change WiFi country code in dietpi-config
  • Odroid C1 => not working with USB: Ralink Technology, Corp. RT5370 Wireless Adapter
  • Odroid C1 => not working with USB: Edimax EW-7612UAn Realtek RTL8191SU
  • OrangePi One => not working with USB: Realtek Semiconductor Corp RTL8188EUS
  • NanoPi Neo => not working with USB:
    - ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    - ID 1737:0079 Linksys WUSB600N v2 Dual-Band Wireless-N Network Adapter [Ralink RT3572]
    - ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter
    - ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
    - ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
  • PineA64 => working with: Pine addon WiFi board

171203-0004

171203-0003

171203-0002

.

root@DietPi:~# cat /etc/apt/sources.list.d/armbian.list
deb http://apt.armbian.com jessie main jessie-utils jessie-desktop
  • Fixed in updated images

.
......

.......


Hints for special devices

oDroid C1:

  • dietpi.txt :
    cpu_governor=ondemand make no sense with Kernel 3.x, where is no such CPU governor
    171203-0001
    171203-0005
    change it in dietpi.txt by hand to cpu_governor=interactive before image building

.

oDroid C2:

  • - messages during (kernel) update:
grep: /etc/ssh/sshd_config: No such file or directory
/var/lib/dpkg/info/setup-odroid.postinst: line 5: /etc/ssh/sshd_config: No such file or directory
Failed to restart ssh.service: Unit ssh.service failed to load: No such file or directory.
patching file boot.ini
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 succeeded at 37 with fuzz 2 (offset -60 lines).
patching file boot.ini
Hunk #1 succeeded at 37 (offset -60 lines).
Hunk #2 succeeded at 70 (offset -60 lines).
patching file /boot/boot.ini
Hunk #1 succeeded at 87 (offset -60 lines).
patching file boot.ini
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 succeeded at 41 (offset -60 lines).
patching file boot.ini
Hunk #1 succeeded at 91 (offset -62 lines).
Hunk #2 succeeded at 122 (offset -62 lines).
Processing triggers for initramfs-tools (0.120+deb8u3) ...

So please better have a look into generated files during update:
boot.ini.C2.zip
But finalize write back your boot_c2.ini from master.

  • - removing setup-odroid (?)
    During first apt-get upgrade a new script setup-odroid was install:

171208-0001

Think, it is not needed and user can make with this any installation inconsistent.
Possible, it's as well included in other meveric based installations.

.

PineA64:

  • - dietpi-config => LED Control make no sense.
    It's only one red led on board and it can't be configured by dietpi-led_control.
    So it will be nice to remove this for PineA64 devices.

.

Raspberry Pi:

  • - dietpi-config => Advanced Options => Update firmware
    171210-0001
  • as long as if you want/will provide a custom kernel/firmware packet, I think, it's better to disable this option like it's done for other devices

.....

.....


@k-plan k-plan changed the title DietPi-System | Quirk noticed by image update DietPi-System | Quirks noticed by image update Dec 3, 2017
@Fourdee
Copy link
Collaborator

Fourdee commented Dec 3, 2017

Thanks @k-plan,

I'll take a look at this after v159. Wrapping up v159 + Stretch currently.

@Fourdee Fourdee added this to the v160 milestone Dec 3, 2017
@k-plan
Copy link
Contributor Author

k-plan commented Dec 3, 2017

@Fourdee

Okay.
If you willing to work on it, you can hack down the task list. 👍

@k-plan k-plan changed the title DietPi-System | Quirks noticed by image update DietPi-System | Quirks noticed by v158 image update Dec 3, 2017
@k-plan k-plan mentioned this issue Dec 8, 2017
4 tasks
@MichaIng
Copy link
Owner

@k-plan @Fourdee
Started to go through the steps, as this goes often hand in hand with preparation script automation. Need some time with my wife now, will go on tomorrow.
https://github.com/Fourdee/DietPi/pull/1312

@Fourdee
Copy link
Collaborator

Fourdee commented Dec 19, 2017

Started to go through the steps, as this goes often hand in hand with preparation script automation.

@MichaIng

Great work, legend 👍

Need some time with my wife now

Yep, same here, gotta keep the wife happy 😉 😉

Fourdee referenced this issue Jan 2, 2018
+ General | Swapfile generation is now completed during 1st run of
dietpi-software:
https://github.com/Fourdee/DietPi/issues/1270#issue-278797206
@Fourdee
Copy link
Collaborator

Fourdee commented Jan 2, 2018

@k-plan

dphys-swapfile generation during inital installation process:

👍 Moved: Fourdee@40c2a2f

@Fourdee Fourdee modified the milestones: v6.0, v6.1 Jan 28, 2018
@Fourdee Fourdee mentioned this issue Jan 28, 2018
Fourdee referenced this issue Jan 28, 2018
**v6.0** (previously v160)
(28/01/18)

**Important Information:**
**All DietPi images have been re-created. Existing installations (v159 or lower), can no longer be updated, or supported. To continue support, users must install the latest v6.0 image.**
 - https://github.com/Fourdee/DietPi/issues/1385
 - All images are now Debian Stretch (excluding Odroid's)
 - ARMbian based images are now mainline kernel 4.13+.
 - Native PC (EFI): is now an ISO, with clonezilla bundled. Simplifies installation via Rufus write: https://github.com/Fourdee/DietPi/issues/1171#issuecomment-336522021
 - If you are happy with your existing installation of v159 (or lower), you are not required to install the v6.0 image, however, we cannot continue to provide support for v159 (or lower) installations.

**Minor notes:**
The XMAS tree has now been taken down, stored away on github history for next year. Hope you all had a good one :D

**Changes / Improvements / Optimizations:**

General | DietPi RPi kernel, now reverted to stock RPi kernel: https://github.com/Fourdee/DietPi/issues/1378

General | We have completed much needed backbone work for DietPi, which will allow for improved expansion in source code. This includes the use of dietpi-globals.

DietPi-Globals | New script which optimizes most used DietPi commands and vars, throughout our scripts. Also exported to bash session, please type 'G_' then press 'TAB' to see a full list of options: https://github.com/Fourdee/DietPi/issues/1311

General | FHS compliance completed. /etc/dietpi has moved to /var/lib/dietpi. RAMlog store has moved to /var/tmp/dietpi: https://github.com/Fourdee/DietPi/issues/1297#issuecomment-352241193

General | We have refreshed our terminal messages look & feel, oriented on RPi boot messages, and with process animation: https://github.com/Fourdee/DietPi/pull/1377

General | wget: Now set to prefer IPv4 by default (generally faster, can be changed by 'CONFIG_PREFER_IPVERSION' in dietpi.txt): https://github.com/Fourdee/DietPi/issues/1285#issuecomment-353230187

General | APT: Now set to force IPv4 by default (generally faster, can be changed by 'CONFIG_PREFER_IPVERSION' in dietpi.txt): https://github.com/Fourdee/DietPi/issues/1285#issuecomment-353230187

General | SparkySBC: CPU gov default changed to Performance, reports of increased stability.

General | Swapfile generation is now completed during 1st run of dietpi-software (previously boot stage): https://github.com/Fourdee/DietPi/issues/1270#issue-278797206

General | DietPi-Funtime: Removed from DietPi. Although it looked pretty, it did absolutely nothing (except slow down a program)

DietPi-Automation | All dietpi.txt entries have been renamed and cleaned up.

DietPi-Automation | dietpi.txt: CONFIG_NTP_MODE will now be applied during 1st run of device: https://github.com/Fourdee/DietPi/issues/1379

DietPi-Boot | Improved the method of initial FS_partition and FS_expansion during 1st run, via systemD services. 'fs_force_resize=' in dietpi.txt is no longer supported: https://github.com/Fourdee/DietPi/issues/1285#issuecomment-352159930

DietPi-Banner | IP: Will now also list the active network adapter used (eg: eth0/wlan0)

DietPi-Config | Dion Audio LOCO V1/V2: Soundcards added for RPi.

DietPi-Config | Locale: en_GB.UTF-8 is now automatically installed, alongside user selected choice. Required for DietPi scripts to function.

DietPi-Drive_Manager | Added support for exFAT, many thanks @MichaIng : https://github.com/Fourdee/DietPi/pull/1312

DietPi-Globals | Global variables and functions are now exported during login. Please see the sourcecode for more information: https://github.com/Fourdee/DietPi/issues/1311

DietPi-Set_Hardware | Sparky SBC: enable aotg.aotg1_speed compatibility setting for USB 1.1, when USB-DAC configured: https://github.com/Fourdee/DietPi/issues/1301

DietPi-Set_Software | "pool" directive is now used for NTPD: https://github.com/Fourdee/DietPi/pull/1404

DietPi-Software | NAA Daemon: Updated to latest (3.5.2-36). Existing installs will be patched automatically: https://github.com/Fourdee/DietPi/issues/1305

DietPi-Software | PHP-FPM: Increased from "$CPU_CORES_TOTAL" to "pm.max_children = $(( $CPU_CORES_TOTAL * 3 ))". This should avoid failed forking of PHP-FPM processes/requests : https://github.com/Fourdee/DietPi/issues/1298

DietPi-Software | ownCloud/Nextcloud: Added option to choose data directory via dietpi.txt pre installation: https://github.com/Fourdee/DietPi/issues/1314#issuecomment-352782055

DietPi-Software | ownCloud/Nextcloud: Switch to pretty URLs (without "index.php") on Apache

DietPi-Software | ownCloud/Nextcloud: Automated backup restoring on install and creation und uninstall to ownCloud/Nextcloud data directory

DietPi-Software | ownCloud: Switch to non-package/archive installation. This allows usage of preferred web based updater.

DietPi-Software | Nextcloud: Resolved OPcache admin panel warnings now also on Lighttpd

DietPi-Software | UrBackup: Installation updated to latest version 2.1.20. For new installations only: https://github.com/Fourdee/DietPi/issues/1335

DietPi-Software | NodeRed: Corrected user which nodered runs under, now runs as its own user, created during install: https://github.com/Fourdee/DietPi/issues/1294#issuecomment-354314318

DietPi-Software | SqueezeBox/LMS (Stretch): Installation resolved: https://github.com/Fourdee/DietPi/issues/1124

DietPi-Software | MySQL: Completely remove MySQL from DietPi in favour of MariaDB: https://github.com/Fourdee/DietPi/issues/1397

DietPi-Software | Ampache: MySQL DB and configs have been updated (adds correct userdata folder for music by default): https://github.com/Fourdee/DietPi/issues/1420

run_ntpd | Added support for systemd-timesyncd completion/detection: https://github.com/Fourdee/DietPi/issues/1379

**Bug Fixes:**

General | Fixed two systemd error messages during shutdown and boot: https://github.com/Fourdee/DietPi/issues/1330

DietPi-Automation | Resolved an issue where AUTO_SETUP_TIMEZONE was not being applied correctly, thanks @k-plan: https://github.com/Fourdee/DietPi/issues/1285#issuecomment-356310496

DietPi-Automation | dietpi.txt: CONFIG_NTP_MIRROR will now be applied to systemd-timesyncd configuration: https://github.com/Fourdee/DietPi/issues/1379

DietPi-Config | Resolved an issue with WiFi Country code, failing to set on some devices: https://github.com/Fourdee/DietPi/issues/838

DietPi-Config | Resolved an issue where disabling IPv6 didn't have an effect on AMD64 devices: https://github.com/Fourdee/DietPi/issues/1343#issuecomment-359652751

DietPi-Services | dietpi-wifi-monitor: Is no longer controlled, to prevent WiFi drop during software installs/updates etc: https://github.com/Fourdee/DietPi/issues/1288#issuecomment-350653480

DietPi-Software | General: MySQL using software titles now have their own database user, instead of accessing as "root": https://github.com/Fourdee/DietPi/issues/1397#issuecomment-359655198

DietPi-Software | qBittorrent: Resolved an issue with inability to log into web interface: https://github.com/Fourdee/DietPi/issues/1366

DietPi-Software | Resolved an issue where our custom LD_LIBRARY_PATH would cause APT failures. LD_LIBRARY_PATH has now been reverted, apologies if this effected your system: https://github.com/Fourdee/DietPi/issues/1329

DietPi-Software | Resolved an issue where APT installations would fail if services were masked. All known 

DietPi software services, will be enabled/unmasked, before installation: https://github.com/Fourdee/DietPi/issues/1320

DietPi-Software | WiFi Hotspot (Stretch): Resolved an issue where hostapd would fail to run due to missing libssl1.0.0 lib, not available in repos: https://github.com/Fourdee/DietPi/issues/1299

DietPi-Software | Shairport-sync (Stretch): Resolved an issue where this would fail to install, due to pre-req URLS becomming invalid: https://github.com/Fourdee/DietPi/issues/1303

DietPi-Software | Plex Media Server: Resolved uninstall to include /var/lib/plexmediaserver in removal (which is not completed via apt purge).

DietPi-Software | MariaDB: Resolved an issue where MariaDB would fail to uninstall correctly: https://github.com/Fourdee/DietPi/pull/1280

DietPi-Software | Aira2 (Stretch): Resolved installation, now used APT installation: https://github.com/Fourdee/DietPi/issues/1310

DietPi-Software | Mosquitto: Resolved various issues with failed install, due to Mosq repo not being maintained (deb's missing from repo header list, requires non-stretch available packages). deb's are now hosted on dietpi.com: https://github.com/Fourdee/DietPi/issues/1306

DietPi-Software | ownCloud/Nextcloud: Fixed an installation issue on Jessie with MariaDB: https://github.com/Fourdee/DietPi/pull/1319

DietPi-Software | Google AIY: Updated install to gitbranch=voicekit. Many thanks to @mpember for the heads up: https://github.com/Fourdee/DietPi/issues/1065#issuecomment-354304388

DietPi-Software | OpenJDK: Replaces OracleJDK: https://github.com/Fourdee/DietPi/issues/1401

DietPi-Update | dietpi.txt is now checked for missing entries, and, will now be patched during the update: https://github.com/Fourdee/DietPi/issues/1292#issuecomment-350818969

Sparky SBC | Kernel updated, which resolves issues with HQPlayer playback: https://www.computeraudiophile.com/forums/topic/32132-allo-sparky-usbridge/?do=findComment&comment=753100

**Allo Web Interface v5:**

Sparky SBC: Matrix Audio X-SPDIF 2, native DSD is now added to kernel, many thanks @sudeep: sparkysbc/Linux#3
@Fourdee Fourdee modified the milestones: v6.1, v6.2 Jan 29, 2018
@Fourdee Fourdee removed this from the v6.2 milestone Feb 18, 2018
@Fourdee
Copy link
Collaborator

Fourdee commented Feb 22, 2018

I'll mark this as closed as it appears to apply to <v6.x. Please reopen if required.

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

3 participants