Go to rancher stack Add service eeacms/rsync (same settings as for other projects) Volumes – use the volume listed in storages: my_website_data:/data then $ ssh root@vv.vvv.vv.vv -p 22222 yes $ cd /data/
Tag: solutions
Disable LDAP (Plone 6)
Site Setup -> Management Interface (ZMI) -> acl_users -> pasldap -> Activate -> uncheck all -> Update
pdb – kill the current process
ctrl+\ kills the current process
Convert and resize png files – Ubuntu
Convert all jpegs to png: $ mogrify -format png *.jpeg Resize width 300 px for all pngs in this folder: $ mogrify -resize 300x *.png
Tests volto addon (in your local app)
In Makefile add: Then $ cd clms-frontend$ env ADDON=volto-clms-theme make test
Run jest tests for volto add-on
$ cd clms-frontend$ env RAZZLE_JEST_CONFIG=src/addons/volto-clms-theme/jest-addon.config.js yarn test src/addons/volto-clms-theme
Cypress tests for Plone 6 + Volto (local)
Example: https://github.com/eea/clms-frontend Make sure that Plone is running: http://localhost:8080/Make sure that Volto is running (or maybe just ignore this?!): The best way is: Solve system limits error: https://github.com/guard/listen/blob/master/README.md#the-technical-details
Yellow screen Ubuntu
Solution: https://youtu.be/Kt0IokNlPdE?si=Vqm-5XmmUXRxpbha
Zope, mc
Buildout error
Getting distribution for ‘ZODB3==3.10.5’.In file included from src/BTrees/_OOBTree.c:32:src/BTrees/BTreeModuleTemplate.c:15:10: fatal error: Python.h: No such file or directory15 | #include “Python.h”| ^~~~~~compilation terminated.error: Setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1An error occurred when trying to install /tmp/tmp6auBruget_dist/ZODB3-3.10.5.tar.gz. Look above this message for any errors that were output by easy_install.While:Installing.Getting section zeo.Initializing section…