1
genjix
Installing Xoops on sourceforge servers
  • 2005/11/22 15:05

  • genjix

  • Just popping in

  • Posts: 7

  • Since: 2005/11/22


I cannot get past the authenticating stage of the XOOPS install (checking permissions of folders and files to make sure they're world writable).
The problem is, I'm unaware of sourceforge offering to allow you to make folders world writable... I even tried logging in via ssh to run links but it didn't work.

Also the permissions of everything is 777 (chmod -R 777 * - ls -l confirms this).

How can I install XOOPS on sourceforge webspace?

Thank you for your time.

2
Corillian
Re: Installing Xoops on sourceforge servers
  • 2005/11/23 6:52

  • Corillian

  • Just popping in

  • Posts: 2

  • Since: 2005/11/23


I am also having this exact same problem. Using WinSCP through the shell to change the properties worked fine for me with previous versions of XOOPS but thus far with 2.2.3 no matter what I set the priv's too the installer tells me they can't be written to.

3
genjix
Re: Installing Xoops on sourceforge servers
  • 2005/11/23 13:00

  • genjix

  • Just popping in

  • Posts: 7

  • Since: 2005/11/22


yeah, I checked your site... Your error was exactly the same as mine.

Which version of XOOPS was the one that worked previously for you?

http://sourceforge.net/tracker/index.php?func=detail&aid=1364620&group_id=41586&atid=430840

4
genjix
Re: Installing Xoops on sourceforge servers
  • 2005/11/23 15:07

  • genjix

  • Just popping in

  • Posts: 7

  • Since: 2005/11/22


nope... tried all versions and none of them work

$ cd html
$ scp -r . hkjkjh@shds/htdocs
$ ssh shell.sf.net
> cd jnskf/htdocs
> chmod -R 777 *
> exit
$ links http://sfsite.net

and it always comes up with the perm's error for all available versions of XOOP.

5
genjix
Re: Installing Xoops on sourceforge servers
  • 2005/11/23 15:28

  • genjix

  • Just popping in

  • Posts: 7

  • Since: 2005/11/22


Ok, I have found the problem.


$your_data 
"This is the data to be stored in the text file.";

// Open the file and erase the contents if any
$fp fopen("textfile_name.txt""w");

// Write the data to the file
fwrite($fp$your_data);

// Close the file
fclose($fp);

?>

I made this and saved it as test.php

$ scp test.php genjix@shell.sf.net:/pathto/htdocs
$ ssh shell.sf.net
[genjix@sc8-pr-shell1 genjix]$ cd /home/groups/n/ni/nime/htdocs/
[genjix@sc8-pr-shell1 htdocs]$ touch textfile_name.txt
[genjix@sc8-pr-shell1 htdocs]$ chmod 666 te
test.php textfile_name.txt
[genjix@sc8-pr-shell1 htdocs]$ chmod 666 textfile_name.txt
[genjix@sc8-pr-shell1 htdocs]$ cat textfile_name.txt
[genjix@sc8-pr-shell1 htdocs]$ ls -l textfile_name.txt
-rw-rw-rw- 1 genjix nime 0 Nov 23 07:32 textfile_name.txt
[genjix@sc8-pr-shell1 htdocs]$

After doing that, loading test.php gives
Warning: fopen(textfile_name.txt): failed to open stream: Read-only file system in /home/groups/n/ni/nime/htdocs/test.php on line 6

Warning: fwrite(): supplied argument is not a valid stream resource in /home/groups/n/ni/nime/htdocs/test.php on line 9

Warning: fclose(): supplied argument is not a valid stream resource in /home/groups/n/ni/nime/htdocs/test.php on line 12


... It seems sourceforge is not allowing write access to my own files :'(

6
genjix
Re: Installing Xoops on sourceforge servers
  • 2005/11/24 14:01

  • genjix

  • Just popping in

  • Posts: 7

  • Since: 2005/11/22


Ok, I have just got an email back from sourceforge staff.

--------------------------------------------
Support Requests item #1364799, was opened at 2005-11-23 09:46
Message generated for change (Comment added) made by zigler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=200001&aid=1364799&group_id=1

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Project Web Services
>Group: First Level Support
>Status: Pending
Priority: 5
Submitted By: Amir Taaki (genjix)
>Assigned to: Erich Zigler (zigler)
>Summary: Project web services issue

Initial Comment:
Hello, it seems that I am unable to write to files
using php even when that file has rw file permissions.

I am guessing that this is only within ssh (the file
permissions), but it is crucial as I am trying to
install a content management system (XOOPS).

Thank you for your time and excellent site :)

----------------------------------------------------------------------

>Comment By: Erich Zigler (zigler)
Date: 2005-11-23 15:46

Message:
Logged In: YES
user_id=1243797

Greetings,
On 2005-08-15 we made a change to our project web servers
remounting all home directories to read-only for security
reasons. This change was originally slated for 2005-02 but
was postponed until 2005-08. More information may be found
in our Site Status:

( 2005-08-11 13:17:39 - Project Web Service ) As per the
previous announcement in the sitewide newsletter sent on
2005-02-28, the project home directories on the project web
servers will be mounted read-only on 2005-08-15 at 9:00 AM.
We highly recommend moving to a database storage mechanism
(the MySQL server we provide) or the new directory tree
provided for all data writing needs from the project web
servers. This operation is described in the following site
document:
https://sourceforge.net/docman/display_doc.php?docid=4297&group_i
d=1#permissions

The change was made on Monday morning:

( 2005-08-15 10:53:57 - Project Web Service ) Inquiries
regarding Internal Service Errors should be directed to the
administrator for the project managing that project web
site; some web-based applications (maintained by individual
projects) will malfunction due to the read-only remount of
the project group directories; data needs to be moved to the
project MySQL database, or the /tmp/persistent directory
structure as per
https://sourceforge.net/docman/display_doc.php?docid=4297&group_i
d=1#permissions

If you have any further questions please let us know.

Thank you,

Erich Zigler
First Level Technical Support, SourceForge.net

----------------------------------------------------------------------

Comment By: Erich Zigler (zigler)
Date: 2005-11-23 15:46

Message:
Logged In: YES
user_id=1243797

Greetings,

This canned response is used by the SourceForge.net team to
convey information about how this Support Request will be
handled. Please read the entirety of this comment before taking
any further action; information enclosed in this comment will
help you to ensure that you have an excellent support experience.

The SourceForge.net team takes all reported issues seriously; we
will work to provide you a complete, accurate, and timely
response to your inquiry. Information about our support policies
and procedures may be found at:
https://sourceforge.net/docman/display_doc.php?docid=11230&group_id=1

ABOUT THIS ISSUE: Based on the initial review of this request, we
have determined that this issue will be considered to have
Moderate Priority (this is signified by the summary line we use
on this request, not by the Priority setting on this request).
Issues within this category typically include service questions,
usage problems, Compile Farm usage or system issues, statistics,
and specialized requests (such as those requiring significant
administrative overview, or which require the development of a
custom solution). A description of this class of issues may be
found at:
https://sourceforge.net/docman/display_doc.php?docid=11230&group_id=1#issueclass_moderate

TRIAGE PROCESS: The initial review of this issue has resulted in
a member of the SourceForge.net staff determining who should
process this issue, and a change in the Priority, Summary,
Assignee, Group and Category settings for this request.

WHAT TO EXPECT: Issues of this nature will typically be reviewed
again by the assigned member of the SourceForge.net team within 5
business days (the SourceForge.net team works at least Monday
through Friday, 9am to 5pm Pacific, excepting holidays). Within
our next response, we will typically request additional
information about the problem you have reported, or provide you
specific troubleshooting instructions. Please wait patiently for
our next review of, and response to, this request.

INQUIRING ABOUT THE STATUS OF THIS ISSUE: Should you have
questions or concerns regarding the status of this issue, simply
add a comment to this support request. All comments you post to
this support request will be received by the SourceForge.net team
member who has been assigned this issue. Please do not submit a
second support request about this issue (add a comment to this
request instead), and do not attempt to contact the assignee of
this request via email; all additional information or comments
about this request should be posted as a comment to this request.

Thank you,

SourceForge.net support


----------------------------------------------------------------------

They do not allow any web programs to write to the file system they are hosted on...

Why does XOOPS not offer something like phpBB -
when you install phpBB, if it cannot write to the filesystem its hosted on it will send you a config.php file which you must re-upload.

XOOPS could do the same sort of thing (if its several files, just have a selection of buttons saying
download config.php
download install/somefile.php .etc)

Anyway would be nice to hear from the XOOPS developers on this.

7
Corillian
Re: Installing Xoops on sourceforge servers
  • 2005/11/25 18:37

  • Corillian

  • Just popping in

  • Posts: 2

  • Since: 2005/11/23


tnks for finding all of that out. any ideas of what to do now?

8
mamcx
Re: Installing Xoops on sourceforge servers (almost!)
  • 2006/1/11 16:39

  • mamcx

  • Just popping in

  • Posts: 4

  • Since: 2005/2/23


Hi,

I have http://mutis.sourceforge.net/ site down for a month (just in a beta stage :( )

The solution from the SF staff is move writable files to tmp/persistent folder.

I move templates_c, cache, mainfile.php and uploads. Then a do a simbolic link for this folders and files.

But I have this error: Warning: main(../mainfile.php): failed to open stream: No such file or directory in /home/groups/m/mu/mutis/htdocs/install/index.php on line 201

I don't can pass the screen where say "saving configuration data" and the error is

Warning: copy(../mainfile.php): failed to open stream: Read-only file system in /home/groups/m/mu/mutis/htdocs/install/class/mainfilemanager.php on line 52


I don't have experience in Linux or PHP, so I'm stuck here...

9
mlavwilson
Re: Installing Xoops on sourceforge servers (almost!)
  • 2006/4/19 2:02

  • mlavwilson

  • Just popping in

  • Posts: 5

  • Since: 2006/4/10


Has anyong installed this on a sourceforge site?

10
sprion
Re: Installing Xoops on sourceforge servers (almost!)
  • 2006/4/20 2:42

  • sprion

  • Just popping in

  • Posts: 33

  • Since: 2004/9/29


hhttps://xoops.org/modules/newbb/viewtopic.php?topic_id=41912&forum=7&post_id=213963#forumpost213963

perhaps this thread should become a sticky.

Installing XOOPS on SF Servers however may have other problems..

Xoops 2.2's SEND MAIL & MultiMenu would give problems.

Xoops 2.0's MAIL SETUP would be blank. MultiMenu would give problems.

These are what I'm facing and still unable to find its cure :)

Login

Who's Online

334 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 334


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits