Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » migrating SS from IIS to Linux

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 845 Views
  • Yigal
    Community Member
    1 Post

    migrating SS from IIS to Linux Link to this post

    I'm very new to SS, and I'm trying to migrate it from a dedicated IIS server to a Linux shared hosting.

    I copied all files from the www folder to the www folder on the Linux shared hosting.
    Exported MySQL from the IIS server and imported onto the MySQL on the shared hosting
    Updated _config.php with the new MySQL information
    Run http://bigfootnetworks.site.aplus.net/db/build?flush=1 which seem to fix the table name issue when moving from IIS to Linux.

    The major problem is with the CMS:
    1) I'm unable to use any previous user to access the CMS, only Admin works
    2) I'm getting very ofter error loading page, and an empty popup - see attached screenshots
    3) Under site content, I don't see all the site.

    Can anyone advice if I'm missing any step in migration
    How do I debug, find the reason I'm getting the errors in the CMS


    Attached Files
  • StuM
    Community Member
    56 Posts

    Re: migrating SS from IIS to Linux Link to this post

    Possible problem I can think of is MySQL on Windows, by default it converts the table names to lower case, so when you import it into Linux, it wouldn't recognize the table names and would have built the database from scratch. If you look in PhpMyAdmin or something, you may see that there's a duplicate of the tables, i.e SiteTree and sitetree. If that's the case, you'll have to either rename them manually or write a script to do it.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.