Package manager issue, can't write to files, think it has to do with ownership

Started by RCC_SaMiaM, July 04, 2010, 05:15:59 PM

Previous topic - Next topic

RCC_SaMiaM

Fresh install of 2.0 RC3

When I installed 1 package fine, but when trying to add more, it looks like everything works fine and says it is installed.

But what is happening is every file that is suppose to have content added doesn't get anything added.  Since nothing is added, if I try to remove the package it shows errors for all the files that needed something changed.

I have confirmed that these files have not had any changes made to them.  Owner ship of the file is correct and it has the correct permissions. 

The ownership of all files are username:group but the temp files smf makes (~) are owned by apache:apache.  I think this is the issue, I think apache:apache: isn't able to change files owned by username:group.

I am not really sure why the very first package installed ok, I would really think it was an ownership issue if it hadn't, so now I am puzzled.

greyknight17


RCC_SaMiaM

admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=0512: package_flush_cache(): some files are still not writableFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2499
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: fopen(/var/www/vhosts/diggin.us/httpdocs/Themes/default/FB_Connect.template.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2495
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: copy(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/images/facebook.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 1380
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: file_get_contents(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/images/facebook.gif) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2418
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: copy(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/images/facebook.png) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 1380
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: file_get_contents(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/images/facebook.png) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2418
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: opendir(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/fbc) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 1662
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: copy(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/FB_Connect_admin.template.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 1380
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: file_get_contents(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/FB_Connect_admin.template.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2418
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: copy(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/FB_Connect.template.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 1380
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General
http://diggin.us/index.php?action=admin;area=packages;sa=install2;package=SA_FBConnect_0.2.zip;pid=02: file_get_contents(/var/www/vhosts/diggin.us/httpdocs/Packages/temp/Themes/default/FB_Connect.template.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directoryFile: /var/www/vhosts/diggin.us/httpdocs/Sources/Subs-Package.php
Line: 2418
admin
97.106.255.199   
Today at 04:28:22 PM
9bbc3e395b310e28a928d704f7734a62
Type of error: General

greyknight17

Contact your webhost provider and give them that error message. Looks like it might be a restriction from their end that's causing this problem.


RCC_SaMiaM

The odd thing is I can unistall all the mods, and the watermark mod always installs fine (minus the language file parts) and it uninstalls fine, but the facebook integration and old post purge mods can't install at all.

I don't understand why a file can be written to for the watermark mod but no files get written to for the facebook integration and purge mods.

RCC_SaMiaM

I just checked, the watermark and fb mods change 2 of the same files, they both get changed correctly in the watermark mod but not the fb mod.  Not sure about the purge mod, didn't check that one.

RCC_SaMiaM

Any ideas?  I can't be the first to have seen this issue.  I am competent enough to manually install mods but that is gonna suck.  I have a centos server, it does have selinux, could that be an issue? ls -lZ shows the files are correct so I didn't think it had anything to do with it.

RCC_SaMiaM

I should also add that I have version 1.11 running on the same server, different site, with no issues when adding or removing packages.

xenovanis

Have you tried correcting your filepermissions in Admin -> Packages -> File permissions?

In addition, this could be of help:
http://www.simplemachines.org/community/index.php?topic=347281.0
"Insanity: doing the same thing over and over again and expecting different results."

RCC_SaMiaM

Everything is writable, that was one of the first things I checked.  I have tried all the suggestions about changing files permissions already, but like I said, works fine in 1.11, not in 2 RC3 and files and directories are exactly the same between the two.


Kill Em All

I think the only difference is that you can install mods onto custom themes optionally with the 2.0 one.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: