Skip to content

Instantly share code, notes, and snippets.

@kapilpipaliya
Last active September 9, 2019 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kapilpipaliya/5ab2332782d654daa3f5dba67353b20b to your computer and use it in GitHub Desktop.
Save kapilpipaliya/5ab2332782d654daa3f5dba67353b20b to your computer and use it in GitHub Desktop.
$ ./rebuild-wekan.sh
Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8
with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly.
You can still use any other locale as your main locale.
1) Install Wekan dependencies
2) Build Wekan
3) Quit
Please enter your choice: 1
Linux
[sudo] password for kapili3:
sudo: apt-get: command not found
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 5450 100 5450 0 0 1242 0 0:00:04 0:00:04 --:--:-- 3309
tar=/usr/bin/tar
version:
tar (GNU tar) 1.32
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
install npm@latest
fetching: https://registry.npmjs.org/npm/-/npm-6.11.3.tgz
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /build/npm/src/cli-6.11.2/npm-6.11.2.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, stat '/build/npm/src/cli-6.11.2/npm-6.11.2.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-09-09T07_42_50_870Z-debug.log
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.11.3
added 4 packages from 2 contributors and updated 3 packages in 5.896s
It worked
/usr/bin/n -> /usr/lib/node_modules/n/bin/n
+ n@6.0.1
added 1 package from 4 contributors in 1.155s
installing : node-v8.16.1
mkdir : /usr/local/n/versions/node/8.16.1
fetch : https://nodejs.org/dist/v8.16.1/node-v8.16.1-linux-x64.tar.gz
cp: cannot overwrite non-directory '/usr/local/share/man' with directory '/usr/local/n/versions/node/8.16.1/share/man'
installed : v8.16.1 (with npm 6.4.1)
/tmp/tmp_npm_prefix/bin/npm -> /tmp/tmp_npm_prefix/lib/node_modules/npm/bin/npm-cli.js
/tmp/tmp_npm_prefix/bin/npx -> /tmp/tmp_npm_prefix/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.11.3
added 430 packages from 833 contributors in 148.131s
╭────────────────────────────────────────────────────────────────╮
│ │
│ New minor version of npm available! 6.4.1 → 6.11.3 │
│ Changelog: https://github.com/npm/cli/releases/tag/v6.11.3 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯
Moving files to /usr/local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment