Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by Joe Fender · Dec 29, 2020 at 01:24 AM · multiplayer

Linux builds assets

I have created a Linux server build but cannot seem to get it to run within PlayFab. I am getting StartServersFailed for the server state. The documentation isn't particularly clear on how to fill out the information in the Game Manager for Linux builds.

What should the Mount path be set to? I tried /data/Assets but assume that's wrong. I SSHed into the VM for the failed server and saw that there is a /mnt/DownloadedAssets folder that contains the server zip build I added. Do I then need to manually unzip the asset or do you do that?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Citrus Yan · Dec 29, 2020 at 05:36 AM

The mount path is something you need to specify on your own, it points to where those assets should be mounted within the container's file system. And, StartServersFailed indicates that your server hosted on PlayFab cannot run properly. Did you integrate your game server with our GSDK and locally debug it to verify its integration with the GSDK? We recommend that your go through these steps in the “Authoring a game server” section before uploading your server build to PlayFab: Basics of a PlayFab game server - PlayFab | Microsoft Docs

Comment

People who like this

0 Show 20 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Joe Fender · Dec 29, 2020 at 09:36 AM 0
Share

Thanks for the response. Ok, I will try a different mount path. Does that mean it gets moved from /mnt/DownloadedAssets to the mount path for us? Does it get unzipped too?

Our server is integrated via GSDK and worked as a Windows build when running on PlayFab. We made a Linux build version of the same thing and it worked fine on our Docker container locally. I was assuming that StartServersFailed was because the server didn't mount and run?

avatar image Citrus Yan ♦ Joe Fender · Dec 30, 2020 at 07:31 AM 0
Share

Yes, it will move the asset files to the mount path within the container's file system for you. And, based on my experience, it should get unzipped as well.

For the second question, yes, it's possible. May I know what's your "start-server" command? And, you can also try using ContainerRunCommand to start your server, I think this thread may help: How to use and test ContainerRunCommand on Linux container with Multiplayer Server 2.0? - Playfab Community

avatar image Citrus Yan ♦ Joe Fender · Dec 30, 2020 at 08:58 AM 0
Share

By the way, could you please share your build configuration for us to investigate? You can use GetBuild to get a detailed one.

avatar image Joe Fender Citrus Yan ♦ · Dec 30, 2020 at 09:07 AM 0
Share

Sure, here is the config: https://snippi.com/s/ql8pm5w

Show more comments
Show more comments
avatar image

Answer by Joe Fender · 3 days ago

@Citrus Yan @Sarah Zhang heya - any update here? It's odd that it works locally but not on your servers.

Comment

People who like this

0 Show 1 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Brandon Phillips · 5 hours ago 0
Share

@Joe Fender I created a tool that makes this process pretty simple and automatic for Linux containers, you just need to upload your assets, set the mount path (/data/Assets/) and set your start command (ex: /data/Assets/GameServer.x86_64) and then create the container and create a build. I've provided some examples in the Readme as well:

https://github.com/bphillips09/PFAdmin

There's also an example build.json file if you would rather use the CLI

https://github.com/bphillips09/PFAdmin/blob/master/build.json

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Get a list of random players based on custom filters 1 Answer

    I want to use WSS communication with MultiPlayerServer (Linux, jar) 1 Answer

    Azure spot instances 4 Answers

    Is playfab multiplayer server has free quota 1 Answer

    Yet another "how to connect to a Multiplayer Server"... 2 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges