Skip to content

Commit

Permalink
Release week 11 (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng authored Mar 19, 2022
2 parents 1f23a6c + b9f4efe commit 79e92ba
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Clone DietPi-Docs repository
id: clone
# https://github.com/actions/checkout/releases
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install latest Node.js for markdownlint-cli2
run: |
sudo npm i -g n
Expand All @@ -21,7 +21,7 @@ jobs:
id: python
if: always() && steps.clone.outcome == 'success'
# https://github.com/actions/setup-python/releases
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
# https://github.com/actions/python-versions/releases
python-version: '3.9.10'
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
- name: Run lychee to check README and HTML files
if: always() && steps.lychee.outcome == 'success'
# "429 Too Many Requests" on GitHub despite token
run: ./lychee -En --require-https --exclude '(^https://pydio.com|^https://twitter.com|wiringpi.com|fonts.gstatic.com|^[email protected]$|^[email protected]$|bridges.torproject.org|www.spigotmc.org|www.audiophonics.fr|help.realvnc.com)' -a 429 --github-token '${{ secrets.GITHUB_TOKEN }}' -b build README.md 'build/**/*.html'
run: ./lychee -En --require-https --exclude '^(https://pydio.com/|https://twitter.com/|http://wiringpi.com/|https://fonts.gstatic.com/|[email protected]$|[email protected]$|https://bridges.torproject.org/|https://www.spigotmc.org/|https://www.audiophonics.fr/|https://help.realvnc.com/|https://www.php.net/)' -a 429 --github-token '${{ secrets.GITHUB_TOKEN }}' -b build README.md 'build/**/*.html'
1 change: 1 addition & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ phpSysInfo
PID
PIA
Pi-hole
PiB
PiJuice
Pinebook
Pinterest
Expand Down
Binary file added docs/assets/images/dietpi-banner-reboot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/releases/v8_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ The March 5th 2022 release of DietPi v8.2 comes together with a new image for [*

- **General** :octicons-arrow-right-16: It is now checked in various scripts whether kernel modules for the loaded kernel are available, i.e. the directory `/lib/modules/<version>` which matches the kernel version reported by `uname -r`, so that additional kernel modules can be loaded ondemand. This is not the case after kernel upgrades, when the previous kernel was replaced or auto-removed and a reboot outstanding to load the new kernel. In this transient situation, several system tasks and software installs can fail if they rely on loading additional kernel modules, which includes installs of container and emulation platforms, but also more trivial command calls like `ip`.
- [**DietPi-Banner**](../../dietpi_tools/#dietpi-banner) :octicons-arrow-right-16: If no DietPi or APT package update is available, the banner now informs you about an outstanding reboot to finalise a kernel upgrade.

![DietPi banner reboot info](../assets/images/dietpi-banner-reboot.jpg){: width="440" height="108" loading="lazy"}

- [**DietPi-Drive_Manager**](../../dietpi_tools/#dietpi-drive-manager) :octicons-arrow-right-16: Users will now face an additional prompt if a reboot is outstanding to finalise a kernel upgrade, with the offer to perform the reboot now. The drive manager relies on this when mounting new filesystems which require kernel drivers, and to correctly detect whether the `autofs4` module is available or not.
- [**DietPi-Drive_Manager**](../../dietpi_tools/#dietpi-drive-manager) :octicons-arrow-right-16: Reserved blocks on ext4 filesystem are now shown and can be set in MiB rather than in percent. This makes it easier to apply a reasonable value, which usually does not depend on the filesystem size but may be a fixed value to assure that root can perform maintenance or cleanup tasks.
- [**DietPi-Update**](../../dietpi_tools/#dietpi-update) :octicons-arrow-right-16: Users will now face an additional prompt after the update if a reboot is outstanding to finalise a kernel upgrade, with the offer to perform the reboot now. The reboot is done automatically on first boot of the DietPi system.
Expand Down
65 changes: 32 additions & 33 deletions docs/software/cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,26 @@ Also Installs:

![ownCloud web interface screenshot](../assets/images/dietpi-software-cloud-owncloud.png){: width="400" height="218" loading="lazy"}

=== "Access to the web interface"
=== "Quick start"

- URL = `http://<your.IP>/owncloud`
- Username = `admin`
- Password = `<your global password>` (default: `dietpi`)
ownCloud is accessible via regular HTTP/HTTPS TCP ports **80**/**443** below the `/owncloud` path:

- URL: `http://<your.IP>/owncloud`
- Username: `admin` (or the one you set in `dietpi.txt`)
- Password: `<your global password>` (default: `dietpi`)

If you may want to configure your ownCloud from command line via `occ` command see the [ownCloud admin manual](https://doc.owncloud.org/server/10.5/admin_manual/configuration/server/occ_command.html).
=== "Configuration"

To simplify this configuration, DietPi has added a shortcut to the otherwise necessary `sudo -u www-data php /var/www/owncloud/occ`.
Just use inside your terminal:
You can configure ownCloud via CLI from command line. To simplify this, DietPi has added a shortcut to the otherwise necessary `sudo -u www-data php /var/www/owncloud/occ`.
Simply run `occ` from your console:

```sh
occ list
```

=== "Update ownCloud to the latest version"
More details about available commands can be found in the [ownCloud admin manual](https://doc.owncloud.com/server/next/admin_manual/configuration/server/occ_command.html#core-commands).

=== "Update"

1. Option: Use the web-based updater from within the ownCloud web UI settings.
2. Option: Use the updater script from console (recommended):
Expand All @@ -73,7 +77,7 @@ Also Installs:
1
```

3. Follow the official documentation for a manual upgrade process: <https://doc.owncloud.com/server/admin_manual/maintenance/manual_upgrade.html>
3. Follow the official documentation for a manual upgrade process: <https://doc.owncloud.com/server/next/admin_manual/maintenance/upgrading/manual_upgrade.html>

=== "FAQ"

Expand All @@ -85,9 +89,9 @@ Also Installs:

DietPi will automatically apply the max supported upload size to the PHP and ownCloud configs.

- 32-bit systems can handle 2 GB
- 64-bit systems can handle 8796 PB, yep, in petabyte
- `echo -e "$(( $(php -r 'print(PHP_INT_MAX);') / 1024 / 1024))MB"`
- 32-bit systems can handle 2 GiB
- 64-bit systems can handle 8796 PiB, yep, in petabyte
- `echo -e "$(( $(php -r 'print(PHP_INT_MAX);') / 1024 / 1024)) MiB"`

**Will my data be saved after deinstallation?**

Expand All @@ -96,12 +100,8 @@ Also Installs:

***

Website: <https://owncloud.com>
Official documentation: <https://doc.owncloud.org/server/admin_manual>

YouTube video tutorial: *How to Install DietPi OwnCloud on Raspberry Pi*.

<iframe src="https://www.youtube-nocookie.com/embed/-OatWtH1Z9c?rel=0" frameborder="0" allow="fullscreen" width="560" height="315" loading="lazy"></iframe>
Official website: <https://owncloud.com/>
Official documentation: <https://doc.owncloud.com/server/next/admin_manual/>

## Nextcloud

Expand All @@ -111,25 +111,23 @@ Nextcloud gives you access to all your files wherever you are. Store your docume

=== "Quick start"

Nextcloud is accessible via regular HTTP/HTTPS port **80**/**443** below the `/nextcloud` path:

- URL = `http://<your.IP>/nextcloud/`
- Username = `admin`
- Password = `<your global password>` (default: `dietpi`)
Nextcloud is accessible via regular HTTP/HTTPS ports **80**/**443** below the `/nextcloud` path:

To fast access the files, a dedicated USB hard drive is highly recommended.

=== "Advanced configuration"
- URL: `http://<your.IP>/nextcloud`
- Username: `admin` (or the one you set in `dietpi.txt`)
- Password: `<your global password>` (default: `dietpi`)

For an advanced setup you could further configure your Nextcloud setup from the command line - see the [Nextcloud Admin guide](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html).
=== "Configuration"

To simplify this configuration, DietPi has added a shortcut to the otherwise necessary `sudo -u www-data php /var/www/nextcloud/occ`.
Just use inside your terminal:
You can configure Nextcloud via CLI from command line. To simplify this, DietPi has added a shortcut to the otherwise necessary `sudo -u www-data php /var/www/nextcloud/occ`.
Simply run `ncc` from your console:

```sh
ncc list
```

More details about available commands can be found in the [Nextcloud admin manual](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html).

=== "Brute-force protection"

Nextcloud offers built-in brute force protection and additionally a plugin ***Brute-force settings***.
Expand Down Expand Up @@ -203,7 +201,7 @@ Nextcloud gives you access to all your files wherever you are. Store your docume
- <https://help.nextcloud.com/t/repeated-login-attempts-from-china/6510/11?u=michaing>
- <https://www.c-rieger.de/nextcloud-installationsanleitung/#c06>

=== "Update Nextcloud to the latest version"
=== "Update"

1. Option: Use the web-based updater from within the Nextcloud web UI settings.
2. Option: Use the updater script from console (recommended):
Expand All @@ -224,12 +222,13 @@ Nextcloud gives you access to all your files wherever you are. Store your docume

`/mnt/dietpi_userdata/nextcloud_data` (or `dietpi.txt` choice)

**Why am I limited to 2GB file size uploads?**
**Why am I limited to 2 GiB file size uploads?**

DietPi will automatically apply the max supported upload size to the PHP and Nextcloud configs.

- 32bit systems can handle 2 GB
- 64bit systems can handle 8796 PB (petabytes)
- 32-bit systems can handle 2 GiB
- 64-bit systems can handle 8796 PiB, yep, in petabyte
- `echo -e "$(( $(php -r 'print(PHP_INT_MAX);') / 1024 / 1024)) MiB"`

**Will my data be saved after deinstallation?**

Expand Down

0 comments on commit 79e92ba

Please sign in to comment.