Re: [gentoo-user] Is there a way to sync with next/owncloud without using the next/owncloud-client?

2022-06-04 Thread Neil Bothwick
On Sat, 4 Jun 2022 19:30:09 +0200, hitachi303 wrote:

> I am running without qt5. In my eyes it takes for ever to compile and 
> mostly I am fine without it, so loosing vlc is hard - well mplayer
> remains.
> 
> I was wondering if there is a way to sync to nextcloud / owncloud 
> (idealy to selected folders) without using qt5. The clients do have it 
> as dependency. I would even be fine without a gui. Command line would
> be enough.

There is a command line client, nextcloudcmd, installed with the
nextcloud-client package. It may be worth having a look at the source
readmes to see if you can compile this separately.


-- 
Neil Bothwick

"UNIX was not designed to stop people from doing stupid things, because
 that would also stop them from doing clever things."  -- Doug Gwyn


pgpjeUiBLLzsM.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?

2014-03-01 Thread Nilesh Govindrajan
On Sat, Mar 1, 2014 at 4:43 PM, Peter Humphrey wrote:

> On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote:
>
> > You don't need moddav for owncloud. Owncloud implements it via php.
>
> Now I am confused. Do I need to add or remove a USE flag from php or
> owncloud?
>
> # emerge -pv owncloud php
> ...
> [ebuild   R   ~] www-apps/owncloud-6.0.1:6.0.1  USE="curl mysql -postgres -
> sqlite -vhosts" 0 kB
> [ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2 calendar
> cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash
> iconv
> intl json mysql mysqli nls opcache pdo phar posix readline session
> simplexml
> sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb
> -cjk
> -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile
> -iodbc -ipv6
> -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-
> instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -
> snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy
> -wddx -
> xmlreader -xmlrpc -xpm -xslt" 0 kB
>
> I decided to try mysql (mariadb, actually) rather than sqlite; maybe I
> should
> revert to the simpler setup, or maybe I've missed something here:
>
> wstn / # emerge -pv mysql mariadb
> ...
> [ebuild   R   ~] dev-db/mariadb-5.5.32  USE="community pam perl ssl
> -cluster -
> debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal
> -oqgraph
> (-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc
> {-test}" 0
> kB
> [ebuild   R   ~] virtual/mysql-5.5  USE="-embedded -minimal -static" 0 kB
>
> --
> Regards
> Peter
>
>
>

Nothing to get confused. Just install ownCloud like you'd install Wordpress
on Apache server, i.e. configure apache to run php scripts some way and run
the owncloud installer. That's it.
Since ownCloud has automatic update facility, I don't install it using
portage.


Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?

2014-03-01 Thread covici
Nilesh Govindrajan  wrote:

> On Sat, Mar 1, 2014 at 4:43 PM, Peter Humphrey wrote:
> 
> > On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote:
> >
> > > You don't need moddav for owncloud. Owncloud implements it via php.
> >
> > Now I am confused. Do I need to add or remove a USE flag from php or
> > owncloud?
> >
> > # emerge -pv owncloud php
> > ...
> > [ebuild   R   ~] www-apps/owncloud-6.0.1:6.0.1  USE="curl mysql -postgres -
> > sqlite -vhosts" 0 kB
> > [ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2 calendar
> > cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash
> > iconv
> > intl json mysql mysqli nls opcache pdo phar posix readline session
> > simplexml
> > sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb
> > -cjk
> > -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile
> > -iodbc -ipv6
> > -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-
> > instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -
> > snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy
> > -wddx -
> > xmlreader -xmlrpc -xpm -xslt" 0 kB
> >
> > I decided to try mysql (mariadb, actually) rather than sqlite; maybe I
> > should
> > revert to the simpler setup, or maybe I've missed something here:
> >
> > wstn / # emerge -pv mysql mariadb
> > ...
> > [ebuild   R   ~] dev-db/mariadb-5.5.32  USE="community pam perl ssl
> > -cluster -
> > debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal
> > -oqgraph
> > (-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc
> > {-test}" 0
> > kB
> > [ebuild   R   ~] virtual/mysql-5.5  USE="-embedded -minimal -static" 0 kB
> >
> > --
> > Regards
> > Peter
> >
> >
> >
> 
> Nothing to get confused. Just install ownCloud like you'd install Wordpress
> on Apache server, i.e. configure apache to run php scripts some way and run
> the owncloud installer. That's it.
> Since ownCloud has automatic update facility, I don't install it using
> portage.

I installed owncloud, but I could not sync an iphone -- at least not to
the calendar part of owncloud.  It didn't complain about the password or
anything, but just sat there after I created the account on the phone.
Has anyone gotten such a thing to actually work?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Is there a way to sync with next/owncloud without using the next/owncloud-client?

2022-06-04 Thread hitachi303



Hi,

I am running without qt5. In my eyes it takes for ever to compile and 
mostly I am fine without it, so loosing vlc is hard - well mplayer remains.


I was wondering if there is a way to sync to nextcloud / owncloud 
(idealy to selected folders) without using qt5. The clients do have it 
as dependency. I would even be fine without a gui. Command line would be 
enough.
I know I can up- and download using firefox or any other browser but 
this is not what I am looking for.


Sincerely



Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?

2014-03-01 Thread Peter Humphrey
On Friday 28 Feb 2014 16:31:39 Nilesh Govindrajan wrote:

> You don't need moddav for owncloud. Owncloud implements it via php.

Now I am confused. Do I need to add or remove a USE flag from php or owncloud?

# emerge -pv owncloud php
...
[ebuild   R   ~] www-apps/owncloud-6.0.1:6.0.1  USE="curl mysql -postgres -
sqlite -vhosts" 0 kB
[ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2 calendar 
cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv 
intl json mysql mysqli nls opcache pdo phar posix readline session simplexml 
sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath -cdb -cjk 
-debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -iodbc 
-ipv6 
-kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-
instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -
snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx -
xmlreader -xmlrpc -xpm -xslt" 0 kB

I decided to try mysql (mariadb, actually) rather than sqlite; maybe I should 
revert to the simpler setup, or maybe I've missed something here:

wstn / # emerge -pv mysql mariadb
...
[ebuild   R   ~] dev-db/mariadb-5.5.32  USE="community pam perl ssl -cluster -
debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -oqgraph 
(-pbxt) -profiling (-selinux) -sphinx -static -systemtap -tcmalloc {-test}" 0 
kB
[ebuild   R   ~] virtual/mysql-5.5  USE="-embedded -minimal -static" 0 kB

-- 
Regards
Peter




Re: [gentoo-user] nextcloud or owncloud and qt5 or rclone

2023-01-26 Thread Neil Bothwick
On Thu, 26 Jan 2023 22:18:44 +0100, hitachi303 wrote:

> so until now I am running my box without qt5. Compiling takes so long.
> 
> But I am missing a client for owncloud or nextcloud. So I see 
> nextcloud-cliend does not run without qt5. It does not need webengine 
> but still. So I see as alternativ there is rclone. From the size of the 
> download it seems to be even bigger.

The download size isn't really relevant, it's the amount of dependencies.
rclone uses Go AFAIR, so that's a lot less to build than Qt5.
 
> Does anyone have experience with rclone?

I use it regularly, although not with NextCloud (I use the Qt client for
that as I run KDE). It's basically rsync for cloud providers and should
work well with NextCloud, although you won't get the automatic syncing of
changes that you get with the client


-- 
Neil Bothwick

If it isn't broken, I can fix it.


pgptLxJH7l3X0.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] nextcloud or owncloud and qt5 or rclone

2023-02-23 Thread David Rosenbaum
Dave

On Thu, Jan 26, 2023, 17:51 Neil Bothwick  wrote:

> On Thu, 26 Jan 2023 22:18:44 +0100, hitachi303 wrote:
>
> > so until now I am running my box without qt5. Compiling takes so long.
> >
> > But I am missing a client for owncloud or nextcloud. So I see
> > nextcloud-cliend does not run without qt5. It does not need webengine
> > but still. So I see as alternativ there is rclone. From the size of the
> > download it seems to be even bigger.
>
> The download size isn't really relevant, it's the amount of dependencies.
> rclone uses Go AFAIR, so that's a lot less to build than Qt5.
>
> > Does anyone have experience with rclone?
>
> I use it regularly, although not with NextCloud (I use the Qt client for
> that as I run KDE). It's basically rsync for cloud providers and should
> work well with NextCloud, although you won't get the automatic syncing of
> changes that you get with the client
>
>
> --
> Neil Bothwick
>
> If it isn't broken, I can fix it.
>


[gentoo-user] nextcloud or owncloud and qt5 or rclone

2023-01-26 Thread hitachi303

Hi,

so until now I am running my box without qt5. Compiling takes so long.

But I am missing a client for owncloud or nextcloud. So I see 
nextcloud-cliend does not run without qt5. It does not need webengine 
but still. So I see as alternativ there is rclone. From the size of the 
download it seems to be even bigger.


Does anyone have experience with rclone? Or is there a third 
alternative? (except the using the web interface with firefox or 
anything like this.)


Regards

hitachi303



Re: [gentoo-user] Is there a way to sync with next/owncloud without using the next/owncloud-client?

2022-06-04 Thread John Covici


On Sat, 04 Jun 2022 13:30:09 -0400,
hitachi303 wrote:
> 
> 
> Hi,
> 
> I am running without qt5. In my eyes it takes for ever to compile
> and mostly I am fine without it, so loosing vlc is hard - well
> mplayer remains.
> 
> I was wondering if there is a way to sync to nextcloud / owncloud
> (idealy to selected folders) without using qt5. The clients do
> have it as dependency. I would even be fine without a
> gui. Command line would be enough.
> I know I can up- and download using firefox or any other browser
> but this is not what I am looking for.
You can certainly upload by mounting the nextcloud  data directory
using davfs, but when you upload something, you may need to change the
ownership of  the files.  I don't know a way to share a link to a file
except by the gui.
 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] trying to find the cause of an http 500 error

2017-05-04 Thread John Covici
Hi folks.  I am running owncloud  which I like a lot, but for the past
few days I have been getting a 500 response when I try to  log in to
the server.

Now when I look at the apache logs I see nothing about the error, I
just get lines like this:
[Thu May 04 23:37:10.802948 2017] [ssl:info] [pid 14953] [client
192.168.0.2:50009] AH01964: Connection to child 2 established (server
ccs.covici.com:443)


Even if I set loglevel debug in my apache configuration, I don't get
any more about the 500 error, just a lot about ssl.

Now after a lot of googling, I am told that the reason for the 50
response is a php fatal error.  But I have log_errors as one in the
/etc/php/apache2-php5.6/php.ini and I have the errors logged to a file
/var/log/apache2/php_errors.log .  So, why are these fatal errors not
being logged?

In case of some crazy thing in owncloud turning off logging or
something, I wrote a program which triggers a fatal error  (I know
it does using the cli) and ran it under apache and nothing is being
logged.

So, the question is how to get it so I can see the fatal error, so I
can get my owncloud working again?

Thanks in advance for any suggestions.



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Frustrating error message from layman

2014-01-09 Thread Peter Humphrey
On Thursday 09 Jan 2014 16:10:11 walt wrote:

> #cat /var/lib/layman/make.conf
> PORTDIR_OVERLAY='/usr/local/portage'

You're short of the rest of the definition. Here's mine:

$ cat /var/lib/layman/make.conf
PORTDIR_OVERLAY="
/var/lib/layman/owncloud-client
$PORTDIR_OVERLAY
"

Of course there's no difference if $PORTDIR_OVERLAY was empty before.

-- 
Regards
Peter




Re: Fwd: Re: [gentoo-user] Two identical systems - different!

2014-03-04 Thread Peter Humphrey
On Tuesday 04 Mar 2014 20:08:57 Mick wrote:
> On Tuesday 04 Mar 2014 15:47:05 Peter Humphrey wrote:
> > Whatever I've tried, I still can't get owncloud installed properly, not
> > even by running their installer script to fetch and install version 6.0.2,
> > just released. That's why I felt forced into the brute-force method.
> 
> What you describe as "installed properly" boils down to using wget to
> download their latest release, untarring it into your /var/www/owncloud
> directory and checking that ownership and access rights are correctly set.
> 
> The manual install instructions explain how to do this step by step on their
> website.
> 
> Are you getting some particular error when you try to load it in a browser?

Yes, I am. I can do those things, or I can install from the ebuild, and in 
either case the file structure under /var/www/localhost/htdocs/owncloud looks 
fine, permissions and all (I haven't yet tried using vhosts). Then when I 
browse to owncloud it asks for an admin name and password, then runs through 
post-install checks and announces "Your web server is not yet properly setup 
to allow files synchronisation because the WebDAV interface seems to be 
broken."

Since owncloud's DAV functionality is built into its own PHP code, I can only 
suppose that I have a USE flag wrong here:

[ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2 calendar 
cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv 
intl ipv6 json mysql mysqli nls opcache pdo phar posix readline session 
simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath 
-cdb -cjk -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -
iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-
instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -
snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx -
xmlreader -xmlrpc -xpm -xslt"

Everything the instructions ask for is in that list, unless I've missed 
something, but maybe something else needs changing.

As I said before, usually everything is emerged in a chroot on this 
workstation, with the Atom's package directory nfs-mounted in the chroot, then 
installed on the Atom from the packages. Maybe that arrangement is exposing 
some obscure fault, which is why I'm currently running emerge -e world 
natively on the Atom, without reference to the pre-built packages. That should 
have finished by the end of the night and then I'll see if there's a 
difference. 
This is one expensive test in machine cycles and clock time.

-- 
Regards
Peter




Re: Fwd: Re: [gentoo-user] Two identical systems - different!

2014-03-05 Thread Peter Humphrey
On Wednesday 05 Mar 2014 13:49:00 Mick wrote:
> On Tuesday 04 Mar 2014 23:38:04 Peter Humphrey wrote:
> > On Tuesday 04 Mar 2014 20:08:57 Mick wrote:
> > > On Tuesday 04 Mar 2014 15:47:05 Peter Humphrey wrote:
> > > > Whatever I've tried, I still can't get owncloud installed properly,
> > > > not
> > > > even by running their installer script to fetch and install version
> > > > 6.0.2, just released. That's why I felt forced into the brute-force
> > > > method.
> > > 
> > > What you describe as "installed properly" boils down to using wget to
> > > download their latest release, untarring it into your /var/www/owncloud
> > > directory and checking that ownership and access rights are correctly
> > > set.
> > > 
> > > The manual install instructions explain how to do this step by step on
> > > their website.
> > > 
> > > Are you getting some particular error when you try to load it in a
> > > browser?
> > 
> > Yes, I am. I can do those things, or I can install from the ebuild, and in
> > either case the file structure under /var/www/localhost/htdocs/owncloud
> > looks fine, permissions and all (I haven't yet tried using vhosts). Then
> > when I browse to owncloud it asks for an admin name and password, then
> > runs through post-install checks and announces "Your web server is not yet
> > properly setup to allow files synchronisation because the WebDAV interface
> > seems to be broken."
> > 
> > Since owncloud's DAV functionality is built into its own PHP code, I can
> > only suppose that I have a USE flag wrong here:
> > 
> > [ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2
> > calendar
> > cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash
> > iconv intl ipv6 json mysql mysqli nls opcache pdo phar posix readline
> > session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip
> > zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile
> > -frontbase -imap -inifile - iodbc -kerberos -ldap -ldap-sasl -libedit
> > -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres
> > -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell
> > -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm
> > -xslt"
> 
> This looks fine.

That's good - thanks.

> > Everything the instructions ask for is in that list, unless I've missed
> > something, but maybe something else needs changing.
> 
> md is not in the list.  I don't know if it is built as a default, or if you
> need to emerge dev-php/phpmd.  In any case, I wouldn't expect this to have
> anything to do with webDAV.

Is that the mess detector? If so it's keyworded and I'm sure I haven't 
installed it before, whereas I had owncloud running ok before my hard disk 
failure. That failure caused me to rebuild from scratch on its SSD 
replacement, because so many disk-unreadable errors came up at the end that I 
didn't trust anything stored on it.

> Have you manually disabled webDAV in your apache configuration?
> 
> You will need to set 'Dav Off' under the entry for your  /var/www/owncloud>.  You will also need to check that you have *not* enabled
> authentication at apache level because this is managed by the php code and
> you have also set 'Satisfy Any' under 'Allow from all'.

I've included this stanza in default_vhost.include:


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Satisfy Any
#   Dav Off


With that # mark omitted I get this:

# /etc/init.d/apache2 start
 * apache2 has detected an error in your setup:
Syntax error on line 70 of /etc/apache2/vhosts.d/default_vhost.include:
Invalid command 'Dav', perhaps misspelled or defined by a module not included 
in the server configuration
 * ERROR: apache2 failed to start

So the WebDAV module is not available, which makes sense because it isn't 
specified in /etc/conf.d/apache2. With the # present I still get the error from 
owncloud. Apache was remerged overnight; PHP has just finished, but reloading 
Apache still gives me the owncloud WebDAV error - so PHP isn't to blame.

> Finally, increase verbosity in apache to see what access errors it reports.

Good idea. Thanks again Mick.

I've just found something odd. It looks like Apache is not listing on IPv4, 
only IPv6:

# netstat -tulpen | grep apache
tcp6   0  0 :::80   :::*LISTEN  
0  225562 29055

Re: Fwd: Re: [gentoo-user] Two identical systems - different!

2014-03-05 Thread Mick
On Tuesday 04 Mar 2014 23:38:04 Peter Humphrey wrote:
> On Tuesday 04 Mar 2014 20:08:57 Mick wrote:
> > On Tuesday 04 Mar 2014 15:47:05 Peter Humphrey wrote:
> > > Whatever I've tried, I still can't get owncloud installed properly, not
> > > even by running their installer script to fetch and install version
> > > 6.0.2, just released. That's why I felt forced into the brute-force
> > > method.
> > 
> > What you describe as "installed properly" boils down to using wget to
> > download their latest release, untarring it into your /var/www/owncloud
> > directory and checking that ownership and access rights are correctly
> > set.
> > 
> > The manual install instructions explain how to do this step by step on
> > their website.
> > 
> > Are you getting some particular error when you try to load it in a
> > browser?
> 
> Yes, I am. I can do those things, or I can install from the ebuild, and in
> either case the file structure under /var/www/localhost/htdocs/owncloud
> looks fine, permissions and all (I haven't yet tried using vhosts). Then
> when I browse to owncloud it asks for an admin name and password, then
> runs through post-install checks and announces "Your web server is not yet
> properly setup to allow files synchronisation because the WebDAV interface
> seems to be broken."
> 
> Since owncloud's DAV functionality is built into its own PHP code, I can
> only suppose that I have a USE flag wrong here:
> 
> [ebuild   R] dev-lang/php-5.5.9:5.5  USE="apache2 berkdb bzip2 calendar
> cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash
> iconv intl ipv6 json mysql mysqli nls opcache pdo phar posix readline
> session simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip
> zlib -bcmath -cdb -cjk -debug -embed -enchant -firebird -flatfile
> -frontbase -imap -inifile - iodbc -kerberos -ldap -ldap-sasl -libedit
> -libmysqlclient -mhash -mssql -oci8- instant-client -odbc -pcntl -postgres
> -qdbm -recode (-selinux) -sharedmem - snmp -soap -sockets -spell
> -sybase-ct -systemd -sysvipc -threads -tidy -wddx - xmlreader -xmlrpc -xpm
> -xslt"

This looks fine.


> Everything the instructions ask for is in that list, unless I've missed
> something, but maybe something else needs changing.

md is not in the list.  I don't know if it is built as a default, or if you 
need to emerge dev-php/phpmd.  In any case, I wouldn't expect this to have 
anything to do with webDAV.

Have you manually disabled webDAV in your apache configuration?

You will need to set 'Dav Off' under the entry for your .  You will also need to check that you have *not* enabled 
authentication at apache level because this is managed by the php code and you 
have also set 'Satisfy Any' under 'Allow from all'.

Finally, increase verbosity in apache to see what access errors it reports.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT?] How to get WebDAV going on Apache?

2014-03-12 Thread Peter Humphrey
On Friday 28 Feb 2014 11:01:07 Neil Bothwick wrote:
> On Fri, 28 Feb 2014 10:55:59 +, Peter Humphrey wrote:
> > Apologies if this is off-topic here but I don't know where else to ask.
> > I'm having trouble getting owncloud installed on my LAN mini-server.
> > Its post-inst check complains "the WebDAV interface seems to be broken."
> 
> It works for me here.

--->8

Neil, would you mind comparing your USE flags for dev-lang/php with mine, 
please? I have this:

[ebuild   R] dev-lang/php-5.5.10:5.5  USE="apache2 berkdb bzip2 calendar 
cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm gmp hash iconv 
intl ipv6 json mysql mysqli nls opcache pdo phar posix readline session 
simplexml sqlite ssl tokenizer truetype unicode xml xmlwriter zip zlib -bcmath 
-cdb -cjk -debug -embed -enchant -firebird -flatfile -frontbase -imap -inifile -
iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -oci8-
instant-client -odbc -pcntl -postgres -qdbm -recode (-selinux) -sharedmem -
snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -wddx -
xmlreader -xmlrpc -xpm -xslt" 12,796 kB

I'm still getting the broken-WebDAV error.

-- 
Regards
Peter




Re: [gentoo-user] Catastrophic bug in the firefox 'ProfileManager' function

2015-07-21 Thread wraeth
On Tue, Jul 21, 2015 at 10:05:57PM -0400, cov...@ccs.covici.com wrote:
> Neil Bothwick  wrote:
> > 
> > Have you tried KeePass? It doe what you are doing but with a decent
> > interface and the ability to type the details into web pages for you.
> 
> But does it store the data on someone's server?  Where they could have a
> data breech?
> 

As discussed in a related subthread (at least, it's inferred, though not
explicitly stated) KeePass uses file-based storage on the local machine
it's running on - passwords are stored in a *.kdb file - so you're not
sharing your passwords, encrypted or otherwise, with any third party.

This can be extended using some filesharing service - either commercial
or personally run - to allow syncing of passwords between devices (or
more accurately, syncing of KeePass databases between devices).

KeePass is Qt based and has a client at least for Linux and Windows, as
well as an Android app (DroidPass). I personally sync my .kdb using an
ownCloud instance, whereas Neil uses SyncThing, a peer-to-peer sync
service.

Utilities available in Gentoo are:

  app-admin/keepassx
  dev-python/keepassx
  dev-perl/File-KeePass

One I'm not certain of but, judging from the name may also be related,
is:

  app-admin/keepass
-- 
wraeth 
GnuPG Key: B2D9F759


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: replacement for ftp?

2017-05-14 Thread Neil Bothwick
On Sun, 14 May 2017 02:48:46 +0100, lee wrote:

> > But you could offer access via OpenVPN and tunnel samba through
> > that.  
> 
> I haven't been able yet to figure out what implications creating a VPN
> has.  I understand it's supposed to connect networks through a secured
> tunnel, but what kind of access to the LAN does someone get who connects
> via VPN?  Besides, VPN is extremely complicated and difficult to set
> up.  I consider it an awful nightmare.

Try ZeroTier, it's easy to install and setup (there's an ebuild on b.g.o)
and provides VPN like access, but to individual machines on your network
instead of exposing the entire network to these incompetent people. You
administer ZeroTier centrally, the users only need to install the
software and join the network - then you can give them access to the
Samba server and nothing else on your network.

However, I think owncloud/nextcloud might be a better option. As long as
your users can use a web browser, they can use this and no extra software
is needed.

Another option may be Syncthing, which syncs a local directory with one
over the network. It's encrypted and P2P and needs minimal setup on the
client side. Once set up, they simply copy the files to a directory,
which is synced in the background.


-- 
Neil Bothwick

Hickory Dickory Dock, The mice ran up the clock, The clock struck one, The
others escaped with minor injuries.


pgpSsem40BZXE.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread Tom Wijsman
On Sun, 25 May 2014 05:38:08 -0400
cov...@ccs.covici.com wrote:

> OK, here is a link to the messages without me doing anything in gdm at
> all, just starting it.
> 
> https://covici.com/owncloud/public.php?service=files&t=85cffe78261eacc915379ff5d5449d18

There are some warnings and errors in this one, but I'm not quite sure
which one could be the problem; you can get them with a grep:

grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg

1. The GetAll() and ServiceUnknown erros are often not problematic.

2. "Unable to register client with session manager" I get too; so, not a
problem.

3. There is "Gvc-WARNING **: Failed to connect context: OK" but that is
GNOME volume control if I understood correctly; so, also not a problem.

4. The Polkit Error "No permission to trigger offline updates" might be
more concerning; though, it should just affect the update part.

5. "JS ERROR: could not get remote objects for service
org.gnome.SettingsDaemon.Smartcard" I think is due to a missing USE
flag option for the gnome-settings-daemon package; I think that's
supposed to work, so, I also don't see this as a problem.

6. "Unit dbus-org.freedesktop.NetworkManager.service failed to load" is
also something non-fatal; so, also not a problem.

TL;DR: One of these could be it, or not at all; I think the problem
you're having right now doesn't manifest itself as a warning or error,
but instead as an input / graphical problem.

Can you try a different version of GNOME? A newer might have fixed it.

If you need instructions on how to switch between specific version,
feel free to let me know. I'll try to figure out the sequence to switch
between users later today, when I can reboot my system.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman  wrote:

> On Sun, 25 May 2014 05:38:08 -0400
> cov...@ccs.covici.com wrote:
> 
> > OK, here is a link to the messages without me doing anything in gdm at
> > all, just starting it.
> > 
> > https://covici.com/owncloud/public.php?service=files&t=85cffe78261eacc915379ff5d5449d18
> 
> There are some warnings and errors in this one, but I'm not quite sure
> which one could be the problem; you can get them with a grep:
> 
> grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg
> 
> 1. The GetAll() and ServiceUnknown erros are often not problematic.
> 
> 2. "Unable to register client with session manager" I get too; so, not a
> problem.
> 
> 3. There is "Gvc-WARNING **: Failed to connect context: OK" but that is
> GNOME volume control if I understood correctly; so, also not a problem.
> 
> 4. The Polkit Error "No permission to trigger offline updates" might be
> more concerning; though, it should just affect the update part.
> 
> 5. "JS ERROR: could not get remote objects for service
> org.gnome.SettingsDaemon.Smartcard" I think is due to a missing USE
> flag option for the gnome-settings-daemon package; I think that's
> supposed to work, so, I also don't see this as a problem.
> 
> 6. "Unit dbus-org.freedesktop.NetworkManager.service failed to load" is
> also something non-fatal; so, also not a problem.
> 
> TL;DR: One of these could be it, or not at all; I think the problem
> you're having right now doesn't manifest itself as a warning or error,
> but instead as an input / graphical problem.
> 
> Can you try a different version of GNOME? A newer might have fixed it.
> 
> If you need instructions on how to switch between specific version,
> feel free to let me know. I'll try to figure out the sequence to switch
> between users later today, when I can reboot my system.
> 
> -- 
> With kind regards,
> 
> Tom Wijsman (TomWij)
> Gentoo Developer
> 
> E-mail address  : tom...@gentoo.org

More information, I am not sure if the autostart stuff works at all for
orca, but definitely if I hit super-alt-s it does start, but speech is
not there, but I can see the process, but I will play some more.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman  wrote:

> On Sun, 25 May 2014 05:38:08 -0400
> cov...@ccs.covici.com wrote:
> 
> > OK, here is a link to the messages without me doing anything in gdm at
> > all, just starting it.
> > 
> > https://covici.com/owncloud/public.php?service=files&t=85cffe78261eacc915379ff5d5449d18
> 
> There are some warnings and errors in this one, but I'm not quite sure
> which one could be the problem; you can get them with a grep:
> 
> grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg
> 
> 1. The GetAll() and ServiceUnknown erros are often not problematic.
> 
> 2. "Unable to register client with session manager" I get too; so, not a
> problem.
> 
> 3. There is "Gvc-WARNING **: Failed to connect context: OK" but that is
> GNOME volume control if I understood correctly; so, also not a problem.
> 
> 4. The Polkit Error "No permission to trigger offline updates" might be
> more concerning; though, it should just affect the update part.
> 
> 5. "JS ERROR: could not get remote objects for service
> org.gnome.SettingsDaemon.Smartcard" I think is due to a missing USE
> flag option for the gnome-settings-daemon package; I think that's
> supposed to work, so, I also don't see this as a problem.
> 
> 6. "Unit dbus-org.freedesktop.NetworkManager.service failed to load" is
> also something non-fatal; so, also not a problem.
> 
> TL;DR: One of these could be it, or not at all; I think the problem
> you're having right now doesn't manifest itself as a warning or error,
> but instead as an input / graphical problem.
> 
> Can you try a different version of GNOME? A newer might have fixed it.
> 
> If you need instructions on how to switch between specific version,
> feel free to let me know. I'll try to figure out the sequence to switch
> between users later today, when I can reboot my system.

You have been a big help -- I think I do have something running here, if
I could get orca to talk I would probably be good to go, but the
recomended keystroke super-alt-s does not work.hmmm, I was just
poking and indeed orca is starting from gdm, but it seems not to have
the correct options.  The only thing I see is
/usr/share/gdm/greeter/autostart/orca-autostart.desktop but that one
does have the correct options, but orca  definitely has no speech, so I
think my problem will be solved if I can get orca to start talking
correctly.  Now once I login orca does start talking, so its only with
the gdm that it does not work, so we are very nearly there.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Self-signed certificate & Apache

2014-04-03 Thread Mick
On Thursday 03 Apr 2014 15:42:13 Alan McKinnon wrote:
> On 03/04/2014 16:24, Peter Humphrey wrote:
> > Hello list,
> > 
> > Almost there now...
> > 
> > After receiving help from Mick K and the list (thanks again!) I've now
> > some idea of what I'm doing.
> > 
> > I've installed OwnCloud to be served over SSL. I've followed the
> > instructions here[1] to create a self-signed certificate, which is in
> > two files: cloud.crt and cloud.key. I put both of those under
> > /etc/apache2/private. I ignored the vague references to intermediate
> > files. The command I gave was:
> > 
> > # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout cloud.key
> > -out cloud.crt
> > 
> > Now when I start Apache I get this warning, twice:
> > 
> > RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE
> > !?)
> > 
> > Is this to be expected, or is anyone visiting (none expected though)
> > likely to think I'm masquerading as a certification authority?
> > 
> > [1] http://www.sslshopper.com/article-how-to-create-and-install-an-apache
> > -self-signed-certificate.html
> 
> What you've done works but you didn't do it the way Apache thinks these
> things work. You created a signing certs that is to be used to sign
> other certs, but instead used it as your SSL cert. Apache thinks this is
> unusual enough to warrant a log entry.
> 
> To be truthful you don't want to do it that way if only because it's
> contrary to what other pros except you to have done.
> 
> Third comment in this blog post gives excellent advice on how to do it
> better:
> 
> http://www.turnkeylinux.org/forum/support/20121228/rsa-server-certificate-c
> a-certificate-error

As Alan said, you have created a self-signed certificate, which in essence 
acts as its own Certification Authority (both Issuer and Subject are the 
same).  Every CA root certificate is a self-signed certificate, but they are 
typically only used to sign other certificates with, intermediate, or end 
certificates.  You configure your client to trust the CA certificate and then 
it will also trust any certificate signed by it.

If you examine the X509 structure, you will see a field like this:

X509v3 Basic Constraints:
CA:TRUE

If it were an intermediate certificate it would say:

X509v3 Basic Constraints:
CA:FALSE

This is what your browser is warning you about.  Anyone visiting the web page 
will either abort thinking that there is something dodgy with the server, or 
click fast on the ignore button on their browser and carry on.  In this case 
they could well fall victim of a man-in-the-middle attack - if they do not 
check the content of the certificate and assure themselves that they are 
visiting the domain they intended to visit.  Illegitimate certificates would 
complain in the same manner.

In any case, unless you obtain a certificate which has been signed by a CA 
that is included in the default browser root CA certificates, random visitors 
are bound to get a browser warning about the CA that issued the certificate 
not being recognised as a trusted root CA by the browser.

If they are instructed by you to accept said certificate as a trusted root CA 
in their browser, then the problem will go away as long as they are using the 
same browser on each visit.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.