Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. FreshRSS
  3. Base Url not updated after migration between different instances with different domains

Base Url not updated after migration between different instances with different domains

Scheduled Pinned Locked Moved FreshRSS
4 Posts 2 Posters 90 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    p44
    translator
    wrote last edited by
    #1

    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

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @p44

      From the start.sh of 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_url is 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?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        p44
        translator
        wrote last edited by
        #3

        Thanks James, look very strange. I was on 9.0.17 - Ubuntu 24.04.2 LTS Linux 6.8.0-94-generic

        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          What version of the @freshrss package do you have installed?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search