Coder Social home page Coder Social logo

cant backup about easybackupbundle HOT 3 CLOSED

mxgross avatar mxgross commented on August 26, 2024
cant backup

from easybackupbundle.

Comments (3)

mxgross avatar mxgross commented on August 26, 2024 1

Seems like you have no permission to create (touch command) the file /var/www/kimai2/var/easy_backup/easybackup.log
Try to create it manually and make sure your user running kimai has also write permission inside the /var/www/kimai2/var/easy_backup/ folder and subfolders

from easybackupbundle.

mxgross avatar mxgross commented on August 26, 2024

Hi which kimai2 version are you using?

Please try setting the permissions again

sudo chown -R :www-data .
sudo chmod -R g+r .
sudo chmod -R g+rw var/
sudo chmod -R g+rw public/avatars/

And then rebuild the cache:

cd /kimai/
bin/console cache:clear
bin/console cache:warmup
Sometimes the permissions must be set again
sudo chown -R :www-data .
sudo chmod -R g+r .
sudo chmod -R g+rw var/
sudo chmod -R g+rw public/avatars/

And check if there is anything in the EasyBackup Log and post it here if your problem is not solved with the steps above.
Thanks

from easybackupbundle.

forenade avatar forenade commented on August 26, 2024

1.15.3 i use
I have tryed that but do still not work 🙁
This is what kimai log say

[2021-10-15 09:03:22] security.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []
[2021-10-15 09:03:22] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Filesystem\Exception\IOException: "Failed to touch "/var/www/kimai2/var/easy_backup/easybackup.log"." at /var/www/kimai2/vendor/symfony/filesystem/Filesystem.php line 151 {"exception":"[object] (Symfony\Component\Filesystem\Exception\IOException(code: 0): Failed to touch "/var/www/kimai2/var/easy_backup/easybackup.log". at /var/www/kimai2/vendor/symfony/filesystem/Filesystem.php:151)"} []
[2021-10-15 09:03:22] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2021-10-15 09:03:22] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"secured_area","authenticator":"App\Security\TokenAuthenticator"} []
[2021-10-15 09:03:22] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"secured_area","authenticators":1} []
[2021-10-15 09:03:22] security.DEBUG: User was reloaded from a user provider. {"provider":"App\Security\KimaiUserProvider","username":"admin"} []
[2021-10-15 09:03:22] security.DEBUG: Read existing security token from the session. {"key":"_security_secured_area","token_class":"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken"} []
[2021-10-15 09:03:22] request.INFO: Matched route "create_backup". {"route":"create_backup","route_parameters":{"_route":"create_backup","_controller":"KimaiPlugin\EasyBackupBundle\Controller\EasyBackupController::createBackupAction","_locale":"sv"},"request_uri":"http://xxxxxxxx/sv/admin/easy-backup/create_backup","method":"GET"} []

from easybackupbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.