Skip to content

Conversation

@R0Wi
Copy link
Member

@R0Wi R0Wi commented Nov 22, 2025

When using the CLI to register a daemon

php occ app_api:daemon:register --set-default --harp --harp_frp_address "appapi-harp:8782" --harp_shared_key "<pass>" "harp_proxy_docker" "HaRP Proxy (Docker)" "docker-install" "http" "appapi-harp:8780" "http://my-nc-instance.com"

I'm getting:

In AppConfig.php line 873:
                                                           
  conflict between new type (mixed) and old type (string)

I think the problem only occurs when I already had a previous daemon installed which I uninstalled first.

image

This PR does not only resolve the problem but also removes the use of a deprecated NC function.

Copy link
Collaborator

@kyteinsky kyteinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!
It seems this one instance was not converted to IAppConfig which resulted in the conflict.

@R0Wi R0Wi merged commit b2cc36a into main Nov 25, 2025
34 checks passed
@R0Wi R0Wi deleted the fix/app-config branch November 25, 2025 17:45
@oleksandr-nc
Copy link
Contributor

We need a fix for this fix. default_daemon_config treated everywhere as lazy setting.

Will open a PR for this.

@oleksandr-nc
Copy link
Contributor

/backport to stable32

@oleksandr-nc
Copy link
Contributor

It's better to do it with two backports so as not to lose the git history

@github-actions
Copy link

github-actions bot commented Dec 7, 2025

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants