Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: The -L- on July 06, 2009, 09:49:05 PM

Title: Packages not writable...
Post by: The -L- on July 06, 2009, 09:49:05 PM
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!

How to fix this?
I remember something like chmode command but dont know how to use it...
Title: Re: Packages not writable...
Post by: Yigal on July 07, 2009, 12:50:49 AM
Check the File Permissions (Admin -> Packages -> File Permissions) and make sure everything is correct.
Title: Re: Packages not writable...
Post by: Norv on July 07, 2009, 02:39:56 AM
Please check out:
How do I chmod? / what is chmod? (http://docs.simplemachines.org/index.php?topic=477)

Make sure the /Packages directory and everything in it is chmodded to 777, or, if after setting that, you check he folder and notice that it isn't actually at 777, then try 755.
Make also a /temp subdirectory inside /Packages, also 777 (or 755 if the first is not set).
Then try again.
Title: Re: Packages not writable...
Post by: Quokka on July 07, 2009, 03:49:20 AM
never mind
Title: Re: Packages not writable...
Post by: Yigal on July 07, 2009, 01:15:08 PM
Has the issue been resolved?
Title: Re: Packages not writable...
Post by: The -L- on July 07, 2009, 03:48:04 PM
Hmm...it wont change..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg14.imageshack.us%2Fimg14%2F2360%2F66773914.jpg&hash=614d40738c203ba59212e7cf5fa0ac9257192c4b)
I put chmod value 777 and after i press "Make changes" it turns back to 0775
Title: Re: Packages not writable...
Post by: The -L- on July 07, 2009, 05:08:05 PM
Will someone help???
Title: Re: Packages not writable...
Post by: Norv on July 08, 2009, 12:15:22 AM
775 should be good enough. (clearly your host doesn't let you set 777)
Is the whole /Packages folder 775 ? Including a subdirectory /temp in it?
Title: Re: Packages not writable...
Post by: The -L- on July 08, 2009, 06:01:57 AM
Whole forum is...but i still get this message:
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Title: Re: Packages not writable...
Post by: Norv on July 08, 2009, 06:55:14 AM
Is there a subdirectory /temp inside /Packages? If not, please make one.
Title: Re: Packages not writable...
Post by: The -L- on July 08, 2009, 05:56:47 PM
I created "temp" folder and still i can`t install/uninstall any mods...
Title: Re: Packages not writable...
Post by: Norv on July 09, 2009, 01:50:03 AM
Please check out: is the /temp folder inside /Packages 775 also?
Title: Re: Packages not writable...
Post by: The -L- on July 09, 2009, 07:37:09 AM
Is there any way via ftp to see chmod?

Cause i rly dont know witch file has what permission..

I created folder "temp" yesterday and set premission to 777 today i woke up and check temp folder wasn`t there...-.-

Now i created it again and set premissions to 775 and now i am checking if it works...

Well i managed to uninstall one of the mods that i couldn`t uninstall yesterday.But still i cant install my portal...:(
Title: Re: Packages not writable...
Post by: Norv on July 09, 2009, 10:59:13 AM
Well, any FTP client should have a way to show permissions. With some, you can do so by right clicking the file, it should be something related to permission in the menu then. Or else in a view menu perhaps.
However, the screenshot you show in a previous message is also good enough to see permissions (it says there "chmod:755").

If you managed to uninstall, then it should work I think. Please make sure that:
- the folder /Packages has 775 or at least 755, they're good,
- and there is a /temp folder inside it, also 775 or 755. Then try to install.
Title: Re: Packages not writable...
Post by: The -L- on July 09, 2009, 12:19:01 PM
As you can see on the picture i created "temp" folder and changed its premissions.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg37.imageshack.us%2Fimg37%2F2333%2Ftcmd.jpg&hash=357567e478e0b65709f63db1827ed264d344c301)

On next picture im testing connection for installing the mod...

And error shows -.-

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg525.imageshack.us%2Fimg525%2F4167%2Facp.jpg&hash=e9ab710f60dbfd9c83ad6ba71fb00b1d71a1beb5)

And the weirdest thing is that temp folder is gone...O.O

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg43.imageshack.us%2Fimg43%2F6335%2Fdisapear.jpg&hash=a69a9a45a49426b00aa018ca21031f8d2b87941c)



Aaahhh...help :DD
Title: Re: Packages not writable...
Post by: Norv on July 09, 2009, 12:57:26 PM
It seems SMF deleted the /temp folder, so the folder was writable. It's okay that it deleted it, I think, that's why it's a "temp" (temporary) folder after all, it can be deleted at the end of the procedure it was used for.
What is not okay is that it doesn't seem to have finished the job before doing so.

Please check the message in the "FTP Information Required": it says at the end of it that message "to view a list of the affected files please click here". Can you please tell, what does it say if you do?
Title: Re: Packages not writable...
Post by: The -L- on July 09, 2009, 08:00:47 PM
What a bummer omfg.....i didn`t see that and whats even worse bummer look at this...when i click that i get:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg36.imageshack.us%2Fimg36%2F7353%2F57332334.jpg&hash=9e5672c1498d29ff66a8fb08a6462fd2a148858e)

/home/vol2/byethost12.com/

byethost is my way old hosting -.- ...how do i change this to my working hosting?
Title: Re: Packages not writable...
Post by: JimM on July 09, 2009, 10:24:19 PM
You might want to download repair_settings.php.  What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)  It should fix your issue.  Make sure all the paths are correct and click save.

Additionally you can install this mod to keep the "temp" folder from being deleted.

http://custom.simplemachines.org/mods/index.php?mod=724
Title: Re: Packages not writable...
Post by: The -L- on July 10, 2009, 06:49:32 AM
In repair_Settings.php everything is cool,I don`t see any problems,all path well checked and its okay but i still get this msg...

/home/vol2/byethost12.com/...../htdocs/forum/Themes/classic/images/sp
/home/vol2/byethost12.com/...../htdocs/forum/Themes/babylon/images/sp
/home/vol2/byethost12.com/....../htdocs/forum/Themes/Default_Modern/images/sp
/home/vol2/byethost12.com/..../htdocs/forum/Themes/apollo11final/images/sp
/home/vol2/byethost12.com/........../htdocs/forum/Themes/classic/images/admin
/home/vol2/byethost12.com/....../htdocs/forum/Themes/babylon/images/admin
/home/vol2/byethost12.com/......./htdocs/forum/Themes/Default_Modern/images/admin
/home/vol2/byethost12.com/....../htdocs/forum/Themes/apollo11final/images/admin


:( :-\
Title: Re: Packages not writable...
Post by: Norv on July 10, 2009, 07:57:04 AM
Those /sp and /admin folders are not part of SMF. What is inside them? Please open /Themes/classic/images/sp and /Themes/classic/images/admin and make a screenshot with each.

Also, please download the tool here: http://www.simplemachines.org/community/index.php?topic=313201.0 and run it conforming to the instructions.
Title: Re: Packages not writable...
Post by: The -L- on July 14, 2009, 01:39:07 PM
Sorry about last few days i was at holiday...long story...nvm

So i checked now the ftp data and 80% of those themes aren`t there from my last uploading...check it...i`m using Prof theme....

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg338.imageshack.us%2Fimg338%2F1093%2Fdasdsadas.jpg&hash=b8650a3dbc475ac69267cdc29e0b3365a2b447b1)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg265.imageshack.us%2Fimg265%2F1842%2Fdasdsadasa.jpg&hash=e295aa066479cc44357726cb61380818c133e29f)


...idk why is that a problem...-.-
Title: Re: Packages not writable...
Post by: Norv on July 14, 2009, 01:44:37 PM
Quote from: Norv on July 10, 2009, 07:57:04 AM
Those /sp and /admin folders are not part of SMF. What is inside them? Please open /Themes/classic/images/sp and /Themes/classic/images/admin and make a screenshot with each.

Also, please download the tool here: http://www.simplemachines.org/community/index.php?topic=313201.0 and run it conforming to the instructions.
Title: Re: Packages not writable...
Post by: The -L- on July 14, 2009, 03:05:56 PM
Hehe,i want to check themes cause one of my members asked me to change his theme for the forum,i went to acp and see that there are like 5 different themes and below them was written (file not found) or something like that...

So i erased all but default smf and my prof themes then i runned your scan and saw that everything is green so no problems then i tried to install the mod i wanted and its a miracle  :D i managed to install it in 5 sec =]

Topic solved thanks guys =)
Title: Re: Packages not writable...
Post by: Paradox196 on July 14, 2009, 08:44:26 PM
Well thanks too much reply will package installation problem is sloved. But i replay system is still confusing me . Guys do not angry on me please quide me with few screen shots because in my admin forum in rest option is only aviable for smf default theme and me using blue crystal them and this theme name is not in list from where option can be reset. I can reset smf Default theme setting but blue crystal is not in list.  Please slove it for me. Above posts when reply appear it seems so dirty.
Title: Re: Packages not writable...
Post by: Norv on July 15, 2009, 03:44:05 AM
Paradox196, I'm afraid I don't understand very well what the problem is, but it seems not related to this. Please consider to start another topic, because this one is marked as solved, and it does not appear listed on the lists of unsolved topics of the support team.
Also, you might want to reinstall the theme.