Preliminary issues with New app Donetick

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What app is this about, and its version

0.1.80~ynh1

What YunoHost version are you running

12.1.41.2

What type of hardware are you using

Old laptop or computer

Describe your issue

Just going to list soem of the major issues here:

  1. Login and signup do not match usual Yunohost standards. I understood LDAP is not functional but usually for apps that don’t have LDAP there’s a default admin account created at installation and this doesn’t seem to have one. At the sign up page, it asked for an Email and I was unsure where this data was going to go - to the Donetick servers or to mine. Ideally, I wouldn’t expect there to be an email field at all at sign up on a private server.

  2. Some tabs are completely not working. Multiple tabs on the sidebar just keep loading and Activities and Things lead to an error directly. I’ve pasted the Donetick service log down

  3. There are Primary and Sub accounts and even though I created a Primary account at sign up it won’t let me into user account management because “Only primary users can manage”

Share relevant logs or error messages

Hello,

  1. a. App does not support LDAP but only OIDC. Better interconnection may become possible with YNH 13.1 as per the Roadmap. In the meantime, maybe an admin user could be created via an install question, but that would involve adding a user directly to the database. It would take to check the database schema to check feasibility.
    b. I haven’t tested this app so far, but most probably the email info is stored in the app database on your server (check the network tab of your browser’s development tools for any request to third party server when submitting the form to create a new user to make sure of this). Maybe the app enables sending to users via email things like task reminders or account creation invitations, justifying why such info is collected…
  2. Can you detail further the error and context? The log seems to tell about an authentication issue (maybe due to 3. ?)
  3. So even when you authenticate as Primary account, you cannot access account manager for the reason mentioned in the reported error message?

There were more issues and I was about to check what you said and ended up having to uninstall and reinstall. Things seem to open fine but it seems features are locked behind a paywall? Also, I can’t find the developmental tools thing you said to check if data is being shared outside.

Look at this documentation Network Monitor — Firefox Source Docs documentation (you want to monitor the column “Domain” during form submission)

Hey! Thank you. I’ve ascertained that nothing is calling to external services. The paywall stuff seems to also be internal and doesn’t lead anywhere. But I can’t find config files where I can disable them and make it so anyone can access anything.

Is all of this referring to the same thing?
I’d need more context or maybe screenshots to understand what you expect to see disabled.

The tabs not loading and the primary account thing aren’t happening anymore. This is what I mean by paywalled features:

When I click on upgrade it takes me too account management and asks me to “Subscribe”. But the subscribe button just throws an error and doesn’t go anywhere.

Hi, I just got some additional information from reddit where other self-hosters mentioned that it’s supposed to auto-detect when you’re self-hosting and set it so that it looks like you’re already a Premium/Plus member. And apparwently none of these notification and other issues are present for them.

That does lead me to believe this is a packaging issue.

The post doesn’t seem to include the service log, so it’s hard to tell whether the tabs and primary-account check share one cause. Please paste the relevant errors and the app’s install/configuration details, with secrets and personal data removed. The email destination and account roles depend on Donetick’s configuration; YunoHost’s LDAP integration won’t automatically control them.

I’ve spotted the bug in the package which didn’t enforce the “self-host” mode properly (hence why you are seeing the interface meant for upstream SAAS version).
However it comes with other considerations such as whether a database migration is needed.

@Naveen Were you able to use the app somehow as such, i.e. entering data that you would like not to loose? Or was it unusable enough so that you could go no further than doing a few tests?

@Supbol Hey, someone created a branch of the yunohost package that I’m testing now. It’s called “fix-install”. So far it’s made it pretty usable, but I’ve not tested very thoroughly. I hope it gets merged soon.

Merged. It fixes the “self-host” mode bug and now the first admin user is created via YNH install UI.

Do I have to reinstall or something for everything to match up or is that not necessary? I updated it and things are working so far

If you have updated from 0.1.80~ynh1 to 0.1.86~ynh1 using the main branch (i.e. after my previous message), everything should be fine.

But if you have updated from fix_install branch pulled at some random time while work was in progress, I guess you’d better reinstall from scratch to be on the safe side - it might work without reinstall but you might as well have a non-standard install which may result in strange and hard-to-diagnose behavior in the future.