Skip to main content
Version: 1.28 (Current)

Audience: System/Security Administrators

Skill Prerequisites: System Administration and Maintenance

Installation Guide (on-prem)

This page will provide you with a complete technical walkthrough of the installation process for the self-hosted/on-prem version of Plant an App.

If you are using our SaaS offering, you do not need to go through this guide, as everything is hosted and preconfigured on our portal. You can skip directly to the subsequent "Plant an App User Guide" page.

System Requirements​

General Requirements​

RequirementDescription
Internet accessRequired to initially download all product components and to retrieve product updates.
Access to our CDNNecessary to whitelist specific domains and enable TLS Ciphers. Details can be found in the Getting Started / IP Whitelist topic.

Software Requirements​

Required softwareVersion/Notes
Windows
  • Windows Server 2012 or higher (Windows Server 2022 or 2025 if installing in containers)
  • Windows 10
  • Windows 11
  • .NET Framework4.7.2 or higher
    PowerShellWindows PowerShell 5.1, to run the install script
    IIS Application Pool64-bit, with .NET CLR Version set to v4.0 and Enable 32-Bit Applications set to False. See Application pool and folder permissions.
    Site folder path50 characters or fewer is recommended, for example C:\inetpub\PlantAnApp\. Longer paths can make upgrades fail. See Site folder path length.
    SQL Server2014 or higher
    Note: in order to improve performance under higher loads, the use of Web Edition/Standard/Enterprise editions of SQL Server are recommended, as the Express edition is limited in terms of maximum resource usage.
    note

    We always recommend using the latest available software versions - Windows Server 2022, SQL Server 2019, .NET Framework 4.8, etc.

    The Document Management System on Linux New in 2​

    The Document Management System on Plant an App 2 also runs on Linux:

    Required softwareVersion/Notes
    LinuxUbuntu Server 22.04 LTS or 24.04 LTS
    .NET.NET 10 (LTS)
    SQL ServerSQL Server 2022 or 2025 on Linux, Standard or Enterprise edition

    See Long-Term Support › Operating Systems. For the installation package and the steps, see Other Setups.

    Minimum Hardware Requirements​

    Note these are minimum requirements that will allow you to run the Plant an App platform. The requirement thresholds are highly project-dependent and will thus vary.

    HardwareNotes/Details
    2CPU's *Or 2 vCPUs for VMs.
    * Take into account the note below.
    4GB RAM ** Take into account the note below.
    5GB storage spaceThis is the bare minimum space required to run the application; you should increase this value if the implementation creates files on disk and/or if the performance degrades at higher loads.

    Note: Best Practice for the Production Environment​

    When deploying on the production environment systems, we recommend the usage of two separate servers:

    • the first for storing the application files
    • the second for hosting the SQL Database Server

    This allows for better segregation and control of the physical resource usage. As such, we recommend using at least 2CPU's and 4GB RAM for each server.

    For several web servers and high availability, see Performance, Scalability and High Availability.

    Installation Procedure

    Plant an App is installed in one step, with the install script that Plant an App sends you: Install.ps1, with its settings file Install.json. You fill in the settings, run the script, and it does the rest:

    1. Checks that it runs as Administrator, and reads the settings.
    2. Downloads the Plant an App package for the version you chose.
    3. Unpacks it into the site folder.
    4. Adds the site's host name to the server's hosts file.
    5. Creates the IIS site and its application pool, and gives the application pool Full Control on the site folder.
    6. Creates the SQL Server database and the SQL login, with db_owner on the database.
    7. Writes the connection string to web.config.
    8. Turns HTTPS redirection on or off, as set.
    9. Runs the installation and creates the system administrator account.
    10. Opens Plant an App in the browser.

    To run Plant an App in containers instead, see Installation in Containers.

    Before You Start​

    The script installs Plant an App on one server, with SQL Server on the same server. For other setups, see Other Setups.

    • Administrator rights on the server.
    • Internet access from the server, to download the package (build.internal.plantanapp.com and the download link it returns).
    • SQL Server installed and running on the server. The Windows account that runs the script must be able to create databases and logins. If it can't, give the script a SQL login that can, in DbUser and DbPassword.
    • IIS with ASP.NET. On Windows Server, the script adds the Web Server (IIS) role if it's missing, but not the ASP.NET features. Install them first, as in IIS roles and features. On Windows 10 or 11, the script turns IIS on.

    IIS roles and features​

    Under “Web Server (IIS)”, make sure you install the following roles and features:

    iis-install.png

    • Web Server
      • Common HTTP Features:
        • Default Document
        • Directory Browsing
        • HTTP Errors
        • Static Content
      • Health and Diagnostics:
        • HTTP Logging
      • Performance:
        • Static Content Compression
      • Security:
        • Request Filtering
      • Application Development:
        • .NET Extensibility 3.5
        • .NET Extensibility 4.7
        • Application Initialization
        • ASP.NET 3.5
        • ASP.NET 4.7
        • ISAPI Extensions
        • ISAPI Filters
    • Management Tools
      • IIS Management Console (optional, if you want to access your IIS Plant an App site's management locally)

    For clarity, here is an overview of the required roles and features:

    iis-server-roles.png

    note

    For non-Server versions of Windows, please follow this guide. The FTP Server role is not mandatory to run Plant an App, but recommended.

    Step 1: Fill In the Settings​

    Put Install.ps1 and Install.json in the same folder on the server, for example C:\PlantAnAppSetup\, and open Install.json in a text editor. Lines starting with // are comments.

    SettingWhat to enterExample
    AppNameThe name of the application. It's also the name of the IIS site and application pool.PlantAnApp
    AppUrlThe address users open, with http:// or without a scheme. {{AppName}} is replaced with the name above.apps.example.local
    UseHTTPStrue to redirect users to HTTPS, false to allow HTTP. See HTTPS.true
    VersionThe Plant an App version to install.1.28
    DistributionWhich module builds to install: base (the builds released with the version), recommended (the recommended builds) or latest (the latest published builds).recommended
    PathThe site folder. It must be empty or not exist yet. Keep it short: see Site folder path length.C:/inetpub/PlantAnApp
    DbServerThe SQL Server instance on this server.(local) or localhost\SQLEXPRESS
    DbNameThe name of the new database. If it exists, it must be empty.PlantAnApp
    DbUserThe SQL login the application uses. It's created if it doesn't exist.PlantAnApp_user
    DbPasswordThe login's password. Leave it empty to generate one.(empty)
    SysUserName, SysUserEmailThe system administrator account of Plant an App.system, admin@example.com
    SysUserPasswordIts password. Leave it empty to generate one.(empty)
    PauseBeforeInstallLeave false.false

    Step 2: Run the Script​

    1. Open Windows PowerShell with Run as administrator.

    2. Go to the folder and run the script:

      cd C:\PlantAnAppSetup
      .\Install.ps1

      To use a settings file in another place, run .\Install.ps1 -ConfigPath C:\PlantAnAppSetup\Install.json. If PowerShell blocks the script, run Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process first, in the same window.

    3. The script shows each step as it runs, for example [6/12] Configure IIS (HTTP). The installation itself can take several minutes.

    When it's done, the script prints a summary and opens <AppUrl>/Configuration in the browser.

    caution

    If the script generated passwords, they appear in the summary, together with the database login. Save them in your password manager right away, then close the PowerShell window.

    Step 3: Activate Plant an App​

    On the activation screen, click Activate. You're redirected to https://console.plantanapp.com, where you choose your organization and subscription.

    paa-install-7.png

    HTTPS​

    The script creates an HTTP binding only.

    • With UseHTTPS set to true, users are redirected to HTTPS. Add an HTTPS binding with your certificate to the IIS site, or end HTTPS on a load balancer or reverse proxy in front of the server.
    • With UseHTTPS set to false, HTTPS redirection is turned off. Use this only for a test server.

    See also Data Security.

    Host Name​

    The script adds 127.0.0.1 <host name> to the server's hosts file, so the server can reach the site by its name. Users reach it through your DNS: add a DNS record for the host name that points to the server or the load balancer.

    Application pool and folder permissions​

    The script creates an application pool named after AppName, with .NET CLR Version v4.0 and Managed Pipeline Mode Integrated, and gives its identity Full Control on the site folder. Plant an App runs under this identity and writes to the site folder during installation, upgrades, extension installs and normal operation (for example web.config, App_Data and Portals). If the identity loses this access, upgrades can fail with access-denied errors.

    To check the settings, or to fix them on an existing site:

    1. Open IIS Manager and select Application Pools.

    2. Find the application pool used by your site (by default it has the same name as the site). You can check it by selecting the site and clicking Basic Settings....

    3. Make sure the Identity column shows ApplicationPoolIdentity. If it does not, select the pool, click Advanced Settings..., and set Process Model > Identity to ApplicationPoolIdentity.

    4. While in Advanced Settings..., confirm the following settings under (General):

      • .NET CLR Version is v4.0.
      • Enable 32-Bit Applications is False. Plant an App requires a 64-bit application pool and does not run in a 32-bit worker process.
      • Managed Pipeline Mode is Integrated.
    5. To grant Full Control on the site folder again, run this from an elevated Command Prompt or PowerShell console, with your folder and application pool name:

      icacls "C:\inetpub\PlantAnApp" /grant "IIS APPPOOL\PlantAnApp:(OI)(CI)F" /T

      (OI)(CI)F grants Full Control that is inherited by files and subfolders, and /T applies it to everything already in the folder.

    note

    The IIS user identity is separate from the SQL user. Plant an App connects to SQL Server with the SQL login in the connection string in web.config, not with the application pool identity.

    Site folder path length​

    Keep the site folder path short: 50 characters or fewer, for example C:\inetpub\PlantAnApp\. Before an upgrade replaces a file, it saves a backup copy under the site's Install\Temp folder, which adds a long chain of folders on top of the site path. If any backup path exceeds the Windows limit of 259 characters, the upgrade fails with "The system cannot find the path specified" and is rolled back.

    Hosting control panels such as Plesk often create long paths (C:\Inetpub\vhosts\<domain>\<subdomain>\). If your site is already in a long path and an upgrade fails this way, contact support.

    Other Setups​

    The script covers a single server with a local SQL Server. Contact Plant an App support for the installation package and the steps for:

    To add more site addresses after the installation, go to Settings > Site Settings > Site Behavior > Site Aliases.

    Installation in Containers​

    Plant an App can also run in Windows Server containers (Windows Server 2022 and 2025), with Docker or Kubernetes, on-premises or in the cloud. The database stays on SQL Server, outside the container.

    See Installation in Windows Containers (Docker and Kubernetes).

    Revised 11/16/2026