News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Having problems with the package manager?

Started by [Unknown], February 20, 2005, 12:32:26 AM

Previous topic - Next topic

matkins70

Quote from: Richmedia on August 29, 2006, 05:39:53 PM
Does anyone know exactly what files and directories are needed to have permissions changed? Even better, what files are needed for the package manager, period?

Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.

I've been having problems with the package manager for some time. Safe mode is off, so that's not it in my case.

I enter the ftp info, and the thing just times out on me. It used to work, strangely enough, so I must have changed something somewhere.

I did notice in an earlier reply that Packages/server.list needs Chmodded to 777. I don't have one of these files, which is where I suspect the server info might be stored. (It may have gotten lost during a previous restore). Is there any way that I can write one and ftp to where it should be, since I can't get it to create one?

I GET EXACTLY THAT PROBLEM!!  What the hell do i do to get round it????
I don't have a server.list file either.  I am new to this, so i really need help, as i would love to have mods for my forum.

JayBachatero

Make a dir called temp inside the Packages dir and CHMOD it to 777.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

virtualdave

#322
Quote from: pjr on March 10, 2006, 10:43:15 AM
It is a parameter in your PHP.ini file. You can check it's value with a call to phpinfo()
if it isnt set it causes all the problems I was having.

it was listed on the system requirments page. put I missed it
http://www.simplemachines.org/download/requirements.php

I know this is from the center of this thread but it sounds like it could be me. I have done the phpinfo.php and found that my safe mode is off. I have tried all the various Temp folder solutions and have gotten no where. I did a fresh install of RC3 and I still can't get anywhere with the package manager.

I have checked the value of the session.save_path http://www.simplemachines.org/download/requirements.phpand it is /tmp. Is this correct? If not what is correct and how do I change it.
Thanks
virtualdave

matkins70

i tried the temp folder thing before, didnt work

Richmedia

I'm about ready to drop back and punt. I chmodded everything in sight to 777, created a temp directory in the packages directory, manually deleted the installed.list and added it back, even created a blank server.list, and still no go.

Package manager still does not work for me. It all started as I recall, when I decided to change the permissions on something or other months ago, within the package manager, and then couldn't change it back.

Something is still working though, because I deliberately submitted an incorrect pass, and I got the expected response, couldn't validate error. It just won't let me validate the ftp server info.

How tough would it be to just install from scratch and add all of my settings, attachments, avatars, everything else back in? That seems extreme just to get the package manager working again, especially since all of the rest of the site is keyed in on the SMF user table for registration and the like. I'd bet there is another thread floating around somewhere.

I can install and delete themes, but can not install or delete mods.

Richmedia

I just reread the original host, and noticed the "could be caused by proper paths" comment. I think I've tried every possibility imaginable, but I'll ask anyway.

User: should this be the ftp user, or ftp user@email address.com, as is oftentimes required with ftp. I've tried both ways.

Path: the short name keeps popping up for me: public_html/forum

Oe should this be the absolute path: localhost/user/home/public_html/forum/ ???

青山 素子

User should be whatever username in whatever format you need to access FTP.

SMF guesses on the path, but oftentimes it guesses wrong (it is difficult to figure things out when FTP paths could be configured many many ways). The proper path should be the one you see when you connect with an FTP program and go to the smf folder. For example, on my servers it is "site.domain/public_html/forums" or similar.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


virtualdave

Just one more thing that is correct but my package manager won't work anyway.
vd

virtualdave

230 OK. Current restricted directory is /  What does this mean? I got it when I tried the premissions tool linked at the begining of this thread. Now I just got it on my package manager ftp interface.
VD

gerrymore

I tried to install Tiny Portlal to RC3 (fresh install). No way at all would it work. Ran perfect on RC2 though. The error message was that the packages directory, or some of the files within it, were not writable. Now, this is complete rubbish. I used shell access and changed every file and folder inside the public_html folder to 777 (no joy, same error), then to 755 (no joy, same error). I tried this on two completely different hosts with the same results, and have spent the whole day on it.

All ownerships and permissions were correct. I feel that it's more likely to be a Package Manager problem, rather than TP, this may give quite a few people problems.
SMF RC1, Tiny Portal 0.75, Coppermine 1.3.3, Flashchat.

Tony Reid

gerrymore, have you created a temp directory inside packages and chmod it to 777?
Tony Reid

SusanTN

Before they go through the trouble of creating a temp directory with permissions 777 have them try to log out and log back in again. It may fix their issue.

matkins70

I just wanna be clear.  Is anyone able to use RC3 package manager, cos i hear a lot of people having problems, and i have had no success either.

J. Williams

I seem to be having success, its all about configuration problems etc....
Joshua Jon Williams
Back in Action.

matkins70

Its just crazy, i cant see whats wrong.  i've tried everything everyone has suggested, and its made no difference.  the only time i get anything different is when i put in incorrect log-in details and it tells me.  All other times it just loads for ages, before pointing me at the file.

Richmedia

#335
Quote from: matkins70 on September 01, 2006, 06:13:06 PM
Its just crazy, i cant see whats wrong.  i've tried everything everyone has suggested, and its made no difference.  the only time i get anything different is when i put in incorrect log-in details and it tells me.  All other times it just loads for ages, before pointing me at the file.

That's been my experience as well. If I enter incorrect information, it will tell me. Correct info, it times out. I even set up a new ftp user, and logged in at the / directory on a shared server setup through a client, and the package manager still didn't recognize the settings. The temp directory set to 777 keeps disappearing. One shot and it's gone.

The settings.list file seems to be missing, and I can't get SMF to create one within the admin panel. I even tried creating a blank text file (unix line endings), set to 777, and named it settings.list, it still didn't work.

I haven't tried the log out suggestion though. It's worth a shot, I guess, but I'm not holding my breath.

In my specific case, the package manager quit on me during RC2, I wasn't able to uninstall the packages and mods before the upgrade, I was hoping that the upgrade might fix it. If I just deleted the Packages directory and copied back the blank one, or at least deleted the contents, might that help?

Okay, I'll log out now. Report back later.

Richmedia

Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!

nermeen_elhelw

my problems started when my host upgraded the server, and this somehow caused my smf board not to work, i tried (with the host help) to make it work again, but unfortunately it didnt.

i luckily had a backup from the day before

so i removed it and reinstalled it again, then i added the backup file

most of it works fine, but i'm facing some problems, one of them when applying a mod like the smf arcade, i got this message


512: parseModification(): The filename 'index.php' is not a full path!
File: /home/pharmacy/public_html/smf/Sources/Subs-Package.php
Line: 1329

this is happening with many mods

i have no idea how to deal with this, so plz if u have an idea, let me know
thanks

matkins70

Quote from: Richmedia on September 02, 2006, 05:18:50 AM
Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!

So wait.  Are u now able to install mods???  and if so, how did u log out?  Do you have to log out at specific point, like after downloading mod etc, or just log in then log out???

virtualdave

Quote from: matkins70 on September 02, 2006, 04:50:39 PM
Quote from: Richmedia on September 02, 2006, 05:18:50 AM
Guess what? The log out trick worked, I'm now able to uninstall the RC2 packages. Hopefully, I'll be able to reinstall them.

I'm not sure why I didn't think of that before, I sometimes tell our members to do exactly that, log out, log in!

I'd do a happy dance, 'cept I can't dance!

So wait.  Are u now able to install mods???  and if so, how did u log out?  Do you have to log out at specific point, like after downloading mod etc, or just log in then log out???

Well I just tried the log out solution and after reading 22+ pages of stuff I found one that worked. I uploaded the mod logged out, logged on and went to package manager and clicked apply mod. then logged out, I logged back on and went to package manager and hit apply mod again this time I entered my ftp password and it went through. There were a few more instructions that went fine. This was for the Ad Mod. I must have spent 12 hours looking for an answer to this here and on the mod support boards. I have other mods to load hopefully this will move them along too.
Many Thanks to bl968
vd

Advertisement: