Marshall Sutherland
  
!Hubzilla Support Forum
Last night, I found myself using hubzilla on my phone and wanting to use the search function. I couldn't find it. Looking now, on a desktop, where I can more easily poke around, I still can't find it. Am I just not finding the icon or is it not there? Is it supposed to be there?
Mike Macgirvin
  last edited: Thu, 26 Apr 2018 04:02:53 +0200  
It vanishes at somewhere under 1000px width and shows up only on wider displays. I haven't looked up the exact number. Please file an issue. It may be difficult to squeeze it into the navbar, but in that case it should probably migrate to the top of the hamburger menu.
Marshall Sutherland
  
issue filed
Haakon Meland Eriksen (Parlementum)
  
Check your app page. On my phone I used add search app and pinned it, then it was available in my navbar.
Addon Settings question
muppeth
  
!Hubzilla Support Forum
Is Addon setting at "Hubzilla to friendica Post Settings" > "Allow posting to Friendica" needed to be able to post to friendica? If so can I set it to defaults (like in case of diaspora_allow 1)?
Mike Macgirvin
  
I don't think we provisioned a system default for this because nobody ever asked for it.  I would leave that addon turned off or disabled unless somebody specifically asks for it. You can communicate just fine with Friendica (bi-directionally) using the Diaspora protocol addon. The friendica posting addon is a more primitive cross-post tool which does an API post to an existing Friendica account.
beware wading too deeply into log files
elmussol
 Xerta 
@Hubzilla Support Forum+ Whilst wading around in php.out trying to sort @Haakon Meland Eriksen (Parlementum) 's file upload problem, I notice tonnes of lines like this:

[25-Apr-2018 22:15:47 Europe/Madrid] PHP Warning:  rand() expects parameter 1 to be integer, float given in /var/www/hubzilla/Zotlabs/Lib/Enotify.php on line 757
[25-Apr-2018 22:15:47 Europe/Madrid] PHP Warning:  rand() expects parameter 1 to be integer, float given in /var/www/hubzilla/Zotlabs/Lib/Enotify.php on line 758


Does this mean anything important? I know not, but I thought I should bring it up.
Mike Macgirvin
  
I didn't think there were any 32-bit systems remaining. Will have a fix after brekky.
Hardware ressources required

Galette Saucisse
 Bretagne, France last edited: Wed, 25 Apr 2018 08:22:22 +0200  
!Hubzilla Support Forum

So I have my little hub and a few users, and I've left it open to new users, (doing my thing for this project!) but I don't have any vision of how many users this server can reasonably take. It's running on an 8Gb RAM, 40Gb SSD, 2 core Intel VPS.

Are there any indications concerning hardware ressources / number of users?
Mike Macgirvin
  
I think when federating with diaspora and gnusocial/activitypub protocols 40GB might fill up very quick.


There are two considerations: DB size and cloud storage size.

You definitely won't be able to offer unlimited cloud storage. If you put quotas on file storage you can still fit a reasonable number of active and federated people in that space. You'll have to define those limits taking into consideration some target number of active users/members and your available space. Or go the other way and pick a number for quota that you think is adequate for a few photos and files and then start restricting membership when you get to (say) 80% capacity.

See here: https://zotadel.net/help/admin/administrator_guide#Service_Classes

Expiration of foreign content is strongly encouraged (it also isn't enabled by default). This is the difference between DB space being gobbled up linearly vs. exponentially.  The biggest DB hog currently is photos which holds thumbnails not only for your own photos, but profile photos of everybody discovered on the network. My entire DB is sitting at a couple of gigs after a couple of years and it knows about a large chunk of the fediverse. I expire foreign content after 60 days. Granted it's mostly a single-user system but it should give you an idea about numbers. My photos table is 1.5G and the remaining ~500M is local and remote content.
muppeth
  
Expiration of foreign content is strongly encouraged (it also isn't enabled by default).


This is great to hear. How to I set it up (excuse me not maybe looking into documentation).
Mike Macgirvin
  
admin/site - scroll down to the bottom. It's either the last item on the page or the next to the last if you're running very recent code.
Feature suggestion: Blocking users and hiding + unfollowing threads.

msc
msc
 
Feature request:  Block Users & Hide threads directly from gear icon · Issue #1104 · redmatrix/hubzilla
I would love to be able to block users and hide + unfollow threads directly from the gear icon.
Brian Christensen
  
"Unfollow Thread" is already an option in the gear icon and blocking a user can be done by clicking on the user's avatar to bring up a drop-down menu with that option.
Brian Christensen
  
Can I edit my post above to this add this picture?


The gear drop-down has an "Edit" option.
Mike Macgirvin
  
Blocking users is accomplished with the superblock addon. If this is installed, you'll see an option to 'block completely'. This just moved in 3.4RC to the profile photo on the post instead of the gear menu. It has already been mentioned we need a way to flag the existence of this "author action" menu. Unfollow thread is already provided in the gear menu. It isn't shown in all cases as I believe there is a pre-requisite permission of some kind that is required to enable it. Hide is typically handed by deleting it from your stream. We don't currently have a specific hide/show function beyond the n-s-f-w plugin (spelled out so I don't trigger it).
paulfree14
 
@Hubzilla Support Forum
Just wanting to give a short feedback about the results of me pitching hubzilla to the switter admins.

First of all it failed :-p.
They didn't liked the UI and found it in all to complicated.
That they could change it based on their needs they've been a bit reserved about.

One of their main argument also was:
That the channels can't have their individual branding within the url.
They wanted myadress.blabla instead of hubzilladress.org/channel/@yourname

But it's actually possible to have this, or?
Mike Macgirvin
  
I am not sure searching for non-contacts and at-tagging them is smart.


I've had "tag_anyone" enabled for a few years now. I'm well versed in its problems.
Haakon Meland Eriksen (Parlementum)
  
Good to know. :-)
Stephan Maus
  
When Umberto Eco wrote "The Name of the Rose", he choose to make the first 100 pages very difficult. He thought that they should be the monastery-wall which should protect his novel.
Hubzilla add-on table

Christopher M. Rasch
 East Palo Alto last edited: Tue, 24 Apr 2018 00:53:51 +0200  
!Hubzilla Development !Hubzilla Support Forum

I found it difficult to tell what the add-ons in the Hubzilla Add-on repository did.  So I made a table of the current list of add-ons and their functions here:

https://project.hubzilla.org/wiki/hubzilla/Hubzilla%2BProject/Plugins%2BTable

Comments, questions, and suggestions are welcome!
msc
msc
  last edited: Tue, 24 Apr 2018 17:59:46 +0200  
Image/photo
Hmm, surprised the clap didn’t display next to the number of likes.
msc
msc
  
How do we turn this list into a shared wiki?
Christopher M. Rasch
  
@msc, if you authenticate to the https://project.hubzilla.org hub, I think you'll be able to edit it, if you want.
Cyanbasic Theme for Hubzilla

Galette Saucisse
 Bretagne, France last edited: Mon, 23 Apr 2018 21:17:30 +0200  
!Hubzilla Support Forum

New theme, cyanbasic

get it here if you have command line access:

util/add_theme_repo https://github.com/galettesaucisse/hubzilla-themes.git cyanbasic

otherwise here:

https://github.com/galettesaucisse/hubzilla-themes
SQL Error

muppeth
  
!Hubzilla Support Forum

I'm seeing lots of SQL errors like:
ERROR: SELECT distinct parent AS item_id from item
left join abook on ( item.owner_xchan = abook.abook_xchan and abook.abook_channel = 3 )
WHERE uid = 3 and item.item_hidden = 0 and item.item_type = 0
and item.item_unpublished = 0 and item.item_delayed = 0 and item.item_pending_remove = 0
and item.item_blocked = 0 and item.obj_type != '[zrl=http://purl.org/zot/activity/file]http://purl.org/zot/activity/file[/zrl]'
AND item_wall = 1 AND (( item_unseen = 1 AND item.changed
...

followed by

Invalid column reference: 7 ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list
LINE 12: ORDER BY created DESC;


Any ideas? I'm using postgres 9.6
muppeth
  
Yeah I do use postgres.

Cool. I saw your post about the RC. I will switch to it today.
muppeth
  
Is that also a reason I cant see forum posts straight from my hub?
Mario Vavti
  
I guess so yes.
Brian Christensen
  
I am unable to reply to the original thread about the cert error but I see an error as well when visiting https://hubzilla.org:


hubzilla.org uses an invalid security certificate.

The certificate is only valid for demo.hubzilla.org

Error code: SSL_ERROR_BAD_CERT_DOMAIN


!Hubzilla Support Forum
Brian Christensen
  
I tried "refresh permissions" which didn't change anything.
h.ear.t | tobias
  
Brian Christensen
  
Works perfectly now.
giac hellvecio
 my house near the sea 
lightonelightone wrote the following post Sun, 22 Apr 2018 04:34:41 +0200
Cert error
Hello, #Hubzilla!

My browser shows a certificate error when I visit hubzilla.org via https (http nicely redirects).
I was thinking of creating some stickers for Hubzilla, "hubzilla.org" link is shorter than "project.hubzilla.org" and looks better on small promotional materials.
Could you please fix the cert? Thanks.


cc @Hubzilla Support Forum+
h.ear.t | tobias
  
Andrew Manning
  
I know this may seem convoluted, but I think it makes sense to keep the "hubzilla.org" domain abstracted from any individual hub or website hosted on a subdomain. I'm surprised an additional redirect was necessary since I already have a CNAME record in place linking hubzilla.org to project.hubzilla.org.
h.ear.t | tobias
  
Important: anonymous comment permission patch

Mike Macgirvin
 High Range, Australia last edited: Sat, 21 Apr 2018 23:26:08 +0200  
!Hubzilla Support Forum !Hubzilla Announcements

It was brought to our attention that some channels have been configured with anonymous (WordPress style) comment permissions which should not have been. This affects a number of newly created channels.

Step 1:

If you are a hub administrator and are running master (3.2.x), dev (3.5), or 3.4RC, please execute 'git pull' from the project root directory now. If you are running a prior release, this particular issue may not affect you; but you are encouraged to update in any event.

If you are running the dev branch on your site, no further action is necessary.

Step 2:

If your site is running a release or pre-release version such as master (3.2.x) or 3.4RC please change to your project root directory and create a new file using the following code snippet. This file should be named Zotlabs/Module/Fix20180421.php and the text '<?php' should be on the very first line of the file. The capitalisation in the filename is important.


<?php
namespace Zotlabs\Module;

class Fix20180421 extends \Zotlabs\Web\Controller {

    function get() {

        if(! is_site_admin())
            return;

        $r = q("select channel_id from channel where true");
        if($r) {
            foreach($r as $rv) {
                $role = get_pconfig($rv['channel_id'],'system','permissions_role');
                if($role !== 'custom') {
                    $role_permissions = \Zotlabs\Access\PermissionRoles::role_perms($role);
                    if(array_key_exists('limits',$role_permissions) && array_key_exists('post_comments',$role_permissions['limits'])) {
                        set_pconfig($rv['channel_id'],'perm_limits','post_comments',$role_permissions['limits']['post_comments']);
                    }
                }
            }
        }

        return 'Update has been applied';

    }

}


Step 3.

Visit https://zotadel.net/fix20180421 while logged into the hub administrator account. Note that you will use lowercase for the path here.

You should see the text 'Update has been applied'. When you see this text, from the command shell

% rm Zotlabs/Module/Fix20180421.php

Apologies for the inconvenience.
RockyIII
  last edited: Sun, 22 Apr 2018 18:11:11 +0200  
Thanks @Brian Christensen
so I uploaded the new PermissionLimits.php file to Zotlabs/Access/ ... thats all? I´m done?
RockyIII
  
Step 2 +  Sep 3 ... got it
Michael MD
  
only got "Page not Found" here with those instructions.

I guess this version is too old (looks like Zotlabs\Web\Controller isnt there)

I probably need to look at doing a full update.
Constantly getting logged out

Brian Christensen
  last edited: Tue, 24 Apr 2018 05:46:55 +0200  
!Hubzilla Support Forum

I seem to get regularly logged out of my instance for no apparent reason, particularly when I visit another hub (i.e. every time I visit the Hubzilla Support Forum I find myself logged out when I return to my own hub). But it doesn't seem to be limited to this, sometimes I just randomly get knocked out even when I stay on my own server.

Checking off "remember me" seems to have no effect. Is there an Apache or PHP related configuration regarding cookies and/or sessions that I should be looking at?
giac hellvecio
 
do you use some firefox-chrome plugin for block coockies?
Brian Christensen
  
Good call. Looks like Ghostery is the culprit. Marking my own hub as "trusted" along with others I visit seems to resolve this issue. Don't know why I didn't think to look at that. Thanks for the tip!
RSS Feed Question

M. Dent
  
!Hubzilla Support Forum

When linking to an RSS Feed on a multi-site blog, the profile for the connection gets populated with the author info of the first post ever downloaded.  Is there a way to override the profile information on at least some connections (like RSS feeds) in order to fix things like this?

Also - (likewise for RSS feeds) - is it possible to make RSS Posts "shareable"?
Marshall Sutherland
  
Feed-mostly public sounds familiar. When first set up, I find that the feed channel, itself, will have some number of historical posts, but my channel only sees new posts as they come in from that point forward. Could this be what you are seeing? It doesn't sound like it, but I thought I should ask.

When I set up the feed channel, there are a couple of steps. Maybe one of them is missing.
I'm sure you have the connection to the actual feed, since you see something
Your feed channel needs to have the Channel Sources feature (in Additional Features / Post Composition Features) turned on.
That will give a new setting page called Channel Sources. On that page, you need to add that connection (the connection to the actual feed) as a source.

Have all those things been done?
Erik R
  
I never added the feed-channel as channel-source on my main channel.

I agree that only new items in the feed will show up so I figure I will know tomorrow :)
Erik R
  
I never managed to add the feed as "Channel source", instead I just connected to the feed and the content shows up in the feed-channel-wall (home).

I sadly lost all content of the feed-channel when I changed from feed-mostly public to what-ever and back. The feed is updated once or twice a day so I have to wait.
Profile image upload fails consistently

Sturdy Stonehead
  
!Hubzilla Support Forum
When I try to change my profile (https://cni-coop.net/profile/cni) image, it consistently fails to upload new picture. "Image upload failed" -- and that's it. There is probably more diagnostics available, but I do not know where to look for it.

Docker installation.

Image/photo
Harper Pollock
  
Ingo: See attached (no).

Image/photo


Image/photo


Image/photo

Galette: Where can I check it? Also, intial image uploaded finely.
Ingo Juergensmann
 
Well, my idea was that the image that you want to upload exceeds some 2 MB upload limit. But those images doesn't appear to be large enough.
Mike Macgirvin
  last edited: Sun, 22 Apr 2018 01:14:55 +0200  
Profile photos and Cover photos are the last remaining file uploads that are subject to PHP upload limits. You can upload into the editor or into your cloud storage without encountering these limits, but for these two activities,
check the php.ini for your webserver (you may have more than one php.ini) and review and possibly adjust

upload_max_filesize
post_max_size

post_max_size needs to be larger than upload_max_filesize


If an upload results in a white screen (this can happen for some newer cellphone images if your server is in a memory starved environment) install the imagick program for your operating system. There is a place on the admin/site page to provide the path for externally generating stage1 thumbnails (usually /usr/bin/convert) rather than attempting to generate them in memory. You still want to give PHP as much memory as you can get away with, because this can affect your ability to export/backup/clone your channel content.
Anatoly
  
!Hubzilla Support Forum

Is there an option to show comments via the tree when you can answer for not only last comments but any comment?
For example show comments like this:

post
|- comment 1
|- comment 2
|   |- comment for 2
|   \_ comment for 2
|- comment 3
|   |- comment for 3
|   |    \_ comment for comment :)
|   \_ comment for 3
\_ comment for 4
Anatoly
  
Я так понимаю, ничего кроме Zot нет. Это протокол, на котором и работает Хабзилла.
Vitaly Astakhov
  
Ок. Я вижу наше обсуждение в фрэндике и даже коммент оставил. Интересно пролетит или нет. Твои ответы в Мастодон выглядят как-то оторванными от контекста и сложно понять что происходит и там я тоже ответить пытался. И не понимаю как мне удалось везде на тебя подписаться, а на себя не получается.
h.ear.t | tobias
  
"cloned channel not found" by migration from hub version 3.4RC to hub version 3.2.2 - bug or feature?

neue medienordnung plus
  
Hubzilla community advertise the Nomadic Identity feature as unique feature of Hubzilla accounts. I get the hint "Cloned channel not found" when I attempt import the channel from one hub with version 3.4RC to hub with version 3.2.2. Is this behavior a bug or feature? I mean, that this #VersionHurdle make the "Nomadic Identity" pledge of Hubzilla implausible.

#exportImport #NomadicIdentity #HubzillaPromotion #NomadicIdentityPledge @Hubzilla Development+ @Hubzilla Support Forum+

Image/photo
neue medienordnung plus
  
btw, after apgrade from 3.2.2 to 3.4RC works the migration for this two hubs.
Disabling public comments

Brian Christensen
  
!Hubzilla Support Forum

Is there any way to restrict commenting on public posts to only authenticated users? I can't seem to find any configuration for this.
Brian Christensen
  
Perfect, this is exactly what I was looking for. Thanks!
Mike Macgirvin
  last edited: Sat, 21 Apr 2018 10:25:54 +0200  
There's a bug involved. On the short term I recommend site admins execute

% util/config system.anonymous_comments 0

however some newly created channels may have ended up with anonymous permission enabled which shouldn't have been. The config setting above prevents any more channels from being misconfigured but it won't fix those that already are. We're working on a fix to turn them back off.
elmussol
  
RSS is not recognised.

Sturdy Stonehead
  
!Hubzilla Support Forum

Following the method given in FAQ, I was trying to add https://cnicoop.wordpress.com/feed/ as a connection to one of our channels (cni@cni-coop.net). However answer was "Remote channel or protocol unavailable.", both for explicit feed address and for standard URL.
Any suggestions?
Galette Saucisse
  
I'm able to add the feed  https://cnicoop.wordpress.com/feed/ as a contact
Have you enabled admin->site->Allow Feeds as Connections ?

tip: create a channel "CNI" and then add the contact  https://cnicoop.wordpress.com/feed/
Community Network Infrastructure Cooperative
  
It was the admin thing, thank you.
kris
  
!Hubzilla Support Forum

How do desactivated notification from events. I desactivate the star of the event. but it does not help. Event is not activable or not.

Maybe I miss something