Coder Social home page Coder Social logo

Comments (5)

mxgross avatar mxgross commented on August 26, 2024

Can you please try to update the permissions once 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 again

cd var/www/kimai2/
bin/console cache:clear

Maybe the user group is not www-data in your case and you have to change it.
Often I have to run the commands again to get access to the kimai2 frontend afterwards:

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

I was on Kimai2 Version 1.6 before and now I updated to 1.9 and it still works.
PHP is 7.3.11-1~deb10u1 in my case. But with Apache instead of nginx.

Maybe @kevinpapst has any idea about it?

from easybackupbundle.

markus7777777 avatar markus7777777 commented on August 26, 2024

Hi,
I have made some changes since the issue I created. I made an update to kimai 1.9 and php runs on 7.3 like you do.

It now works fine with your description. I don't know if it is because of the permissions after the git clone or because of the php and kimai version. I think it was to adjust the file permissions directly after the git clone.

Thanks for your answer. It's running now :)

from easybackupbundle.

yweidmann avatar yweidmann commented on August 26, 2024

Hi
I encoutered the same problem (see email correspondance).

According to the messages, I checked the ownership of the plugin-directory ./kimai2/var/plugins/EasyBackupBoundle: It is not owned by the group and user www-data.

Could that be the reason?

from easybackupbundle.

mxgross avatar mxgross commented on August 26, 2024

Hello Yvo,
yes that seems to be the reason. In markus case it helped to follow my steps described in my first comment in this issue here.
Afterwards the permissions should be fixed.

from easybackupbundle.

yweidmann avatar yweidmann commented on August 26, 2024

Mh, we tried again calling bin/console cache:clear with sudo as user. But we got the following error-messages:

PHP Fatal error:  Class 'App\Plugin\AbstractPluginExtension' not found in /home/yweidmann/subdomains/projects/kimai2/var/plugins/EasyBackupBundle/DependencyInjection/EasyBackupExtension.php on line 18

In EasyBackupExtension.php line 18:

  Attempted to load class "AbstractPluginExtension" from namespace "App\Plugin".
  Did you forget a "use" statement for another namespace?

cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

Any ideas?

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.