mtierltd / timetracker

GNU Affero General Public License v3.0
82 stars 27 forks source link

Issues in NC 20.0.14 #206

Closed fpPierre closed 1 year ago

fpPierre commented 1 year ago

Dear Timetracker team,

first of all I would like to state that it is great to see that a team is looking to develop a Time Tracking AddOn for nextcloud.

As soon as I have seen your App I wanted to place it into my Nextcloud ecosystem.

Unfortunately I wasn´t able to install the app by using the install button of the build in app store.

Due this I cloned the git repo on system level.

After I have done so I modified the owner and rights to the desired ones.

After I managed it I got the "activation" button in my NC appstore.

Unfortunately a issue occurs.

Logextract: ""user":"admin","app":"PHP","method":"POST","url":"/index.php/settings/apps/enable","message":{"Exception":"Error","Message":"require_once(/var/www/nextcloud/apps/timetracker/lib/AppInfo/../../vendor/autoload.php): failed to open stream: No such file or directory at /var/www/nextcloud/apps/timetracker/lib/AppInfo/Application.php#5","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/timetracker/lib/AppInfo/Application.php","line":5, . . "

Though I used this information and looked for the valid path of my autoload.php. I found the php file and modified Application.php

from require_once DIR . '/../../vendor/autoload.php'; to require_once DIR . '/../../../files_versions/composer/autoload.php';

Afterwards I tried to activate the app once again. This time the activation process started and finished successfully. Within my mySql database I identified a few new "timetracker" tables and the timetracker icon appears within my NC frontend.

Unfortunately I´m not able to do anything with it.

I cannot start/stop the stopwatch and am not able to ad a project, client, etc.

Within the console I have encountered this message.

Refused to execute script from 'https://XXXXXXXXXXXXXX/index.php/apps/dashboard/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. session-heartbeat.js:97 session heartbeat polling started

So I´m slightly irritated about that situation.

Have I used a incompatible version of time tracker?

fpPierre commented 1 year ago

Meanwhile I reset the Application.php and tried to force the make command.

As I´m using it I get the faillure as hereinafter:

timetracker# make gmake composer make: gmake: Command not found Makefile:60: recipe for target 'build' failed make: *** [build] Error 127

fpPierre commented 1 year ago

I have managed to get it running by using a older version and perform an update