If you get the message that the OctoPrint server is not running after having just flashed OctoPi, chances are very high that is because you changed the system user "pi" to another name. The official setup guide has multiple warning against doing exactly that for a reason:
Flash the image again and this time do not touch the username.