Skip to main content

How to install Pico CMS for Nextcloud?

Pico CMS for Nextcloud combines the power of Pico and Nextcloud to create simple, secure, shareable and amazingly powerful websites with just a few clicks. Pico is a stupidly simple, blazing fast, flat file CMS - making the web easy! You can find more infos about this app here: click here

This guide allows you to access your Pico CMS sites on a different Domain than your Nextcloud Domain. Here is how to do that:

Preparation

  1. Create a subdomain like blog.yourdomain.com or sites.yourdomain.com and edit the DNS settings for this subdomain to point to your Nextcloud Domain. (instructions)
    tip

    You can also use a completely different domain like thatsyourotherdomain.com

Installation

  1. Run over CLI:
    sudo bash /var/scripts/menu.sh
  2. Choose Additional Apps -> Pico CMS
  3. Choose to install/reinstall Pico CMS
  4. Most likely you will now see a popup that Nextcloud's default Text app is enabled which has incompatibility issues with Pico CMS. Confirm that you want to disable it. If you have the Issue Template or the Terms of Service app installed, you will also be asked to disable them which you should confirm as well.
  5. Wait until it reports that the base configuration of Pico CMS was successful
  6. Choose that you want to make your sites available on a different Domain
  7. Now enter the domain that you've created and pointed to your Nextcloud domain during the preparation section of this guide
  8. Don't use UPNP to open the ports for you
  9. You should now get asked if you want to make a specific site available when opening the chosen domain. I'd recommend to confirm that since otherwise accessing the domain directly will redirect to your Nextcloud domain which will kind of defend the purpose of using another domain for the Pico CMS sites.
  10. Now enter the sites Identifier e.g. blog or mysite
  11. Now wait until everything is installed and it reports that Pico CMS was successfully installed

What to do now?

You should now create at least one new Pico CMS site with the same Identifier that you've entered during step 10 of the installation section by opening https://yourdomain.com/settings/user/cms_pico with your Nextcloud user. Afterwards you can edit the site which consists of a few new files directly in your Nextcloud. All public Pico CMS sites of your Nextcloud instance should now be accessible by opening the chosen subdomain. E.g. when using blog as the sites identifier: https://subdomain.com/blog. The site that you've entered during step 10 of the installation section will be accessible by opening https://subdomain.com directly.

Otherwise, you can change some Pico CMS admin settings, e.g. restrict the app usage to some groups, etc. by opening: https://yourdomain.com/settings/admin/cms_pico