No profiles available

I am running the Mineos plugin inside FreeNas 11.2. Everything was working well and my kids were enjoying it. However, I realized I created the server in Survival Mode instead of Creative Mode as my kids preferred. So, I went into the web gui to click around and figure out how to change the mode, and I happened to notice that on the profiles page there is this message:
No Profiles Are Available; Check Internet Connectivity And Refresh The Profile List.
I’m fairly certain there are no internet issues. I can ping google from within the jail shell. This was working before and I have not changed anything related to my router or firewall rules.
Does anyone know how to trouble shoot this? I’ve googled this and found similar issues, but most of them are either old or talking about VMs so not quite the same thing I’m experiencing. I imagine you might want to look at the log, which I can try to upload this evening after I get home from work.

2 Likes

Well, it happened to me too. This shouldn’t be a problem on your side.

Perhaps the logs might point us in the right direction:

/var/logs/mineos.log

Here is my latest mineos.log. Well I guess I can’t upload a text file. So here’s the end of the file:

{“level”:“info”,“message”:"[DavisMinecraftServer1] mcserver (192.168.1.65) joined server namespace",“timestamp”:“2019-10-31T00:42:23.912Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer2] mcserver (192.168.1.65) joined server namespace",“timestamp”:“2019-10-31T00:42:23.961Z”}
{“level”:“info”,“message”:“Downloaded information for collection: Mojang Official Minecraft Jars (423 entries)”,“timestamp”:“2019-10-31T00:42:24.043Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer1] transmittting existing file contents: logs/latest.log (2468 bytes)",“timestamp”:“2019-10-31T00:42:24.221Z”}
{“command”:“refresh_server_list”,“level”:“info”,“message”:"[WEBUI] Received emit command from 192.168.1.65:mcserver",“timestamp”:“2019-10-31T00:42:46.982Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer1] transmittting existing file contents: logs/latest.log (2468 bytes)",“timestamp”:“2019-10-31T00:42:47.009Z”}
{“redownload”:true,“command”:“refresh_profile_list”,“level”:“info”,“message”:"[WEBUI] Received emit command from 192.168.1.65:mcserver",“timestamp”:“2019-10-31T00:42:50.040Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb_third_party. Please check your internet connectivity.”,“timestamp”:“2019-10-31T00:42:50.093Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb. Please check your internet connectivity.”,“timestamp”:“2019-10-31T00:42:50.101Z”}
{“level”:“info”,“message”:“Downloaded information for collection: Mojang Official Minecraft Jars (423 entries)”,“timestamp”:“2019-10-31T00:42:50.218Z”}
{“level”:“info”,“message”:"[WEBUI] mcserver connected from 192.168.1.65",“timestamp”:“2019-10-31T23:07:34.931Z”}
{“0”:“de_DE”,“1”:“en_US”,“2”:“fr_FR”,“3”:“it_IT”,“4”:“ja_JP”,“5”:“no_NB”,“6”:“ru_RU”,“7”:“sv_SE”,“level”:“info”,“message”:"",“timestamp”:“2019-10-31T23:07:34.935Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb. Please check your internet connectivity.”,“timestamp”:“2019-10-31T23:07:34.992Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb_third_party. Please check your internet connectivity.”,“timestamp”:“2019-10-31T23:07:35.138Z”}
{“level”:“info”,“message”:“Downloaded information for collection: Mojang Official Minecraft Jars (423 entries)”,“timestamp”:“2019-10-31T23:07:35.227Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer1] mcserver (192.168.1.65) joined server namespace",“timestamp”:“2019-10-31T23:07:35.381Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer2] mcserver (192.168.1.65) joined server namespace",“timestamp”:“2019-10-31T23:07:35.387Z”}
{“level”:“info”,“message”:"[DavisMinecraftServer1] transmittting existing file contents: logs/latest.log (2468 bytes)",“timestamp”:“2019-10-31T23:07:35.401Z”}
{“redownload”:true,“command”:“refresh_profile_list”,“level”:“info”,“message”:"[WEBUI] Received emit command from 192.168.1.65:mcserver",“timestamp”:“2019-10-31T23:07:42.697Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb_third_party. Please check your internet connectivity.”,“timestamp”:“2019-10-31T23:07:42.751Z”}
{“level”:“error”,“message”:“Unable to retrieve profile: ftb. Please check your internet connectivity.”,“timestamp”:“2019-10-31T23:07:42.754Z”}
{“level”:“info”,“message”:“Downloaded information for collection: Mojang Official Minecraft Jars (423 entries)”,“timestamp”:“2019-10-31T23:07:42.891Z”}

I made a clean installation right now and it’s happening to me too.

I am having this issue too. I ran the webui standalone with node and got the following errors:

error: Unable to retrieve profile: ftb. Please check your internet connectivity.
error: Unable to retrieve profile: ftb_third_party. Please check your internet connectivity.
info: Downloaded information for collection: Mojang Official Minecraft Jars (423 entries)

It seems like some of the profiles are being found correctly but the FTB repos have gone down. I dug through the code and found that the two links are http://ftb.cursecdn.com/FTB2/static/modpacks.xml and http://ftb.cursecdn.com/FTB2/static/thirdparty.xml which are both currently dead.

You can temporarily fix the issue until a better fix is available by commenting out lines 98 through 223 of /usr/games/minecraft/profiles.js. This will disable looking for profiles on the two dead links.

1 Like

Thanks for your effort here. Very quickly brought me to the error, and I have created a new commit to resolve this issue.

https://discourse.codeemo.com/t/no-profiles-available-reported-in-webui-but-internet-is-ok/3287/2

1 Like

Thanks everyone for your attention to this issue.
Once the fix is in, how would I go about updating the plugin in FreeNas to get the fix?