Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Auto upload to server

Hello,

I’ve installed a trial version of Lighthouse Studio 9.8.0.
I’m using self hosting. Perl version on hosting: v5.22.1. All other required hosting settings are done.

I’m trying to adjust auto upload for a test project.
We assume that a few different surveys uploaded to one hosting may be conducted at the same time.
I.e. there will be a few surveys at http://test.ru, each in its folder:
http://test.ru/L0001
http://test.ru/L0002
http://test.ru/L0003
and so on.

What is the correct way to write “Web Root URL” and “Remote study path” for auto upload in the menu Hosting Management?
With Web root URL “http://test.ru” (test.ru - technical domain) and Remote study path “L0001”, there is an error
Unable to access the study.
Lighthouse Studio tried the following URLs:
http://test.ru/L0001
Not found. (HTTP status Code 404)
http://test.ru
Not found. (HTTP status Code 404)
Please check your web root URL and remote study path settings.

The index page (index.html) is in folder http://test.ru/docs/
And I tried to do like this:
Web root URL: http://test.ru/docs
Remote study path: “L0001”.
Error:
Unable to access the study.
Lighthouse Studio tried the following URLs:
http://test.ru/L0001
Not found. (HTTP status Code 404)
Please check your web root URL and remote study path settings.


Meanwhile, if upload all data manually (Prepare for manual upload), it works!
The survey is uploaded, the Admin module works, there are no errors.
I upload files to folder http://test.ru/docs/L0001
A working link for a respondent looks like this: http://test.ru/L0001/login.html

Info from Admin Module (manual upload):
+Database Connectivity
+Survey Loaded
System Information
Lighthouse Studio Version:    9_8_0
Perl Version:    5.022001
Database:    MySQL - 5.6.41-84.1
Perl Module - DBI - Version:    1.634
Perl Module - DBD::mysql - Version:    4.033
Perl Module - DBD::ODBC - Version:    1.52
Perl Module - DBD::SQLite - Version:    1.50
Perl Module - DateTime - Version:    1.21

Best regards,
Marina
asked Feb 27 by Marina (120 points)
edited Mar 6 by Marina
I tried again.
Once I’ve renamed the project and entered a new Remote study path L0003 the error text has changed:
"Unable to create remote directory /L0003. Check your server permissions and try again."

In Log file:
INFO [AutoUploader] 28 Feb 2020 12:02:43.685 : Beginning Upload Task...
INFO [FTPConnectionWrapper] 28 Feb 2020 12:02:44.981 : Calling GetSystemType()
INFO [FTPConnectionWrapper] 28 Feb 2020 12:02:44.997 : Probing chmod feature...
INFO [FTPConnectionWrapper] 28 Feb 2020 12:02:44.997 : Probe determined that the server supports the chmod feature.
INFO [AutoUploader] 28 Feb 2020 12:02:45.082 : Checking checksum file...
INFO [AutoUploader] 28 Feb 2020 12:02:45.082 : Checksum file did not exist.
ERROR [AutoUploader] 28 Feb 2020 12:02:45.097 : Unable to create remote directory /L0003.  Check your server permissions and try again.
ERROR [AutoUploader] 28 Feb 2020 12:02:45.097 : /L0003: File exists (code=550)

Your solution to the original question

Please only use this to answer the original question. Otherwise please use comments.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

To avoid this verification in future, please log in or register.
...