Hello everyone,
I try to install the janitor, in order to use the backup function.
Kirby 3 Plugin for running commands like cleaning the cache from within the Panel, PHP code, CLI or a cronjob - GitHub - bnomei/kirby3-janitor: Kirby 3 Plugin for running commands like cleaning the...
This is what I did:
Installed Composer locally
Installed CLI locally
Installed kirby3 janitor locally
uploaded the kirby installation where I installed the above.
I think it changed files in ‘kirby’, and created a folder in the root ‘vendors’.
now I get a 500 error when I visit the front and backend.
What did I do wrong??
Thank you in advance!
texnixe
September 28, 2023, 2:01pm
2
johannesverwoerd:
What did I do wrong??
Somehow looks like a wrong order of things. You would have to install the plugin inside your kirby project, not vice versa.
Sorry!
Yes, thats what I did. I have a local folder where I have the kirby installation.
I revised the steps. This is it:
Created a kirby installation folder
Installed Composer locally
Installed CLI locally in that folder
Installed kirby3 janitor locally in that folder
uploaded the kirby installation folder.
I think it changed files in ‘kirby’, and created a folder in the root ‘vendors’.
now I get a 500 error when I visit the front and backend.
I installed the starterkit. The site does work now. However when I use the plugin:
I get the error: ‘Class “Bnomei\BackupZipJob” not found’
texnixe
September 29, 2023, 7:49am
5
Well, it says it needs Janitor as a dependency, so both plugins need to be installed.
I think I have it installed.
When I push the testbutton I get this error:
And when I try to acces ‘backups’ in the topleft hamburger, I get this error:
Some of the other buttons work. I get it 50% working but I don’t understand about the errors.
Any ideas?
texnixe
September 29, 2023, 10:42am
7
Given that the backups plugin hasn’t been updated for two years, but Janitor is under constant development, my guess is that the backups plugin needs an older version of Janitor, I’d test with the last 2.x release, not 3.x
Or just use Janitor to create your backups, without the backups plugin.