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.
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'
/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 ..."
Incorrect settings are stored in redis database.
In order to resolve the issue, data from OA database should be pushed to redis database.
- Navigate to PCP -> Hose where webspace is stored
- Press "Sync data to redis"
If after that an error is the same, please contact Odin Technical Support to apply internal workaround.