Put in your credentials that you'd access your FTP as and the plugin will update.
If you're experiencing issues updating a plugin through the admin console of your Oxwall installation and it's asking for FTP credentials, it's likely due to the file permissions and ownership settings on your server. Here's how you can troubleshoot and resolve this issue:
Check File Permissions:
Ensure that the directory where Oxwall is installed and the plugin directories have the correct permissions. The Apache user (often "www-data" or "apache") should have read and write access to these directories. You can use the chmod command to adjust permissions if necessary. For example:
bash
Copy code
sudo chown -R apache:apache /path/to/oxwall
Check PHP User:
Make sure that PHP is running as the same user that owns the Oxwall files. You can check the PHP user by creating a PHP script containing phpinfo(); and accessing it through a web browser. Look for the "User" and "Group" values to see which user and group PHP is using. They should match the user and group that owns Oxwall.
Check PHP Configuration:
Verify that PHP's open_basedir and safe_mode settings are not causing issues. These settings can sometimes restrict file operations. Check your PHP configuration files (php.ini) for these settings.
FTP Configuration:
If you want to use FTP for updates, make sure you have correctly configured FTP credentials in your Oxwall settings. You'll typically find these settings in your Oxwall configuration file (e.g., ow_includes/config.php). Ensure that the FTP credentials are accurate and match your server's FTP configuration.
Debugging:
Check the Oxwall error logs and your web server's error logs for any specific error messages that might give you more information about why the update process is failing. This can provide valuable insights into the issue.
Security Considerations:
While configuring FTP for updates can solve the problem, it's essential to consider the security implications. Using FTP for updates can pose security risks, so only use it if other solutions cannot be implemented securely. Always use strong FTP credentials and consider using SFTP (SSH File Transfer Protocol) for improved security.
Once you've checked and adjusted the necessary settings, try updating your Oxwall plugins again through the admin console. If the issue persists, the error messages you find in the logs or during the update process should provide more specific clues about what's going wrong, which can help you further troubleshoot and resolve the problem.