As @andy-b said: it's from the backend via SSH, you don't need your OctoPrint username.
For SSH it is
raspberry (if you haven't changed them)
then do as described:
If you only have a single user set up
If you only have a single user setup in OctoPrint for which you forgot the password, the easiest way is simply resetting OctoPrint's user database and run the access control wizard again. The steps involved boil down to this:
firstRun: false with
- restart the OctoPrint server and reload, you should be prompted to run the first time setup wizard again
If you are running OctoPi , you can use these commands to do all that:
sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml
sudo service octoprint restart
If you have the OctoPrint server installed on Windows, the location of the files will be
%APPDATA%\OctoPrint\config.yaml . If you have it installed on MacOS, the locations will be
~/Library/Application\ Support/OctoPrint/users.yaml and
~/Library/Application\ Support/OctoPrint/config.yaml .