I was using a 2.2 version and only found out that I was quite behind on updates so I tried to follow the upgrade guide found in the documentation which told me to first upgrade to 3.0.3
This is what I did and I believe it went smoothly so I decided to do the next part, that is upgrading to the latest 3.X version (https://docs.mattermost.com/administration/legacy-upgrade.html#upgrade-team-edition-to-3-0-x)
In point 2, it says to go in the System console to check some settings. At first, I did not see the console, so I used this command to give me access to it:
./mattermost -assign_role -team_name="yourteam" -email="email@example.com" -role="system_admin"
And while I now see the System Console in mattermost, it stays “loading” on every item I click on.
Using developer tools, I find the following error:
method=getConfig msg=You do not have the appropriate permissions (system) detail=userId=mtw6st9z7pfu3gwtuyj8dzaxdh rid=98thrcfxdbg6b8pr8yaycidaua
I looked at the files in the installation folder, and sure enough, they were not for the right user, the tar command used those in the archive.
Using chgrp and chown fixed this, but it did not fix the original issue.
I looked here and found various topics on this subject:
But none of these helped me fix my issue.
I must have missed something obvious, but for the life of me, I’m not sure what it is.
Any help would be greatly appreciated.