Cms_pico v0.9.5


#1

App Store: https://apps.nextcloud.com/apps/cms_pico


This new app that implements Pico in your Nextcloud is now available on the App Store.
A secure way to provide a “stupidly simple, blazing fast, flat file CMS” to your users so they can create their own sites with a formatted address: https://cloud.example.net/sites/my_site/

Hand’s up to PhrozenByte from Pico for reviewing and improving the code !

Documentation is available there : https://github.com/nextcloud/cms_pico/wiki

A first version was already released last week, so a small Changelog:

Changelog

  • new template: empty.
  • replacing PicoNextcloud plugins to an extend of the Pico lib.
  • bugfixes.
  • code cleaning.

#2

Good effort @cult!


#3

hands up, baby hands up to

:raised_hand_with_fingers_splayed: :raised_hand_with_fingers_splayed: :raised_hand_with_fingers_splayed:


#4

Hello, can you explained, please, how use this theme https://github.com/BesrourMS/clean-blog for example with you cms-pico application ?
I can’t use this theme …

Thanks,


#5

Hi, I recently found cms_pico and I liked… except that since I have encryption enabled, I couldn’t get my page working

cms_pico does not support encrypted filesystem

Is there a solution to use it without disabling encryption? That would be great. Thank you.


#6

cms_pico needs to open files without owner’s key, but might work if you setup your encryption with a master key


#7

hi
Have you managed to do this? I also want to do it? if yes how did you add a theme


#8

Hello Ricardo_Santos,

I have follow this wiki: https://github.com/nextcloud/cms_pico/wiki/Admin-Settings#customizing
I have seen your issue Apache configuration difficulty #39
for apache i have just add this line to my site.conf in /etc/apache2/sites-available:

RewriteRule /sites/(.*) https://your.domaine/index.php/apps/cms_pico/pico/$1 [QSA,L]

And restart your apache service


PicoCMS Step by step Instructions for installation and configuration
#9

Hi @ludovicis

site.conf? I only have nextcloud.conf
or should I create a new file? I’m confused


#10

If you are on shared hosting or otherwise don’t want to modify the Apache configuration files, you need to follow the instructions related to the .htaccess file.


#11

@krischan thanks

where are the instructions for the htaccess file?

should i change .htaccess file in /var/www/nextcloud or the one in
/var/www/nextcloud/config

I think the instructions are not clear for those who are not experts in
apache


#12

Most likely the one in /var/www as the pico_cms sites should be reachable totally independent of nextcloud. But it depends a bit on your exact setting. Could also be /var/www/HTML/ or what ever your webroot is.

The instructions are on the admin setting page of the pico_cms plugin.


#13

I have not change the .htaccess file in /var/www/nextcloud
Ricardo_Santos you have not access to apache configuration file ?


#14

@Krischan I’ve changed the .htaccess but no luck, the site does not load!

I get this
"File not found
The specified document has not been found on the server.
You can click here to return to mysite"

@ludovicis

where is the file that you say i should change?

root@nextcloudpi:/etc/apache2# ls -lha

drwxr-xr-x 8 root root 4.0K Nov 29 11:47 .
drwxr-xr-x 105 root root 4.0K Nov 27 11:19 …
-rw-r–r-- 1 root root 7.3K Nov 12 10:18 apache2.conf this one?
drwxr-xr-x 2 root root 4.0K Nov 12 08:33 conf-available
drwxr-xr-x 2 root root 4.0K Nov 27 17:42 conf-enabled
-rw-r–r-- 1 root root 1.8K Sep 19 18:56 envvars
-rw-r–r-- 1 root root 31K Sep 19 18:56 magic
drwxr-xr-x 2 root root 12K Nov 12 10:18 mods-available
drwxr-xr-x 2 root root 4.0K Nov 12 10:18 mods-enabled
-rw-r–r-- 1 root root 320 Sep 19 18:56 ports.conf
drwxr-xr-x 2 root root 4.0K Nov 29 14:27 sites-available inside this?
drwxr-xr-x 2 root root 4.0K Nov 29 11:43 sites-enabled

Someone should do a step by step help to install the pico in the nextcloud server


#15

in my linux the directory is /etc/apache2/sites-available/


#16

@ludovicis

root@nextcloudpi:/etc/apache2/sites-available# ls -lha
total 28K
drwxr-xr-x 2 root root 4.0K Nov 29 15:20 .
drwxr-xr-x 8 root root 4.0K Nov 29 15:11 …
-rw-r–r-- 1 root root 224 Nov 29 11:48 000-default.conf
-rw-r–r-- 1 root root 6.2K Sep 19 18:56 default-ssl.conf
-rw-r–r-- 1 root root 979 Nov 28 19:50 ncp.conf
-rw-r–r-- 1 root root 646 Nov 29 15:20 nextcloud.conf

I have all these config files
Which one?


#17

I’ve added the lines in nextcloud.conf and it works now! At last…
I’ve used the MOD_REWRITE lines


#18

Hi

This is a nice addon, rewrite did noit work for me but proxying worked under Apache.

Btw .htaccess stuff is not clear I think they meant the .htaccess that sits at the root of the server. My NC is not installed at the root for instance, still I tried editing both .htaccess files under root and undernextcloud folder, both methods did not work.