Some strange results:
Install 1: (oldest install 5 years of upgrades version 1.9.005)
php cli.php mount
filesystem://root_admin:pass@localhost/home/randy/web_root/images?user=randy&mode=0700
/home/randy/imgs
php cli.php mount --user root_admin --password pass [–domain default]
‘filesystem://default/home/randy/web_root/images?user=randy&
mode=0700’ /home/randy/imgs
You need to use --user, --password and evtl. --domain, as they are NOT
read from filesystem:// url! You also need single quotes around the URL,
to keep your shell from messing with it.
passes is root test but session creation is denied: “Wrong user-account or
-password !!!”.
Currrently, “Where should eGroupware store file content: is set to
filesystem”. I have 20 gigs of files stored there. I tried to save “custom
via mount” but it will not save.
That’s not the way it work, it will switch automatic to “custom via
mount”, once the above mount command succeeds.
Checked my egw_config and there is no vfs_fstab.
Default mount is never stored, it’s just the default.
Questions:
is vfs_fstab only set in egw_config when setting "Where should eGroupware
store file content: to mount?
if my install was initiated as default filesystem for “Where should
eGroupware store file content:” is that why the mount option does not save
now?
See above
Any idea why a session would not be created for the setup admin user?
Install 2: (recently upgraded to 1.9.011 )
Has no option in setup for “custom via mount”
php cli.php mount
’filesystem://user:pass@localhost/home/adam/www/images?user=adam&mode=0700’
/home/adam/images throws not root error (using admin user an pass and an egw
user set as root in setup)
Has no egw_vfs table
That’s odd, but without VFS will not work!
Any idea why this option would be missing?
- If I go right to scripting via calling vfs::mount - will the above errors
make any differance?
No, filemanager/cli.php also just calls it.
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
Commerzbank BLZ 55040022 | Account 218111300
IBAN DE33 5504 0022 0218 1113 00 | BIC COBADEFFXXX
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers