mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
How to install planka on Ubuntu 20.04 without docker. Except I hit a snag, #146
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jieiku on GitHub (Nov 30, 2021).
I am up and running, and planned to share my notes as a quick guide, however I have hit a snag. I have never used sails.js before. I am more familiar with nginx and apache, so at the moment I am trying to figure out where the log files are so that I can hopefully get some feedback as to why this is not working.
Ubuntu 20.04 Planka install
This will walk you through start to finish, for installing planka on Ubuntu 20.04 without using docker.
I am using an Unprivileged LXC container on Proxmox for this but it should be the same or similar for a bare metal Ubuntu install.
Proxmox makes restoring a container from backup easy in the event that an upgrade goes bad later down the road.
Planka is the only thing running in my container, if you have other web services running you should consider the permissions/user implications (www-data).
Install dependencies:
Clone the planka repository:
create postgresql user, database, and access:
Generate SECRET_KEY:
Configure .env DATABASE_URL and SECRET_KEY:
Set ownership and Install Planka:
Update the client:
Initialize the database:
Start the development server: (Demo user: demo@demo.demo demo)
Start the production server:
Try and figure out the default login:
(appears to be username "demo" and password "demo")
you should be able to access the web ui of Planka now at the address shown in the terminal output.
Server Terminal at this point:
@Jieiku commented on GitHub (Dec 2, 2021):
I never did figure out why logging in did not work, decided to just stick with kanboard for now.
If anyone has any idea how to fix this or even get some debug log info for more clues then please let me know.
@bdeak4 commented on GitHub (Dec 21, 2021):
hi @Jieiku,
I've encountered same problem and the problem was that API url (
localhost:1337) was not accessible from client.If you are using nginx in front of planka you need to forward both ports: 3000 (for client) and 1337 (for server).
@Jieiku commented on GitHub (Dec 21, 2021):
Thanks! I will give it a shot when i get a little spare time! (I cannot even remember if I tried that or not, too many projects lately.)
@SakerSalama commented on GitHub (Aug 19, 2022):
Hello ,, i try to deploy mentioned steps and everything seems fine except last step related to Start Production ,, i get the following error :
`root@planka:/var/www/planka# sudo -u www-data npm run build
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! /var/www/.npm/_logs/2022-08-19T08_54_52_559Z-debug-0.log
root@planka:/var/www/planka#
`
,, anyone face this issue ?