Comments (24)
Have you installed app on private mode or public mode?
from kimai2_ynh.
what exactly you mean with private and public mode? i dont see any option like this. i guess you talk about the yunohost app kimai while installation?
from kimai2_ynh.
would be great if i could see any logs. the doctor tab log files is just showing "Missing Logfile" and kimai2/var/log is also empty
from kimai2_ynh.
Have you installed app on private mode or public mode?
i have installed the kimai app on yunohost disabling the option being seen by anonymous users. also i disabled the option that users can register themselfes.
from kimai2_ynh.
Can you open xxx/api/doc in your installation? Probably everything is good with Kimai, but you are only using a wrong URL?
Where does the message Invalid answer from API
come from?
from kimai2_ynh.
when i open https://mydomain.my/api/doc i get straight to the login screen.
the message Invalid answer from API
appears in the android kimai app, when i push the button "Test Settings"
from kimai2_ynh.
when i open https://mydomain.my/api/doc i get straight to the login screen.
and after login? please provide as much info as possible
from kimai2_ynh.
ups, sorry i didnt try to login.
the API Docs page apears. with all api listed.
from kimai2_ynh.
Two options: you entered a wrong URL in the app or your Kimai is not available from outside (private mode?)
I don't know how YunoHost works, so I would test that as well
from kimai2_ynh.
There was a bug in the app: don't enter a /
at the end of the URL!
So something like https://example.kimai.cloud or https://mydomain.my
from kimai2_ynh.
is there a port to open in firewall?
from kimai2_ynh.
the URL i entered is correct. i checked this many times.
from kimai2_ynh.
i still dont understand this private and public mode. i dont find any option for this in the installation process of kimai in yunohost.
from kimai2_ynh.
another question. is there a way to turn on loging? like i write before, there is no logfile for kimai. nor in var/www/kimai2/var/log neither in var/log
from kimai2_ynh.
i have installed the kimai app on yunohost disabling the option being seen by anonymous users. also i disabled the option that users can register themselfes.
This means that you are on private mode. You would not be able to see the Kimai2 page without login to the Yunohost. Please correct me if its other way around and you are on public mode.
is there a port to open in firewall?
No there is not need to open any port. Api is not relate to any port.
another question. is there a way to turn on loging? like i write before, there is no logfile for kimai. nor in var/www/kimai2/var/log neither in var/log
Most of the times problem is in the Nginx configuration. So check the log /var/log/nginx/yourdomain.tld.error.log
from kimai2_ynh.
@kevinpapst
Do we have LDAP ready for Kimai2?
from kimai2_ynh.
Kimai supports LDAP, yes: https://www.kimai.org/documentation/ldap.html
Basic installation steps: create local.yaml with correct settings and then add composer package
from kimai2_ynh.
Great, this should be implemented in Kimai2. I will test it this weekend.
And from where can we change the log file for the Kimai2?
from kimai2_ynh.
i have installed the kimai app on yunohost disabling the option being seen by anonymous users. also i disabled the option that users can register themselfes.
This means that you are on private mode. You would not be able to see the Kimai2 page without login to the Yunohost. Please correct me if its other way around and you are on public mode.
thats it!!!! i just installed a new instance with the anonymous option set and now it works.
there is just the logging issue left.
now i will try to install plugins. i hope this will work, if not you will read again from me ;)
from kimai2_ynh.
Log config: config/packages/prod/monolog.yaml
- probably its changed to point to some global YunoHost location?
from kimai2_ynh.
probably its changed to point to some global YunoHost location?
I think it has not changed anything. I will test it.
from kimai2_ynh.
thats it!!!! i just installed a new instance with the anonymous option set and now it works.
The api should be public by default despite the app being installed on private or public mode. I will fix this in next update.
from kimai2_ynh.
BTW: "Missing log file" doesn't mean it is not working!
Probably there hasn't been any log message ... logs are only written upon errors.
from kimai2_ynh.
i get it. i will keep an eye on this.
thanks for you all and your help.
from kimai2_ynh.
Related Issues (20)
- 1.6.2 is released HOT 5
- Change the repo link
- Cant sign in with user after installation HOT 2
- [buster] Adapt the PHP 7.x custom install / requirement HOT 5
- Kimai2 Install shows crrupt HOT 3
- Homepage URL wrong in repo description HOT 5
- ERROR - Could not install kimai2 HOT 2
- mistake
- Upgrade to 1.13
- Installing Plugins Breaks Kimai HOT 9
- Is there an ETA when an updated version will ship? Thanks.
- Login doesn't work with LDAP after upgrade to 1.17 HOT 3
- LDAP not working as expected HOT 1
- Upgrade from 1.11.1 to 1.20.2 fails HOT 1
- Upgrade from 1.11.1 to 1.27.0 fails
- Corrupt source 1.27.0~ynh1
- LDAP not working HOT 1
- Manage dedicated Kimai API permission
- After recent upgrade, "missing permissions: redirect to login?" dialog box when attempting to create new entry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kimai2_ynh.