๋ฐฉ๊ธ VPS์ etherpad lite๋ฅผ ์ค์ ํ์ผ๋ฉฐ ๋ชจ๋ ๊ฒ์ด ์์์์ ์ ์๋ํ์ต๋๋ค. ๊ทธ๋ฌ๋ ๋ด๊ฐ ์ค์นํ๋ ค๊ณ ์๋ํ ํ๋ฌ๊ทธ์ธ์ ๊ด๊ณ์์ด ๋ค์ ์์ํ ํ ์ฆ์ ์๋ฒ๊ฐ ์ถฉ๋ํ๋ ๊ฒ ๊ฐ์ต๋๋ค. npm uninstall
ํตํด ํ๋ฌ๊ทธ์ธ์ ์ ๊ฑฐํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์ง๋ง ์ด๋ ๊ฒํ๋ฉด ํ๋ฌ๊ทธ์ธ์ ์ฌ์ฉํ ์ ์์ต๋๋ค. Ubuntu 16.04 LTS, npm ๋ฒ์ 3.9.3 ๋ฐ nodejs ๋ฒ์ 6.2.1์ ์คํํ๊ณ ์์ต๋๋ค.
๋ค์์ ์ค๋ฅ ๋ฉ์์ง์ ๋๋ค.
etherpad @ ubuntu : ~ / etherpad-lite $ bin / run.sh
๋ชจ๋ ์ข ์์ฑ์ด ์ต์ ์ํ์ธ์ง ํ์ธํ์ญ์์ค ... Etherpad๋ฅผ ์ฒ์ ์คํํ๋ ๊ฒฝ์ฐ ์ ์ ๊ธฐ๋ค๋ ค์ฃผ์ญ์์ค.
jQuery๊ฐ ๋ค์ด๋ก๋๋๊ณ ์ต์ ์ํ์ธ์ง ํ์ธํ์ญ์์ค ...
์ถ์ ๋ ์บ์ ์ญ์ ์ค ...
์ฌ์ฉ์ ์ง์ css / js ํ์ผ์ด ์์ฑ๋์๋์ง ํ์ธํฉ๋๋ค ...
Etherpad ์์ ...
[2016-06-11 06 : 50 : 05.992] [์ค๋ฅ] ์ฝ์-(node โโ: 30075) fs : ๋ค์ดํฐ๋ธ ๋ชจ๋ ์์ค ์ฌํ๊ฐ๊ฐ ์ง์๋์ง ์์ต๋๋ค. graceful-fs ๋ชจ๋์ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ์ต์ ๋ฒ์ ์ผ๋ก ์ ๋ฐ์ดํธํ์ญ์์ค.
[2016-06-11 06 : 50 : 07.934] [์ ๋ณด] ์ฝ์-์ค์น๋ ํ๋ฌ๊ทธ์ธ : [email protected]
[2016๋ 6์ 11์ผ 06 : 50 : 07.939] [์ ๋ณด] ์ฝ์ -์์ ๋ณด๊ณ ์ ๋ฒ๊ทธ https://github.com/ether/etherpad-lite/issues
[2016-06-11 06 : 50 : 07.940] [์ ๋ณด] ์ฝ์-Etherpad ๋ฒ์ ์ 1.6.0 (44370f1)์ ๋๋ค.
[2016-06-11 06 : 50 : 08.068] [์ค๋ฅ] ์ฝ์-์ค๋ฅ : ENOENT : ํด๋น ํ์ผ ๋๋ ๋๋ ํฐ๋ฆฌ๊ฐ ์์ต๋๋ค. ์ํ '/ home / etherpad / etherpad-lite / node_modules / ep_cursortrace / locales'
at Error (๋ค์ดํฐ๋ธ)
fs.statSync (fs.js : 981 : 18)
extractLangs (/home/etherpad/etherpad-lite/src/node/hooks/i18n.js:21:9)์์
getAllLocales (/home/etherpad/etherpad-lite/src/node/hooks/i18n.js:44:34)
Object.exports.expressCreateServer ์์ hook_fn์ผ๋ก
normalizedhook์์ (/home/etherpad/etherpad-lite/src/static/js/pluginfw/hooks.js:15:27)
hookCallWrapper์์ (/home/etherpad/etherpad-lite/src/static/js/pluginfw/hooks.js:21:14)
/home/etherpad/etherpad-lite/src/static/js/pluginfw/hooks.js:76:14
Function ._. map ._. collect (/home/etherpad/etherpad-lite/src/node_modules/underscore/underscore.js:172:24)
Object.exports.callAll์์ (/home/etherpad/etherpad-lite/src/static/js/pluginfw/hooks.js:75:24)
[2016-06-11 06 : 50 : 08.068] [์ ๋ณด] ์ฝ์-์ ์ ์ข ๋ฃ ...
[2016-06-11 06 : 50 : 08.068] [์ ๋ณด] ์ฝ์-db๊ฐ ์ฑ๊ณต์ ์ผ๋ก ๋ซํ์ต๋๋ค.
์๊ฐ ๋ด ์ค์ ๊ณ ๋ง์!
์ ๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค.์ด ๋ฌธ์ ๋ ์ค๋ ์ ์ ์๊ฐ ๋ ์ ์์ต๋๋ค. ์ด ๋ฌธ์ ๊ฐ ๋ ์ด์ ์ฌ์ฉ๋์ง ์๋ graceful-fs ๋ชจ๋ ๋๋ etherpad์ ์ผ๋ถ ์๋ก์ด ๊ธฐ๋ฅ์ผ๋ก ์ธํด ๋ฐ์ํ๋์ง ๊ถ๊ธํฉ๋๋ค. ํ๋ฌ๊ทธ์ธ์ locales-directory๊ฐ ์์ด์ผํ๊ณ ๊ฑฐ์ ๋ชจ๋ ํ๋ฌ๊ทธ์ธ์ด ์ค๋จ๋ฉ๋๋ค. ๋๋ ์ฌ์ ํ ๋ ธ๋์ etherpad ๋ฒ์ ์ ์๋ ์กฐํฉ์ ์ฐพ์ผ๋ ค๊ณ ๋ ธ๋ ฅํ๊ณ ์์ต๋๋ค :-/
๊ฐ๋ฐ ๋์ etherpad์ master-branch๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด ์ ์๊ฒ ํจ๊ณผ์ ์ ๋๋ค.
๋ค, ์๋ํ์ต๋๋ค! ๋์ ์ฃผ์ ์ ์ ๋ง ๊ฐ์ฌํฉ๋๋ค. ์ด์ ์ด ๋ฌธ์ ๋ฅผ ์ข ๋ฃ ํ ์ ์์ต๋๋ค.
์ด ๋ฒ๊ทธ๋ ์ธ์ ๊ฐ ๋ง์คํฐ์ ๋ณํฉ๋๊ธฐ ์ ์ ์์ ํด์ผํ๋ฏ๋ก์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ง ์๊ฒ ์ต๋๋ค.
์๊ธฐ์์ผ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค. ์ด๊ฒ์ ๋ง์ ์๋ฏธ๊ฐ ์์ต๋๋ค. ์ด ํธ๋ฅผ ๋ค์ ์ด์ด ๋ณด๊ฒ ์ต๋๋ค.
์ด ์ปค๋ฐ์ ์ํด ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค : https://github.com/ether/etherpad-lite/commit/835bca7967473dc21fa6de4eb56357c92e4f43a3
fs.statSync๋ fs.exists์ ๋์์ด๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค. fs.statSync๋ ํ์ผ / ๋๋ ํ ๋ฆฌ๊ฐ์๋ ๊ฒฝ์ฐ ์์ธ๋ฅผ ๋ฐ์์ํต๋๋ค. https://blog.raananweber.com/2015/12/15/check-if-a-directory-exists-in-node-js/ ์ฐธ์กฐ
cc @Gared
@ziyaointl ๋ด PR์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ฉด ์๋ํ์ญ์์ค
@Gared ์, ์ ์ ํจ๊ป ์๋ํ๋ ๊ฒ ๊ฐ์ต๋๋ค.