TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 871
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 489
  • Total: 489

Cannot install TP

Started by infocom, July 31, 2006, 06:56:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

G6Cad

You cant bypass the packagemanager with a tempfolder.
Change the permissions to the package folder through FTP and then go for the install again.

Thought you said you read a lot of post on how to install ;)

infocom

I read about the error "You cannot download or install new packages because the Packages directory or one of the files in it are not writable!" and someone posted the solution to create a folder called "temp" in Packages and set to 777. It worked and it installed.. It wont install without it. At least I thought it installed. Perhaps this is a red herring.

Not sure what you mean by bypassing Package Manager.

Here's what I did:

1. Click Packages
2. Download Packages
3. Upload Package to Install. Chose the TP install file, Tinyportal0_86_rev2.zip
4. Clicked Upload
5. Got above error "You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
6. Create the folder "temp" and set permissions to 777.
7. Go back and Apply Mods again

This gives me a sucess message and asks to restart forum.

Also, I cant change permissions to Package folder so easily. The system creates the folder during install, therefore Apache/nobody owns it. This is a common issue I've seen. So I rename the Package folder to something else, download it and re-upload as Packages. Then change permissions.

infocom

OK, without creating the Packages/temp folder I am at the stage where you click Apply Mods and I get this error:
"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

I have also gone to Options and changed file permissions so "Only the standard files are writable." but still get the error.

So if creating the temp file is wrong I must have missed something.

Laurie

infocom

Also, running chmod -R 777 Packages does not work:

welshhm@host [~/public_html]# chmod -R 777 Packages
chmod: changing permissions of `Packages/Tinyportal0_86_rev2.zip': Operation not permitted
welshhm@host [~/public_html]#

G6Cad

You have to contact your host about changing the owner of the files in the forum directory. You need to have access to that kind of permissions to get the files writable by you.

Or if that dont help, you have to go with the manual install package.
It's plin copy and paste, upload some files, and then point your browser to the TP_install-php for the db install.
Nothing much really


infocom

Its a shared hosting server, as per most people who host such things. Its not feasible to keep asking hosting provider to change permissions. Anyway, are you sure its a permissions thing, as stated I can change permissions by just renaming the Packages folder to something else, downloading and re-uploading the Packages folder by FTP so I become the owner. Then I can change permissions.

The only way I get passed this error is to create a temp folder. But it does not install as you know.

Laurie

infocom

On some posts you have said you have manually changed the files.

Well instead of us manually changing the files, do you have the files changed already we can just upload? I can try that.

Otherwise another tip I found was install it on my local PC, get it running and copy it all over to the server. I may give that a go.

I really appreciate the quick response but this issue is such a common issue that it surprises me theres no quick solution for it yet, so I will have to find something else.

Thanks

Laurie


IchBin

The problem does not necessarily lie within TinyPortal. This is a server issue not really a TP issue. Your server has some restrictions in place that are keeping the TP mod from being able to do things. Therefore not a simple issue that can be fixed. This is the exact reason that there is a manual install, because not everyones server will be able to install mods via the package manager.

I don't have any 0.86 files installed ATM or I would just upload them for you. Maybe someone else does.

If you get them, all you have to do is upload all the TP files, and the ones you get from someone here (or your local machine tip), then you'll need to run the manual_install.php file to update your database for TP to work. You should be good to go after that.

infocom

Not quite a suitable answer IchBin as there are MANY Open Source software that use install processes like this and they work fine. As if they've been designed to get around the common issue of shared servers not allowing root access to change file permissions.

Anyway, I HAVE SUCCESS!!... I have figured it out although not standard of course.............

1. Upload Package as normal.

2. After Uploading the package and before clicking Apply Mods I created the Packages/temp folder as stated before, as I knew this allows me to Apply Mods.

3. I changed temp folder permissions to 777.

4. I then clicked Apply Mods

5. I got a list of all files with Test Successful message, as I did before.

Here's the new thing I tried that made it work...

6. I changed all files now unzipped into the temp folder to 777. As the Apache user nobody owns them, I had to download the temp folder, rename the one on the server, re-upload the temp folder and then I could change permissions.

7. THEN I clicked on Install Now. Do not click on Install Now before changing the permissions for all files in the temp folder else it will say its installed but you wont see the admin panel for it anywhere.

I hope this is clear for those with same problem. If not you can email me and I can try to explain it a little more.

So perhaps the team could figure out the process here and why it does not complete for some users who perhaps have permissions which are quite standard and fix it on further releases?

Thanks very much for your very prompt replies G6 and Crip even though not the solution for me.

Laurie

infocom

P.S. I think TP looks brilliant. Haven't figured it all out yet, but am quite excited so although it has installation issues for some people it looks like a really great mod so well done. I hope it was worth the time spent!!

This website is proudly hosted on Crocweb Cloud Website Hosting.