Skip to content

Commit

Permalink
Merge branch 'master' into PD-1556-Revise-App-Tutorial-Template
Browse files Browse the repository at this point in the history
  • Loading branch information
DjP-iX authored Dec 2, 2024
2 parents f6c63e8 + 9a3029b commit 6f821e8
Show file tree
Hide file tree
Showing 21 changed files with 268 additions and 156 deletions.
174 changes: 115 additions & 59 deletions content/SCALE/SCALETutorials/Shares/SMB/AddSMBHomeShare.md

Large diffs are not rendered by default.

107 changes: 61 additions & 46 deletions content/SCALE/SCALETutorials/Shares/SMB/_index.md

Large diffs are not rendered by default.

17 changes: 4 additions & 13 deletions content/SCALE/SCALEUIReference/Shares/SMBSharesScreens.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,7 @@ The **Basic Options** settings in this section also display in the **Advanced Op
#### Purpose Setting Options
This table details the options found on the **Purpose** dropdown list.

{{< truetable >}}
| Setting | Description |
|---------|-------------|
| **No presets** | Select to retain control over all **Advanced Options** settings. This option gives users the flexibility to manually configure SMB parameters. |
| **Default share parameters** | The default option when you open the **Add SMB** screen and to use for any basic SMB share. These settings provide a baseline configuration that ensures compatibility and functionality, and allow users to set up shares with commonly implemented options and behaviors. |
| **Basic time machine share** | Select to set up a basic time machine share. This provides a centralized location for users to store and manage system backups. |
| **Multi-User time machine** | Select to set up a multi-user time machine share. This option allows multiple users to use TrueNAS as a centralized backup solution while simultaneously ensuring that each backup users make are kept separate and secure from one another. |
| **Multi-Protocol (NFSv3/SMB) shares**| Select for multi-protocol (NFSv3/SMB) shares. Choosing this option allows NFS and SMB users to access TrueNAS at the same time. |
| **Private SMB Datasets and Shares** | Select to use private SMB datasets and shares. This setting enables users to personlize storage management and access control while maintaining data confidentiality. |
| **SMB WORM. Files become read-only via SMB after 5 minutes** | The **SMB WORM** preset only impacts writes over the SMB protocol. Before deploying this option in a production environment, determine whether the feature meets your requirements. Employing this option, ensures data written to the share cannot be modified or deleted, thus increasing overall data integrity and security. |
{{< /truetable >}}
{{< include file="/static/includes/SMBPurposePresets.md" >}}

### Advanced Options Settings
Click **Advanced Options** to display settings made available or locked based on the option selected in **Purpose**.
Expand Down Expand Up @@ -166,6 +156,7 @@ The **Other Options** settings include improving Apple software compatibility, Z
| **Enable SMB2/3 Durable Handles** | Select to allow using open file handles that can withstand short disconnections. Support for POSIX byte-range locks in Samba is also disabled. We do not recommend this option when configuring multi-protocol or local access to files. |
| **Enable FSRVP** | Select to enable support for the File Server Remote VSS Protocol ([FSVRP](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fsrvp/dae107ec-8198-4778-a950-faa7edad125b)). This protocol allows remote procedure call (RPC) clients to manage snapshots for a specific SMB share. The share path must be a dataset mount point. Snapshots have the prefix `fss-` followed by a snapshot creation timestamp. A snapshot must have this prefix for an RPC user to delete it. |
| **Path Suffix** | Appends a suffix to the share connection path. Use to provide individualized shares on a per-user, per-computer, or per-IP address basis. Suffixes can contain a macro. See the [smb.conf](https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html) manual page for a list of supported macros. The connect path must be preset before a client connects. |
| **Additional Parameters String** | Shows a string of parameters associated with the share preset selected, or if no preset, enter additional smb4.conf parameters not covered by the TrueNAS API. |
{{< /truetable >}}

#### Advanced Options Presets
Expand Down Expand Up @@ -220,7 +211,7 @@ These settings configure new ACL entries for the selected SMB share and apply th

## Edit Filesystem ACL Screen
The **Edit Filesystem ACL** option opens the **Edit ACL** screen for the dataset the share uses.
See [**Edit ACL Screen]({{< relref "EditACLScreens.md" >}}) more information on the settings found on this screen.
See [**Edit ACL Screen**]({{< relref "EditACLScreens.md" >}}) more information on the settings found on this screen.

{{< trueimage src="/images/SCALE/Shares/SMBACLEditor.png" alt="SMB ACL Editor" id="SMB ACL Editor" >}}

Expand All @@ -246,4 +237,4 @@ Click **Sharing** or **SBM** on the top breadcrumb to open the selected screen.

The breadcrumb displays when you access the SMB Status screen from the **System > Services SMB** row.

{{< include file="/static/includes/addcolumnorganizer.md" >}}
{{< include file="/static/includes/addcolumnorganizer.md" >}}
2 changes: 2 additions & 0 deletions content/TruenasApps/CommunityApps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Go to the **Discover** screen and click **Refresh Catalog**, to the right of the

For more information on adding to or changing the train for the apps catalog, see [Managing App Trains]({{< relref "UsingTrains.md" >}}).

{{< include file="/static/includes/apps/AppsBestPractices.md" >}}

Applications are provided "as-is" and can introduce system stability or security issues when installed.

Some applications deploy as the **root** user for initial configuration before changing to operate as a non-root user.
Expand Down
2 changes: 2 additions & 0 deletions content/TruenasApps/StableApps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ The tutorials in this section are for the commonly-used **stable** train catalog

For information on adding to or changing the train for the apps catalog, see [Managing App Trains]({{< relref "UsingTrains.md" >}}).

{{< include file="/static/includes/apps/AppsBestPractices.md" >}}

## Understanding App Install Wizard Settings

{{< include file="/static/includes/apps/AppsInstallWizardSettings.md" >}}
Expand Down
71 changes: 55 additions & 16 deletions content/TruenasApps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ Applications are provided "as-is" and can introduce system stability or security
Make sure the application is required for your specific use requirements and does not violate your security policies before installation.

You must choose a pool before you can install an application.
See [Advanced Guidance](#advanced-guidance) below for more information about apps pool selection.

{{< include file="/static/includes/apps/AppsBestPractices.md" >}}
As of 24.10, TrueNAS apps use Docker containers and Docker Compose for deployment.
Docker is an open-source software that manages images and container deployments.

The default system-level settings are found in **Apps > Settings**.

For more information on screens and screen functions, refer to the UI Reference article on [Apps Screens]({{< relref "SCALE/SCALEUIReference/Apps/_index.md" >}}).

Expand All @@ -71,12 +75,14 @@ For example, create the datasets for the Nextcloud app before installing the app

{{< trueimage src="/images/SCALE/SystemSettings/SystemSettingsGUISettingsSCALE.png" alt="General System Settings" id="General System Settings" >}}

See [Advanced Guidance](#advanced-guidance) below for more information about apps pool selection and datasets.

### Unsetting the Apps Pool
To select a different pool for apps to use, click **Configuration > Unset Pool**. This turns off the apps service until you choose another pool for apps to use.

### Configuring Apps Settings

Click **Configuration > Settings** to open the **Settings** screen, which contains options for setting apps trains, configuring app networking, installing NVIDIA drivers (if compatible hardware is present), and allowing TrueNAS to monitor for Docker image updates.
Click **Configuration > Settings** to open the **Settings** screen, which contains options for setting app trains, configuring app networking, installing NVIDIA drivers (if compatible hardware is present), and allowing TrueNAS to monitor for Docker image updates.

{{< trueimage src="/images/SCALE/Apps/AppsSettingScreen.png" alt="Apps Settings Screen" id="Apps Settings Screen" >}}

Expand All @@ -101,15 +107,15 @@ Some applications deploy as the **root** user for initial configuration before o
Keep these general best practices in mind when using applications with TrueNAS.

#### Changing Apps Network Settings
Go to **Apps > Installed**, click **Configuration** and then on **Settings**.
Go to **Apps > Installed**, click **Configuration**, and select **Settings**.

To add an additional range of IP addresses, click **Add** to the right of **Address Pools**, then select a range from the dropdown list of options, and enter the desired value in **Size**.
To add another range of IP addresses, click **Add** to the right of **Address Pools**, then select a range from the dropdown list of options, and enter the desired value in **Size**.

**Base** shows the default IP address and subnet, and **Size** shows the network size of each docker network that is cut off from the base subnet.

{{< hint type="info" title="Apps Networking Troubleshooting Tip!" >}}
This setting replaces the Kubernetes Settings option for Bind Network in 24.04 and earlier.
Use to resolve issues where apps experiences issues where TrueNAS device is not reachable from some networks.
This setting replaces the **Kubernetes Settings** option for **Bind Network** in 24.04 and earlier.
Use to resolve issues where apps experience issues where TrueNAS device is not reachable from some networks.
Select the network option, or add additional options to resolve the network connection issues.
{{< /hint >}}

Expand Down Expand Up @@ -148,7 +154,7 @@ The default **latest** tag downloads the most recent image version.
When downloading a private image, enter user account credentials that allow access to the private registry.

## Installing an Application
The first time you go to **Apps**, a dialog prompts your to choose the pool apps use. You must set the app pool before you can install applications.
The first time you go to **Apps**, a dialog prompts you to choose the pool for apps to use. You must set the app pool before you can install applications.
Select the pool as described in the [**Choosing the Application Pool**](#choosing-the-application-pool).

The **Installed** applications screen displays **Check Available Apps** before you install the first application.
Expand All @@ -157,12 +163,17 @@ The **Installed** applications screen displays **Check Available Apps** before y

Click either **Check Available Apps** or **Discover Apps** to open the **[Discover](#using-the-discover-applications-screen)** screen.

Search for the application widget, then click on that widget to open the information screen for the app and to access the installation wizard.
Search for the application widget, then click on that widget to open the information screen for the app and access the installation wizard.

{{< include file="/static/includes/apps/AppsSMBErrorWarning.md" >}}

If an application requires specific datasets, configure them before launching the installation wizard.

### App Version Verses Version
The **Application Info** widget on the **Installed** applications screen shows the **App Version**, which is the main container version, and is provided for information purposes.
This **App Version** also shows on the upgrade dialog, and the application details screen just above the **Version**.
The **Version** information is the basis for app updates in TrueNAS, and is found on the app widget, and in the app Install wizard.

### Using an App Installation Wizard
After clicking on an app widget on the **Discover Apps** screen, the information screen for that app opens.
Click **Install** to open the installation wizard for the application.
Expand All @@ -172,7 +183,7 @@ Click **Install** to open the installation wizard for the application.
The installation wizard configuration sections vary by application, with some including more configuration areas than others.
Each application tutorial provides information on steps to take before launching an app installation wizard, but if a tutorial does not exist, click **Install** on the app information screen to open the wizard.
Review settings ahead of time to check for required settings and then exit the wizard to do the necessary steps before returning to install the application.
Click **Discover** on the breadcrumb at the top of the app wizard screen to exiting the without saving.
Click **Discover** on the breadcrumb at the top of the app wizard screen to exit without saving.

{{< hint type="info" title="Community Maintained Apps" >}}
Apps submitted and maintained by community members using the **Custom App** option might not include an installation wizard.
Expand All @@ -183,16 +194,16 @@ Refer to tutorials created and maintained by the community for more information

After clicking **Install** on an application wizard screen, the **Installed** applications screen opens showing the application in the **Deploying** state before
changing to **Running**.
Applications that crash show the **Crashed** status. Click **Stop** changes the status to **Stopping** before going to **Stopped**.
Applications that crash show the **Crashed** status. Clicking **Stop** changes the status to **Stopping** before going to **Stopped**.
Click **Start** to restart the application.

The screen defaults to selecting the first app row listed on the **Applications** table and showing the application widgets that first app.
To modify installed application settings, first click on the app row on the **Applications** table, then click **Edit** on the **Application Info** widget.
To modify installed application settings, first, click on the app row on the **Applications** table, then click **Edit** on the **Application Info** widget.

Refer to individual tutorials in the [Stable]({{< relref "/content/TruenasApps/StableApps/_index.md" >}}), [Community]({{< relref "/content/TruenasApps/CommunityApps/_index.md" >}}), or [Enterprise]({{< relref "/content/TruenasApps/EnterpriseApps/_index.md" >}}) sections of the Documentation Hub for more details on configuring application settings.

#### GPU Passthrough
Users with compatible hardware can passthrough a GPU device to an application for use in hardware acceleration.
Users with compatible hardware can pass through a GPU device to an application for use in hardware acceleration.

GPU devices can be available for the host operating system (OS) and applications or can be [isolated for use in a Virtual Machine (VM)]({{< relref "managegpuscale.md" >}}).
A single GPU cannot be shared between the OS/applications and a VM.
Expand All @@ -203,7 +214,7 @@ The GPU passthrough option shows in the **Resources Configuration** section of t

Click **Passthrough available (non-NVIDIA) GPUs** to have TrueNAS pass an AMD or Intel GPU to the application.

**Select MVIDIA GPU(s)** displays if an NVIDIA GPU is available, with [installed drivers](#installing-nvidia-drivers).
**Select NVIDIA GPU(s)** displays if an NVIDIA GPU is available, with [installed drivers](#installing-nvidia-drivers).
Click **Use this GPU** to pass that GPU to the application.

### Installing Custom Applications
Expand All @@ -214,7 +225,7 @@ See [Installing Custom Applications]({{< relref "UsingCustomApp.md" >}}) for mor
## Upgrading Apps
Apps with available upgrades show a yellow circle with an exclamation point on the right side of the **Applications** table row, and the **Installed** application screen banner displays an **Update** or an **Update All** button.
To upgrade an app, select the app row and click **Update** on the **Application Info** widget.
To upgrade multiple apps, either click the **Update All** button on the **Installed** applications banner, or select the checkbox to the left of the application row to show the **Bulk Actions** button.
To upgrade multiple apps, either click the **Update All** button on the **Installed** applications banner or select the checkbox to the left of the application row to show the **Bulk Actions** button.
Click **Bulk Actions** and select **Upgrade All** to upgrade the apps selected.
Upgrade options only show if TrueNAS detects an available update for installed applications.

Expand All @@ -236,6 +247,12 @@ Select **Remove ixVolumes** to delete hidden app storage from the Apps pool.

Click **Confirm** then **Continue** to delete the application.

## Stopping Apps
Apps on the **Installed** screen, showing either the **Deploying** or **Running** status, can be stopped using the stop button on the **Applications** table row for the app.

Apps stuck in a deploying state can result from various configuration problems.
To check the logs for information on deployment issues encountered, click **View Logs**on the **Workloads** widget for the app.

## Discover Screen Options
The **Discover** screen shows application widgets based on the trains selected on the **Train Settings** screen.

Expand All @@ -254,8 +271,8 @@ Use the **Discover** screen links to access other functions.
* **Manage Installed Apps** - Opens the **Installed** apps screen where you access the **Configuration** menu to manage general application settings.

### Refreshing the Apps Catalog
Click **Refresh Catalog** on the **Discover** screen to refresh the apps catalog.
Refresh the apps catalog after adding or editing the app trains on your system.
Click **Refresh Catalog** on the **Discover** screen to refresh the app catalog.
Refresh the app catalog after adding or editing the app trains on your system.

### Using the Discover Screen Filters
To change how app widgets show on the screen, click the down arrow to the right of **Filters**, and select the filter option to use.
Expand All @@ -272,6 +289,28 @@ To select multiple categories, click **Categories** again and select another cat
After installing an application, the **Installed** applications screen shows the app in the **Deploying** state.
The status changes to **Running** when the application is fully deployed and ready to use.

## Advanced Guidance

Below, you'll find additional details about TrueNAS apps administration, including best practices and in-depth insights.

### App Pool Selection

{{< include file="/static/includes/apps/AppsPool.md" >}}

### App Dataset Types

{{< include file="/static/includes/apps/AppsDatasets.md" >}}

### Custom Apps

{{< include file="/static/includes/apps/CustomAppIntro.md" >}}

{{< include file="/static/includes/apps/AppsCustomApp.md" >}}

### App Directory Services

{{< include file="/static/includes/apps/AppsDirectoryService.md" >}}

<div class="noprint">

## Apps Contents
Expand Down
1 change: 1 addition & 0 deletions static/api/core_rest_api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>TrueNAS REST API Documentation</title>
<link rel="stylesheet" href="//unpkg.com/[email protected]/swagger-ui.css" />
<script src="//unpkg.com/[email protected]/swagger-ui-bundle.js"></script>
<style>
Expand Down
1 change: 1 addition & 0 deletions static/api/scale_rest_api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>TrueNAS REST API Documentation</title>
<link rel="stylesheet" href="//unpkg.com/[email protected]/swagger-ui.css" />
<script src="//unpkg.com/[email protected]/swagger-ui-bundle.js"></script>
<style>
Expand Down
1 change: 1 addition & 0 deletions static/api/tc_rest_api.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>TrueCommand API Documentation</title>
<link rel="stylesheet" href="//unpkg.com/[email protected]/swagger-ui.css" />
<script src="//unpkg.com/[email protected]/swagger-ui-bundle.js"></script>
<style>
Expand Down
Binary file added static/images/SCALE/Shares/AddPrivateSMBShare.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/SCALE/Shares/AddSMBAdvancedOtherSettings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions static/includes/ChangeBuiltin-UserACL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ To change permissions for the **builtin_users** group, go to **Datasets**, selec
5. Select **Basic** in the **Permissions** area then select the level of access you want to assign in the **Permissions** field.
For more granular control, select **Advanced** then select on each permission option to include.

6. Click **Save Access Control List** to add the ACE item or save changes.
7.
6. Click **Save Access Control List** to add the ACE item or save changes.
Loading

0 comments on commit 6f821e8

Please sign in to comment.