Search Engine: Elastic

Article ID: 132377, created on Mar 14, 2018, last review on Mar 14, 2018

  • Applies to:
  • Operations Automation 6.0

Symptoms

Publishing of WPB website fails with an error displayed on screen:

Unexpected server behavior. For details, see the product's log files.
Some errors were written to log. Please contact to administrator.

In tmp/sitebuilder.log the following lines could be seen:

[ERR]   /JsonApi/   Can't receive authorization to work with the host '10.10.20.20' with login 'f104208'

Log /var/log/h2e-ftp/errors gives more clear clues:

h2e: find_ftp_info() found HOMEDIR: /var/www/vhosts/16/04208
notice: unable to use '~/' [resolved to '/var/www/vhosts/16/04208/']: No such file or directory

Proftpd reads homedir of FTP user from redis and one could check this setting manually:

# redis-cli -s /var/lib/redis/redis.sock
# redis /var/lib/redis/redis.sock> get ftp-by-name-and-ip:f<$WEBSPACE_ID>-::ffff:<$SHARED_IP_ADDRESS>

"... /var/www/vhosts/16/04208 ..."

Cause

Incorrect settings are stored in redis database.

Resolution

In order to resolve the issue, data from OA database should be pushed to redis database.

  1. Navigate to PCP -> Hose where webspace is stored
  2. Press "Sync data to redis"

If after that an error is the same, please contact Odin Technical Support to apply internal workaround.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF