Menu

Upgrade from old svn code to new git code

Jim
2021-06-02
2021-06-24
  • Jim

    Jim - 2021-06-02

    Hi,

    We created Radius servers from the previous svn-based code a few years ago. We'd like to get up to date with the current code which is now git-based. Do you have a recommended uprade path for this?

    Is it just a case of pointing git at the new code repo and updating, or is the new code (and database) completely different and will need a new install?

    Thanks.

    J

     
  • Dirk van der Walt

    Hi Jim,

    If you are just using the RADIUS part (and not the old MESHdesk and APdesk) the new git-based code should actually work without to much troubles there are patches (and some scripts) from many years back till now for the DB...

    If you are not to protective over the data then an option might be to send me a DB dump so I can run the patches and scripts and see if it works wit hthe new Git code.

    There were changes but they were gradual and over time and the basics always were kept the same.

    Kind regards

     
  • Jim

    Jim - 2021-06-03

    Hi @dvdwalt

    Thanks for the quick response. I've done the upgrade to the new version and everything seems okay except that I can't login to Radiusdesk as anything other than root. For other Admin users (created in the old version), at login they get a popup saying "Failure: undefined" (see attached).

    I'll keep looking, but if you have any ideas then feel free to share.

    Rgds,

    Jim

     
  • Dirk van der Walt

    Hi Jim,

    Let me see over the next two days if I can check-in a script into the Git repo which should address that issue.

    Moving from CakePHP2 to CakePHP3 was quite dramatic and some things changed especially on the Aco/Aros side (that's why other Admin users are not working)

    We had to create some scripts (and not just SQL patches to fix everything)

    I have bits an pieces here which I'll stick together and then you can give it a try ... obviously making a backup first :-)

    Will update here when its checked in.

    Regards

     
  • Jim

    Jim - 2021-06-24

    Hi Dirk,

    Any news on the script mentioned above?

    Rgds,

    Jim

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.