Base Url not updated after migration between different instances with different domains
-
Hi all,
“base url” in config.php has not been updated when I migrated a FreshRss instance between Cloudron instances and domains.
I did a backup on the old domain (es. olddomain1.mydomain.com) and imported the backup on a new FreshRss install (es. newdomain1.newdomain.com).
Everything was perfect, but base url has not been changed
Thanks
-
Hello @p44
From the
start.shof the @freshrss package - https://git.cloudron.io/packages/freshrss-app/-/blob/master/start.sh?ref_type=heads#L50-L54:php cli/reconfigure.php ${extra_args} --base_url "https://${CLOUDRON_APP_DOMAIN}" \ --db-type mysql --db-host "${CLOUDRON_MYSQL_HOST}" \ --db-user "${CLOUDRON_MYSQL_USERNAME}" --db-password "${CLOUDRON_MYSQL_PASSWORD}" \ --db-base "${CLOUDRON_MYSQL_DATABASE}" --db-prefix "" \ --disable_update--base_urlis included, which I confirmed working when changeing the subdomain location of the app and the subdomain and tld loction of the app.
I have also created a backup, downloaded the backup config, uninstalled the app, installed a new one under a different location, imported the backup and everything worked.What Cloudron version are you currently running?
-
Thanks James, look very strange. I was on 9.0.17 - Ubuntu 24.04.2 LTS Linux 6.8.0-94-generic
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login