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.

Internal content

Link on internal Article