Re: SabreDav installation help

669 views
Skip to first unread message

Evert Pot

unread,
Jan 8, 2013, 12:34:12 PM1/8/13
to sabredav...@googlegroups.com
On Tuesday, January 8, 2013 5:58:59 PM UTC+1, al...@iguanaweb.com.br wrote:
Hello, my name is Alan.

Hi Alan,
 

I'm entering the world SabreDav this time. And for this reason I am having trouble understanding how to install SabreDav.


[snip]
 
This is the correct folder structure to start with SabreDav. What should I do to continue.

I'm from Brazil es'm having trouble understanding how to install and use SabreDav.

I should say: first and foremost SabreDAV is a developer library; if you are not very comfortable with (php-)programming or the command line, sabredav is probably not the right choice for you.

The instructions for setting up a CalDAV server are here:

http://code.google.com/p/sabredav/wiki/CalDAV

Cheers,
Evert


al...@iguanaweb.com.br

unread,
Jan 8, 2013, 7:01:32 PM1/8/13
to sabredav...@googlegroups.com
Hello Evert!

I understood what you said. The SabreDav is a framework that should be used as a basis for developing calendars with option to sync with smartphones and mobile devices.

The difficulty is in understanding the initial installation. I am also trying to understand if this framework only serves to synchronize the devices with which the base contains information from calendars and users.

I studied all the installation instructions, but doubts remained, by reason iste'm here pendindo a help to have a direction they keep going in this study on the SabreDav.


Sincerely,
Alan

Evert Pot

unread,
Jan 8, 2013, 7:04:10 PM1/8/13
to sabredav...@googlegroups.com
On Jan 9, 2013, at 1:01 AM, al...@iguanaweb.com.br wrote:

Hello Evert!

I understood what you said. The SabreDav is a framework that should be used as a basis for developing calendars with option to sync with smartphones and mobile devices.

The difficulty is in understanding the initial installation. I am also trying to understand if this framework only serves to synchronize the devices with which the base contains information from calendars and users.

I studied all the installation instructions, but doubts remained, by reason iste'm here pendindo a help to have a direction they keep going in this study on the SabreDav.

Did you read:


This is a pretty basic tutorial to get a working caldav server. Follow the steps, and let me know where you get stuck.

Evert

al...@iguanaweb.com.br

unread,
Jan 9, 2013, 10:40:31 AM1/9/13
to sabredav...@googlegroups.com
Hello Evert Pot

Following installation the recommended link for you:

I created a subdomain called cal.meudominio.com.br. Efetuei the library download in zip format. Unzipped all the files into the folder "cal" the subdomain. How was the estutura folders on FTP:

www /
         cal /
                     / bin
                     / docs
                     / exmaples
                     / lib
                     / tests
                     / vendor
                     /. travis.yml
                     / build.xml
                     / changelog
                     / composer.json
                     / composer.lock
                     / license
                     / readme.md


After loading all the files to the ftp folder "wcal". I followed the instruction from the Getting Started menu, so I created a file called testsabre.php and sent folder "cal". Then I ran the file testsabre.php, and the answer was: "SabreDAV 1.8.1 is installed."

Test performed, follow the link sent in talking. I created the directory "data" as explained in the link.

mkdir / data
cat examples / sql / sqlite. * | sqlite3 data / db.sqlite

chmod-Rv to data rw /


calendarserver.php then copied the file to the folder "cal", entered the link cal.meudominio.com.br / calendarserver.php and could see a page with two folders, one with the name of principals and other calendars.

Until I reached estre process. Clicking on any of the folders opens a form to create folder. By placing the name and click on create an error appears:


<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception> Sabre \ DAV \ Exception \ Forbidden </ s: exception>
<s:message> Permission denied to create directory </ s: message>
<s:sabredav-version> 1.8.1 </ s: sabredav-version>
</ d: error>

These are the procedures to follow and locked.



Sincerely;

Alan Pfeiffer

Evert Pot

unread,
Jan 9, 2013, 10:44:23 AM1/9/13
to sabredav...@googlegroups.com
> Following installation the recommended link for you:


[snip]

>
> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
> <s:exception> Sabre \ DAV \ Exception \ Forbidden </ s: exception>
> <s:message> Permission denied to create directory </ s: message>
> <s:sabredav-version> 1.8.1 </ s: sabredav-version>
> </ d: error>
>
> These are the procedures to follow and locked.
>

This is all great, and completely expected. The 'create directory' form often shows up, but you can actually not use it in most places. It's there if you're creating a WebDAV server (for files, not calendaring).

So at this point you should create a new calendar (if you have not already), and then you should be able to connect to the server with your client (iCal, thunderbird, or whatever).

Evert


Reply all
Reply to author
Forward
0 new messages