YunoHost-Apps / fittrackee_ynh

FitTrackee package for YunoHost 🚴
https://samr1.github.io/FitTrackee
GNU Affero General Public License v3.0
4 stars 1 forks source link

No install to path, but path changable in config panel #65

Open chri2 opened 3 months ago

chri2 commented 3 months ago

During install a domain must be chosen and the install complains if there's already another app installed on it: "Sorry, this app must be installed on a domain of its own..."

After install in the config panel of the app there are fields to change the url of the app for domain and path.

Thovi98 commented 3 months ago

I think this is an issue of Yunohost. Just tried: change the url to fittrackee.domain.tld/sport which will not be accepted either.

chri2 commented 3 months ago

In manifest.toml there is no [install.path] to ask for a path to install to. Probably this defaults to /.

scripts/change_url exists which I believe will lead to the form entry field in the config panel (if the script does not exist there's a message shown that this feature is not implemented yet.)

If changing the url does not work, it's likely a problem in the change_url script.

If fittrackee can be installed to a path other than / you'd need to put the [install.path] question inside the manifest to ask the user for the path (I intended to install it into a path on an existing domain and went back to create a new subdomain to host it before trying the install again. I'm fine with that now and probably it is better this way, but seeing later the fields to move the installation to a path has been strange 🙃).