Installing Janitor

Hello everyone,

I try to install the janitor, in order to use the backup function.

This is what I did:

  1. Installed Composer locally
  2. Installed CLI locally
  3. Installed kirby3 janitor locally
  4. uploaded the kirby installation where I installed the above.
    I think it changed files in ‘kirby’, and created a folder in the root ‘vendors’.
  5. now I get a 500 error when I visit the front and backend.

What did I do wrong??

Thank you in advance!

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:

  1. Created a kirby installation folder
  2. Installed Composer locally
  3. Installed CLI locally in that folder
  4. Installed kirby3 janitor locally in that folder
  5. uploaded the kirby installation folder.
    I think it changed files in ‘kirby’, and created a folder in the root ‘vendors’.
  6. 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’

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?

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.