Git Product home page Git Product logo

dietpi-docs's People

Contributors

alexiri avatar anulo2 avatar bop11 avatar clach04 avatar couldbethis avatar dependabot[bot] avatar essys avatar foxy82 avatar fpetru avatar goldfix avatar hello-jason avatar imgbot[bot] avatar imgbotapp avatar jappehallunken avatar joulinar avatar ma651851384 avatar michaing avatar mixpc avatar mortenlj avatar penguin321 avatar ravenclaw900 avatar sheepy0125 avatar silverraindog avatar stephansts avatar t3dium avatar tduffinntu avatar technetium1 avatar thefrenchghosty avatar watskebart avatar zer0x00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dietpi-docs's Issues

Do spell check before link check

Is it possible to execute the spell check before the link check runs?
Due to the long runtime of the link check I would be able to correct markdown issues as well as spell check issues during the time consuming run of the link check.

Time sync on VirtualBox with Guest tools => VBoxService

With DietPi guest tools installed, VBoxService runs as time sync daemon to sync time with the host machine. In such case, systemd-timesyncd (which is invoked by DietPi's config option) wont start and hence should be disabled:
dietpi-config > Advanced Options > Time sync mode > Custom.

Documentation about all ways to transfer files from/to DietPi

RPi3b+, latest DietPi, fresh OS install.

If you mount a drive using dietpi-drive_manager as a menu choice, then the speed test benchmarks you can only do on samba mounts. On NFS mounts error message when attempting benchmarking is "(stand in) syntax error)" and it returns to a results screen without numbers.

I really appreciate the ability to mount drives so early in a new OS install, and the easy low key way it's done. My first thought when setting up my first Raspberry Pi was how could I use its various software to access files stored on my NAS, and I anticipated complex Linux command line and editing important system files - it was such a relief to have it done for you, and so easily, in DietPi.

Some places in DietPi documentation it is erronously stated that you need to install FTP/Samba/NFS file servers for certain functionality, such as providing media file locations for media center software. The server softwares are only needed if you need to access the RPi from something else. The client software, for accessing other stuff from the RPi, either comes preinstalled or is installed when mounting in drive_manager, I am not sure which.

Porting web development tools

Extend the current section, and turn it into "Web development".

This will include next sections:

  • web development stacks, including a more extended spec of SSL support (using Let's encrypt)
  • individual web servers
  • individual databases and data stores

For each stack user will have the option to install & use the default configuration, as well as install individual elements of the stack.

Possibility to open a specific page tab

Currently when accessing https://dietpi.com/docs/user-guide_installation/, the SBC install steps are shown, which is perfectly fine.

However, it would be nice it there was a way to have the UEFI or VirtualBox instructions opened, e.g. via #something or query string.

There are even individual page links for the separate tabs "Introducion" header, #introduction_1 and #introduction_2, but appending those to the URL does not switch the tab: https://dietpi.com/docs/user-guide_installation/#introduction_2

This is basically the downside of having the instructions merged into a single HTML page, but the much cleaner navigation and seamless switch between instructions was totally worth it, IMO ๐Ÿ˜ƒ.


Although the way to achieve is likely different, the same would be awesome for our download page: To have a single SBC description opened and scrolled to. This is the first thing I'll take care of, as I know the code and should be pretty easy by parsing page link or query string from URL in JavaScript. I'll then also add a possibility to have the SBC brand/type mixer showing a certain subset directly. Both are JavaScript functions which are initialised in a certain way with "All" and "Hidden" but can be simply initialised a different way.

Add chapter "Development" in "Software optimized"

Add an own chapter for programming languages.
The following programming languages shall be added:

  • Go (golang)
  • Java
  • Python3 / pip3 (moved from "Web Development")
  • .NET Core
  • Mono
  • Docker
  • node.js (-> Web Development)

Todo

  • Step 1: Add Substructure "Development & Programming"
  • Step 2: Move Python to there
  • Step 3: Move Docker to there

HowTo | Enable Airsonic Jukebox mode

Creating a bug report/issue

Required Information

  • DietPi version | cat /DietPi/dietpi/.version
    G_DIETPI_VERSION_CORE=6
    G_DIETPI_VERSION_SUB=25
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH='master'
    G_GITOWNER='MichaIng'

  • Distro version | echo $G_DISTRO_NAME or cat /etc/debian_version
    stretchcat /etc/debian_version

  • Kernel version | uname -a
    Linux SubsonicHome 4.19.42-v7+ MichaIng/DietPi#1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux

  • SBC device | echo $G_HW_MODEL_DESCRIPTION or (EG: RPi3)
    RPi 3 Model B+ (armv7l)

  • Power supply used | (EG: 5V 1A RAVpower)
    pi store brand - 5v 1amp

  • SDcard used | (EG: SanDisk ultra)
    Sandisk extreme

Additional Information (if applicable)

  • Software title | Subsonic
  • Was the software title installed freshly or updated/migrated? Installed in January
  • Can this issue be replicated on a fresh installation of DietPi? Yes
71e51554-7012-4383-b8d9-f9b91d180a1c
  • Bug report ID | sed -n 5p /DietPi/dietpi/.hw_model

Steps to reproduce

  1. ... Install and configure subsonic. No special setup. Audio and server work flawless once music shares are added and scanned. When playing music from an app like Play:sub and selecting jukebox mode, which should output sound on the pi3, there is no sound.
  2. ...

Expected behaviour

There should be sound output on the 3mm jack when I play the app in jukebox mode.
  • ...

Actual behaviour

No sound
  • ...

Extra details

sound works on the pi using aplay and testing a wave file. No issues. The jukebox mode is the only issue. I've also tested hifiberry dac and get the same results. System sound with aplay works but Subsonic won't output sound.

The issue seems related to Java sound settings. See the link below. Seems the java settings in the subsonic settings does not use the correct audio device. I would test further but I'm unable to get an accurate list of java audio devices in the format "NVidia [plughw:0,3]" for example. This seems to be at the root of the issue and I don't know if that is an issue that can be solved by the underlying os or if it's simply a Subsonic issue.
http://forum.subsonic.org/forum/viewtop ... java+sound

  • ...

Position of Let's Encrypt description

Let's Encrypt / CertBot shall be moved from Web Development chapter to System Security chapter.
In the System Security chapter there is also Fail2Ban located.

Let's Encrpyt move to "System Security" and reference it at further positions like "Web Development", "gitea", "nextcloud", etc.

  • Next step: Move and introduce Certbot to System Security.

Add SBC-specific hint about clearing the SPI bootloader

ADMIN EDIT

Some SBCs have an SPI flash to contain the bootloader, and if it is present, they won't use the bootloader of the root drive. This can cause a mismatch between the SPI flash bootloader and the boot configs and kernel from our image, so booting fails. We have zero chance to fix this our end, but users need to be aware of it and erase the SPI flash before the DietPi image can boot. I'm not sure how to do that externally, e.g. if there is no functional system present anymore, but doing it from a booted system is relatively easy with the script/command described below. Depending on the exact SBC there may be also ways to force it ignoring the SPI flash.

On RPi 4 it's btw the same, with its EEPROM bootloader which may cause issues when the OS is prepared to be booted differently.


Creating a bug report/issue
Required Information

DietPi version |
Distro version | Buster
Kernel version |
SBC device | ROCKPi4-ARMv8 4GB
Power supply used | 5V 3A
SDcard used | SanDisk ultra 64GB

Additional Information

I cant boot up after a fresh flash to the SD-card
I used Rufus, Win32DiskImager, and Etcher
I dont get a picture when i connect the device to a monitor via HDMI (not with an adapter)
I dont see the device in my router when its connected to my LAN
Steps to reproduce

Flash rockpi4-debian-stretch-desktop on SD-card. Boot up and apt-get update && apt-get upgrade
(i dont know if this is the problem:) Type "y" at the question:

"Step one: upgrade bootloader on SPI Flash
One boot device, SPI Flash, is found, would you like to upgrade bootloader on it?
The installation would cost about seven minutes."

shut down the device

take out SD
flash Dietpi from https://dietpi.com/ to Sd
put it back and nothing works
Expected behaviour

Dietpi should boot up and show up in my router or show something on my monitor
Actual behaviour

The green LED lights up constantly
no picture on monitor, not showing up in router.
Extra details

It worked a few days ago. Then i used rockpi4-debian-stretch-desktop with the SD-card booted up and upgradet the bootloader on SPI Flash. I reflashed Dietpi, nothing works now.

I still can Flash rockpi4-debian-stretch-desktop and it will boot up, but dietpi wont.


I finally did it after going all the wrong ways.

The easiest way is to delete the SPI-bootloader with the Debian you upgraded it with:

    1. boot debian (i used "rockpi4-debian-stretch-desktop-arm64-20190730_2022-gpt")

[not mandatory]

    1. sudo apt-get update
    1. sudo apt-get upgrade
    1. dont upgrade spi-bootloader, or do it, doesn't really matter

    1. cd /usr/local/sbin/
    1. sudo ./rockpi4b_erase_spi_flash.sh
    1. type YES

And now you can "burn" a DietPi.img to an SD as usual and boot it.

However, I cannot say how it behaves with other storage media and hard disk partitioning. I will have to try this in the future.

Porting docs from forum to DietPi-Docs - Procedure

I propose that we announce docu porting at this place in advance to the beginning of the work. I.e. here someone gets an overview who is working on which parts.

After the pull request is finished (reviewed, merged), the issue will be closed by the issue author to signal that his work is finished for now.

This behaves like a semaphore handling. :-)

@MichaIng, @fpetru: What do you think?

Describe Backup/Restore

Additional idea:

  • Add timeshift as an additional software title
  • Use also timeshift and have a directory converter for the backup/restore file structure

Additional options:

Further information:

Further ToDos

  • Describe command line options of dietpi-backup
  • Describe how to diagnose the backup result (e.g. logfile)
  • Describe the boot restore option via /boot/dietpi.txt -> UTO_SETUP_BACKUP_RESTORE=0

Goals:

  • Improve short description of backup/restore within the DietPi tools doc section
  • Add a howto page
  • Add it in the Blog

Correct/optimize link checker action

The link checker via peter-evans/link-checker throws a couple of errors which could be overcome by optimizing the file .github/workflows/actions.yml:

  • Exclude from link check via command line "-r <regex>"
  • Exclude file build/docs/release-notes.md and dietpi_docs_todo.md from getting link checked
    • possibly via any command line option (don't know how)
    • moving these two files from the directory build/docs (this would also help for the Markdown check)

See also section "Check links in html files", error output of one of the pull request action logs.

Add Pi-hole + Unbound documentation

Currently both docs are independent and Unbound docs are very minimal and do not really explain the idea behind it and why it is offered together with Pi-hole installs.

A third combined documentation could be added below them to explain, at best via nice picture, how DNS requests are usually done, which actors are involved and who can read them, how things change with Unbound and how with Unbound + DoT (DNS over TLS).

Additionally we need to add a tab to the Unbound documentation about how to enabled DoT, which again requires an upstream DNS provider but sends DNS requests encrypted so that a local ISP cannot read them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.