mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
00checkStartup, on error give more details on current user which run's Wekan
This commit is contained in:
parent
7ae15cae27
commit
6c94b57cfc
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
var fs = require('fs');
|
||||
var os = require('os');
|
||||
|
||||
let errors = [];
|
||||
if (!process.env.WRITABLE_PATH) {
|
||||
|
@ -9,6 +10,7 @@ if (!process.env.WRITABLE_PATH) {
|
|||
} catch (err) {
|
||||
errors.push("can't write to " + process.env.WRITABLE_PATH, err);
|
||||
errors.push("the path of WRITABLE_PATH (" + process.env.WRITABLE_PATH + ") must be writable !!!");
|
||||
errors.push("username: " + userInfo["username"] + " - uid: " + userInfo["uid"] + " - gid: " + userInfo["gid"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue