Pocketmine, and other non official pocket / console edition servers, is not really worth the hassle trying to get it working. Iv’e given up on keeping up with the current working version.
The shrot of it is that there exist no FULL version of pocketmine that support the full game experience. You end up with a below vanilla creative multiplayer server, without mobs. You server will also only work until Mojang releases an update to the game, then you have to either have all your players wait to update their clients, or have a server they can’t connect to untill one of the developers of pocketmine or the clones push out a new alpha version that works with the clients.
Oh and I said alpha version. The pocketmine style server are ALWAYS lagging behind. They never get ahead, so before they get a full feature stable version out, mojang has updated again, so all pocetmines are alphas. And since they scramble to keep up with the official version, they never get ahead enough to add things like AI and mobs.
Now, if we could just get Mojang/Microsoft to release their Realms servers for local installation and play, it would be another story. But Realms is a paid solution, and forces everyone using it to pay every month. Them releasing a free server is not likely at all.
Now, after my rant about why I gave up, you still want to run a pocketmine the profiles wont help much. You’ll have to to the work manually.
You can download the latest working phar here: https://jenkins.pmmp.io/
You need the latest file from under “PHP-7.2-Linux-x86_64” and "PocketMine-MP"
Then you need to copy both files over to our server directory manually (using an ssh-ftp program like filezilla), then unpack the archive containig the php files using the command “tar -zxvf [filename]”.
Once you have the php files installed you probably do not need to update them the next time releases an upgrade. You usually just need to doenload and transfer the latest phar to your server direcotry. It may take everything from a few days to a few months before a new phar that works with the latest mojang release show up though.