Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right side bar wrong position, big margin from right side #6710

Closed
dimti opened this issue Apr 18, 2017 · 8 comments
Closed

Right side bar wrong position, big margin from right side #6710

dimti opened this issue Apr 18, 2017 · 8 comments

Comments

@dimti
Copy link

dimti commented Apr 18, 2017

Rocket.Chat Version: 0.52.0
Running Instances: 1
DB Replicaset OpLog:
Node Version: 4.4.6

_2017-04-18_06-51-07

@MartinSchoeler
Copy link
Contributor

@dimti does this happens every time you open the side nav? And are you using any custom css?

@dimti
Copy link
Author

dimti commented Apr 18, 2017

Custom css no, no..
Eror still exists in brwoser and in electron app.

In logs exists some records about css processor, but may be that not the side nav:

апр 14 16:14:15 osboxes rocketchat[5177]: { [Error: error evaluating function `fade`: color.toHSL is not a function]
апр 14 16:14:15 osboxes rocketchat[5177]:   type: 'Runtime',
апр 14 16:14:15 osboxes rocketchat[5177]:   filename: 'input',
апр 14 16:14:15 osboxes rocketchat[5177]:   index: 8753,
апр 14 16:14:15 osboxes rocketchat[5177]:   line: 375,
апр 14 16:14:15 osboxes rocketchat[5177]:   callLine: NaN,
апр 14 16:14:15 osboxes rocketchat[5177]:   callExtract: undefined,
апр 14 16:14:15 osboxes rocketchat[5177]:   column: 16,
апр 14 16:14:15 osboxes rocketchat[5177]:   extract:
апр 14 16:14:15 osboxes rocketchat[5177]:    [ '\t&:focus {',
апр 14 16:14:15 osboxes rocketchat[5177]:      '\t\tborder-color: fade(@primary-background-contrast, 50%);',
апр 14 16:14:15 osboxes rocketchat[5177]:      '\t}' ],
апр 14 16:14:15 osboxes rocketchat[5177]:   message: 'error evaluating function `fade`: color.toHSL is not a function',
апр 14 16:14:15 osboxes rocketchat[5177]:   stack: undefined }
апр 14 16:14:16 osboxes rocketchat[5177]: Updating process.env.MAIL_URL
апр 14 16:14:16 osboxes rocketchat[5177]: Using GridFS for custom sounds storage
апр 14 16:14:16 osboxes rocketchat[5177]: Using FileSystem for custom emoji storage
апр 14 16:14:16 osboxes rocketchat[5177]: ufs: temp directory created at "/tmp/ufs"
апр 14 16:14:18 osboxes rocketchat[5177]: [Fri Apr 14 2017 16:14:18 GMT+0300 (MSK)] WARNING A script has tried registering a HTTP route while the HTTP server is disabled with --disabled-httpd.
апр 14 16:14:18 osboxes rocketchat[5177]: Loaded hubot-help/src/help.coffee
апр 14 16:14:18 osboxes rocketchat[5177]: Loaded hello.coffee
апр 14 16:14:18 osboxes rocketchat[5177]: Loaded zen.coffee
апр 14 16:14:21 osboxes rocketchat[5177]: Using GridFS for Avatar storage
апр 14 16:14:22 osboxes rocketchat[5177]: ➔ System ➔ startup

@karlprieb
Copy link
Contributor

Hey @dimti which browser do you use?

@dimti
Copy link
Author

dimti commented Apr 19, 2017

Google Chrome, Firefox, and on Electron similar view. An other separate account and an two many computers

@karlprieb
Copy link
Contributor

@dimti can you update your instance to version 0.55 and test again?

@dimti
Copy link
Author

dimti commented Apr 19, 2017

Updated to 0,55.0. Right bar with big margin from right side.

Maybe problem in node v4.4.6. Used node version by default 0.10.46, but on that node version exists problems with bcrypt npm package. And after up to 0.55 (or after my handle changes in node_modules/.../bcrypt package files, i see other error in journal if started rocket chat on node v0.10.46

апр 20 00:45:10 osboxes rocketchat[31220]: /usr/share/rocketchat-server/bundle/programs/server/mini-files.js:74
апр 20 00:45:10 osboxes rocketchat[31220]: const unicodeNormalizePath = (path) => {
апр 20 00:45:10 osboxes rocketchat[31220]:                                      ^
апр 20 00:45:10 osboxes rocketchat[31220]: SyntaxError: Unexpected token >
апр 20 00:45:10 osboxes rocketchat[31220]:     at Module._compile (module.js:439:25)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Object.Module._extensions..js (module.js:474:10)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Module.load (module.js:356:32)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Function.Module._load (module.js:312:12)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Module.require (module.js:364:17)
апр 20 00:45:10 osboxes rocketchat[31220]:     at require (module.js:380:17)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Object.<anonymous> (/usr/share/rocketchat-server/bundle/programs/server/boot.js:9:13)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Module._compile (module.js:456:26)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Object.Module._extensions..js (module.js:474:10)
апр 20 00:45:10 osboxes rocketchat[31220]:     at Module.load (module.js:356:32)

On node v4.4.6 rocketchat started and in log exists some errors

апр 20 00:45:37 osboxes rocketchat[31947]: Reading configuration from /etc/rocketchat/rocketchat-server.conf
апр 20 00:45:37 osboxes rocketchat[31947]: Sourcing nvm script at /usr/share/nvm/init-nvm.sh
апр 20 00:45:38 osboxes rocketchat[31947]: Installing nodejs version 4.4.6 via nvm.
апр 20 00:45:39 osboxes rocketchat[31947]: v4.4.6 is already installed.
апр 20 00:45:40 osboxes rocketchat[31947]: Now using node v4.4.6 (npm v2.15.5)
апр 20 00:45:41 osboxes rocketchat[31947]: Now using node v4.4.6 (npm v2.15.5)
апр 20 00:45:41 osboxes rocketchat[31947]: Installing rocketchat npm dependencies.
апр 20 00:45:42 osboxes rocketchat[31947]: npm WARN package.json [email protected] No description
апр 20 00:45:42 osboxes rocketchat[31947]: npm WARN package.json [email protected] No repository field.
апр 20 00:45:42 osboxes rocketchat[31947]: npm WARN package.json [email protected] No README data
апр 20 00:45:42 osboxes rocketchat[31947]: npm WARN package.json [email protected] No license field.
апр 20 00:45:42 osboxes rocketchat[31947]: > [email protected] install /usr/share/rocketchat-server/bundle/programs/server
апр 20 00:45:42 osboxes rocketchat[31947]: > node npm-rebuild.js
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Linux 4.10.8-1-ARCH
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! argv "/home/osboxes/.nvm/versions/node/v4.4.6/bin/node" "/home/osboxes/.nvm/versions/node/v4.4.6/bin/npm" "rebuild" "--update-binary"
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! node v4.4.6
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! npm  v2.15.5
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! path /usr/share/rocketchat-server/bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt/bin/grunt
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! code EPERM
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! errno -1
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! syscall chmod
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Error: EPERM: operation not permitted, chmod '/usr/share/rocketchat-server/bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt/bin/grunt'
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     at Error (native)
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!  { [Error: EPERM: operation not permitted, chmod '/usr/share/rocketchat-server/bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt/bin/grunt']
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!   errno: -1,
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!   code: 'EPERM',
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!   syscall: 'chmod',
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!   path: '/usr/share/rocketchat-server/bundle/programs/server/npm/node_modules/meteor/emojione_emojione/node_modules/grunt/bin/grunt' }
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Please try running this command again as root/Administrator.
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Please include the following file with any support request:
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     /usr/share/rocketchat-server/bundle/programs/server/npm/node_modules/meteor/emojione_emojione/npm-debug.log
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Linux 4.10.8-1-ARCH
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! argv "/home/osboxes/.nvm/versions/node/v4.4.6/bin/node" "/home/osboxes/.nvm/versions/node/v4.4.6/bin/npm" "install"
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! node v4.4.6
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! npm  v2.15.5
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! code ELIFECYCLE
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! [email protected] install: `node npm-rebuild.js`
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Exit status 255
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Failed at the [email protected] install script 'node npm-rebuild.js'.
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! This is most likely a problem with the meteor-dev-bundle package,
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! not with npm itself.
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Tell the author that this fails on your system:
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     node npm-rebuild.js
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! You can get information on how to open an issue for this project with:
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     npm bugs meteor-dev-bundle
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Or if that isn't available, you can get their info via:
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     npm owner ls meteor-dev-bundle
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! There is likely additional logging output above.
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR! Please include the following file with any support request:
апр 20 00:45:45 osboxes rocketchat[31947]: npm ERR!     /usr/share/rocketchat-server/bundle/programs/server/npm-debug.log
апр 20 00:45:45 osboxes rocketchat[31947]: Starting rocketchat...
апр 20 00:45:51 osboxes rocketchat[31947]: Will load cache for users

RocketChat install on ArchLinux from aur. Systemd service file execute bash script from aur vendor. That is code rocketchat-server.sh


BASE_DIR=/usr/share/rocketchat-server/bundle
CONFIG_FILE=/etc/rocketchat/rocketchat-server.conf
NVM_SCRIPT=/usr/share/nvm/init-nvm.sh
NODE_VERSION=0.10.46
NODE_VERSION=4.4.6

errorout() { echo "$@" && exit 1; }

# Read rocketchat configuration.
[[ ! -r "${CONFIG_FILE}" ]] && errorout "Could not read ${CONFIG_FILE}!"
echo "Reading configuration from ${CONFIG_FILE}"
# Automatically export variables from CONFIG_FILE.
set -a
. "${CONFIG_FILE}"
set +a
[[ -z "${ROOT_URL}" ]] && errorout "No ROOT_URL found in ${CONFIG_FILE}!"

# Prepare node environment.
echo "Sourcing nvm script at ${NVM_SCRIPT}"
source "${NVM_SCRIPT}"
echo "Installing nodejs version ${NODE_VERSION} via nvm."
nvm install "${NODE_VERSION}"
nvm use "${NODE_VERSION}"

# Install dependencies.
cd "${BASE_DIR}/programs/server"
echo "Installing rocketchat npm dependencies."
npm install

# Run the rocketchat server.
echo "Starting rocketchat..."
node "${BASE_DIR}/main.js"

@honnel
Copy link

honnel commented Apr 27, 2017

Same issue here, what kind of info (bildschirmfoto 2017-04-27 um 08 14 42) do you need?

@MartinSchoeler
Copy link
Contributor

This pr should probably have fixed that #7448 . Please reopen this if the problem persists. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants