简体   繁体   English

Bitnami Wordpress:安装主题错误“无法复制文件”

[英]Bitnami Wordpress: Installing theme error 'Could not copy file'

I have downloaded the Bitnami Wordpress stack ( https://bitnami.com/stack/wordpress ). 我已经下载了Bitnami Wordpress堆栈( https://bitnami.com/stack/wordpress )。 It all seems to have installed perfectly fine. 一切似乎都安装得很好。 I go into wordpress on my browser and log in. I have purchased a wordpress theme which I know works because I have used it before in a different project. 我在浏览器上进入wordpress并登录。我购买了一个wordpress主题,该主题我知道它是有效的,因为我之前曾在另一个项目中使用过它。 When I go 'Appearence > Themes > Add new > Upload theme' then upload my .zip file of my theme I get the following result: 当我转到“外观>主题>添加新的>上传主题”,然后上传主题的.zip文件时,我得到以下结果:

Unpacking the package… 正在拆包...

Could not copy file. 无法复制文件。 shopkeeper/settings/redux/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_highlight-soft_75_cccccc_1x100.png 店主/设置/ redux / ReduxCore /资产/ css /供应商/jquery-ui-bootstrap/images/ui-bg_highlight-soft_75_cccccc_1x100.png

I have read that this is probably due to the permissions settings but any solutions I find don't appear to be applicable to the Bitnami Wordpress stack. 我已经读到这可能是由于权限设置引起的,但是我发现的任何解决方案似乎都不适用于Bitnami Wordpress堆栈。

I am relatively new to Wordpress and website development but I couldn't find a solution, or at least not one I could understand. 我对Wordpress和网站开发比较陌生,但找不到解决方案,或者至少没有一个我能理解的解决方案。 I really appreciate any ideas as to how to fix this. 我非常感谢有关解决此问题的任何想法。

Thank-you. 谢谢。

You are right, it is probably due to permissions. 没错,这可能是由于权限所致。 You can find a section with some help in the Bitnami Wiki: https://wiki.bitnami.com/Applications/BitNami_Wordpress/Troubleshooting_WordPress#Wordpress_Plugins_Troubleshooting 您可以在Bitnami Wiki中找到具有帮助的部分: https ://wiki.bitnami.com/Applications/BitNami_Wordpress/Troubleshooting_WordPress#Wordpress_Plugins_Troubleshooting

Basically, connect to your server and execute the following, replacing '[installdir]' for the path to the installation directory of Bitnami Wordpress Stack: 基本上,连接到服务器并执行以下操作,将'[installdir]'替换为Bitnami Wordpress Stack安装目录的路径:

sudo chown -R bitnami:daemon [installdir]/apps/wordpress/htdocs/wp-content
sudo chmod -R g+w [installdir]/apps/wordpress/htdocs/wp-content

You can also visit our community forum, focused on solving issues and questions about Bitnami Stacks so we don't fill StackOverflow with very specific questions not programming related ;) https://community.bitnami.com 您也可以访问我们的社区论坛,该论坛侧重于解决有关Bitnami Stacks的问题和问题,因此我们不会在StackOverflow中填充与编程无关的非常具体的问题;) https://community.bitnami.com

Disclaimer: I work at Bitnami 免责声明:我在Bitnami工作

When I click update on a plugin I was asked to FTP and after a few hours it hit me. 当我单击插件上的更新时,系统要求我使用FTP,几个小时后它被击中。 I fixed it by setting the hostname to "localhost" instead of using the IP. 我通过将主机名设置为“ localhost”而不是使用IP来修复它。

This is because there was a loop happening and making the file upload fail and that's logged in the /var/log/vsftpd.log 这是因为发生了循环,使文件上传失败,并记录在/var/log/vsftpd.log中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:安装 Unyson 时出错:无法创建目录。 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/unyson/ - Error : An error occurred while installing Unyson: Could not create directory. /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/unyson/ 安装 Scalia 主题时出现 WordPress 错误 500 - WordPress Error 500 while installing Scalia theme 在Ampps上安装wordpress主题时出错(Softaculous) - error when installing a wordpress theme on Ampps (Softaculous) 安装Gon WordPress主题时出错 - Error when installing Gon WordPress theme 安装父主题时出现Wordpress错误 - Wordpress error when installing parent theme Wordpress Plugin Update Failed Could not copy file 错误发生 - Wordpress Plugin Update Failed Could not copy file error occurs WordPress的复制插件上传文件到主题目录 - wordpress copy plugin uploaded file to theme dir 如何使用 style.css 文件在 AWS Lightsail 中的 bitnami Wordpress 中检查代码中的主题颜色 - how to check theme color in code in bitnami Wordpress in AWS Lightsail using style.css file 在Wordpress中将文件的更改从父主题复制并复制到子主题 - Copy and replicate changes of file on from parent theme to child theme in Wordpress WordPress的:安装插件错误->无法创建目录 - Wordpress: Installing Plugin error -> Could not create directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM