Constantly getting logged out

Brian Christensen
  last edited: Sat, 21 Apr 2018 20:17:59 +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!
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:52 +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. We're working on a fix to turn them back off.
elmussol
  
Erik R
  
Hi Galette,

In order for the util/add_theme_repo to work well the theme must be in a sub directory in the GIT-repository. As of now I get separate themes in the list for css, img, php etc.

Is this possible to fix?

Cheers,
Erik
Galette Saucisse
  
Hi Erik,

Fixed. I've created the git-repo hubzilla-themes, so you can now do this (tested, it works)

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

bon journee a toi
Erik R
  
Super! Thanks!

// Erik
Aude decroissance
  
mrjivemrjive wrote the following post Sat, 14 Apr 2018 17:23:47 +0200
Creating a website with Hubzilla?
One of the features I'd like to really start to use is the webpage or website creation, that is: using Hubzilla as a CMS.
Maybe everithing is there and the problem is once again just me, so I'm asking you has someone already created a website, not just a landing page or a couple of pages, with hubzilla? Something not too complex. A school website or a small organization for eample.
Maybe with a couple of different roles like you do in a standard Wordpress site.

I'd like to hear your experience and thoughts.

Thanks!
!Hubzilla Support Forum
"Channel location missing" when attempting to connect

Cat Gun
  
Mike Macgirvin
  
However, they just need to enter a name and an email.


Only if the channel privacy settings and site settings allow it.

Custom/expert permissions can do a lot of things, but we hide these from easy access for good reasons. You have complete control of your privacy, but some settings have unintended side effects - not all of them desirable. If you run into issues you're expected to solve them. You're an expert after all.
Cat Gun
  
Mike Macgirvin
  
Should be fixed upstream.
Externen CronJob für einen Hubzilla Hub bei ALL-INKL anlegen

Klaus Böttger
 Lüdinghausen last edited: Tue, 10 Apr 2018 21:23:15 +0200  
Den externen CronJob für einen Hubzilla Hub bei ALL-INKL.com zu konfigurieren ist wirklich keine Raketenwissenschaft:

Hierzu suchen wir im Kundenadministrationssystem (KAS) das Menu "Tools" (alle Tarife, ausser ALL-INKL-Privat):

Image/photo

Unter "Tools" wählen wir "Cronjobs":  

Image/photo

Neuen Cronjob anlegen:

Image/photo

und geben in das Feld "Protokoll/Pfad" die Domain (ggf. mitsamt Pfad) unserer Hubzilla Instanz ein, gefolgt vom Namen des Jobs: Also etwa so:  

meinehubzilladomain.de/extcron (meinehubzilladomain.de natürlich durch die eigene Domain ersetzen) ;-)

oder, wenn es sich um eine Subdomain handelt, dann entsprechend:

subdomain.meinehubzilladomain.de/extcron

Unter "Ausführungsintervall" dann noch einstellen, wann & wie häufig der Job laufen soll.

Ich habe einen Intervall von 10 Minuten gewählt, weil mein Hub sehr klein ist und darauf nur wenige Kanäle existieren. Bei mir läuft der Job zuverlässig und löst - bis jetzt - keine signifikanten Verschlechterung in der Systemperformance aus.

Image/photo

Aber ACHTUNG, das muss nicht auf allen Servern/Instanzen auch so sein, besonders die Anzahl Kanäle/externe Quellen/Feeds macht vermutlich einen großen Unterschied! Deshalb ist das natürlich OHNE GEWÄHR! ;-)

Gegebenenfalls lieber einen höheren Wert eintragen!

Und so sieht es dann aus...:

Image/photo

!Hubzilla Support Forum !Deutschsprachige Nutzer
Stephan Maus
  
@Mario Vavti Danke (Dein Post kam gerade erst hier an)! Kannst Du meine Log-Datei sehen oder woher weißt Du das? Viele Grüße!
Mario Vavti
  
/siteinfo.json > lastpoll
Stephan Maus
  
@cb7f604332cf39 Danke für die super Erklärung (kam eben erst hier an - liegt vielleicht am cronjob (dieser Teufel)).
Tagged post doesn't appear in forum

Cat Gun
  
Mario Vavti
 
I can see it in the forum...
giac hellvecio
  
I see too...

there is some work for me ? currently I am unemployed :-D
Pitched Hubzilla to the OpenBazaar team

Cat Gun
  
Andrew Manning
  
Our cult has a new evangelist. Nice work.
On the profile page, should tags be comma or space separated?

Christopher M. Rasch
 East Palo Alto last edited: Thu, 05 Apr 2018 18:27:57 +0200  
!Hubzilla Support Forum

On the profile page, what's the recommended delimiter for tags?   Should tags be comma-separated?  Should multiple word tags be in quotes?  Something else?

Thanks!
 UI  hubzilla
EFF Privacy Badger plugin breaks profile images on directory page

Christopher M. Rasch
 East Palo Alto 
!Hubzilla Support Forum

The EFF Privacy Badger plugin breaks the profile images on the directory page (and perhaps elsewhere).  See screenshot.  If I turn off the plugin for gravizdot.de, or disable the plugin altogether, then reload, the images come back.  

Image/photo
Michael MD
  last edited: Thu, 05 Apr 2018 22:12:59 +0200  
just tried it here in Firefox

yes on the first load the images were missing and I saw a "permission denied" message,
but when I clicked on the Privacy Badget icon I saw a switch there for a hubzilla domain
.. when i switched that to green and refreshed the page it worked fine..

Yes Hubzilla's use case is benevolent, but Privacy Badger has to also deal with other kinds of third party scenarios out there in the world that are not so nice. How would it know?

Privacy Badger shows switches for each domain.. I can set the hubzilla sites to green and refresh and it loads fine.

Interestingly - when I loaded the directory page again later the page loaded fine without any problems
There were now three switches showing in Privacy Badger, all Hubzilla sites, all already set to green
I guess it somehow saw those as similar to what I had switched to green before (possibly because the requests it saw were similar?)
and it had preselected green for the other hubzilla domains.

so guessing its probably not a big problem as long as the user is aware of the switches in Privacy Badger.






DNT is a bit of a mystery to me (not the header itself, but what websites would do when they see it),
from what I read it looked like it would need a website the user might not trust to keep track of a setting for a user to say that they don't want to be tracked .. doesn't make sense somehow, - or have I misunderstood?
Christopher M. Rasch
  
How is the user going to know that Privacy Badger is causing Hubzilla images to break?  I initially thought that the gerzilla.de site was broken, until I happened to look at it on a browser that didn't have any plugins installed, and saw that the images were there.  Maybe the documentation should have a troubleshooting section to explain how Privacy Badger could be causing problems like this.
Mike Macgirvin
  last edited: Thu, 05 Apr 2018 11:29:48 +0200  
I just did some poking and it seems that our dnt-policy.txt document is missing and I don't know when this occurred. I haven't looked at privacy badger in probably 5 years. You're welcome to revive this and see if it improves the situation. It didn't when we first implemented it.
Open hamburger menu obscured by top horizontal menu bar

Christopher M. Rasch
 East Palo Alto 
!Hubzilla Support Forum

See screenshot below.

Image/photo
Andrew Manning
  
Normally the cover photo is supposed to scroll away and disappear, so that the navbar becomes the vertical limit for the content. When I try to reproduce this problem, clicking on the content region causes the cover photo to hide.
Mario Vavti
  
That looks like a bootstrap issue to me. Either the menu should not drop up if it is covered by the navbar or it should be above the navbar.
Informal Survey: what are the specs of your hub?

Christopher M. Rasch
 East Palo Alto last edited: Wed, 04 Apr 2018 18:11:41 +0200  
!Hubzilla Support Forum

If you're running a hub of your own, and you care to participate, what are the specs for your hub?

Ram:
CPU(s):
Disk usage:
Users (total):
Users (active, defined to be number who have posted something in the last week):

I'm trying to get a sense of the practical requirements to run a hub.
h.ear.t | tobias
  
Roelofpieter
  
Hi Christopher. I self-host. My personal instance runs just fine on a Raspberry Pi 3B. I have ran it in the past on it's predecessors. That generally required some patience. Now, viewing my "Activity" tab requires about 8 seconds to load (I had the feeling it was quicker, but the timepiece doesn't lie), viewing my channel about 4. Which I find very acceptable. Overall I find the experience quite smooth. I use the Pi as a mediaserver also.

Ram: 1GB
CPU(s): Quad Core 1.2GHz Broadcom BCM2837 64bit CPU
Disk usage: webroot: 440MB (from SD Card) / MySQL DB: 890MB (from External USB Disk)
Users (total): 1 user with 4 channels
Christopher M. Rasch
  
Thanks @Marshall Sutherland, @h.ear.t | tobias, and @Roelofpieter!
How many Hubzilla users can a small VPS support?

Christopher M. Rasch
 East Palo Alto 
!Hubzilla Support Forum

How many Hubzilla users can I expect a small VPS to support?  One with say, 2 GB of Ram, 1 CPU, and 16 GB of hard drive space?  I realize this depends on a variety of factors--just looking for a ballpark.
h.ear.t | tobias
  
Christopher M. Rasch
  last edited: Wed, 04 Apr 2018 18:43:07 +0200  
Thanks for the response, tobias!   Yeah, there's a whole host of variables that will affect how many resources a hub uses.  Your answer is helpful in that it appears that a 1 GB RAM, 1 CPU machine can handle at least 6 or so low-volume user accounts.
What happens when you sync two hubs that have difference resource constraints?

Christopher M. Rasch
 East Palo Alto last edited: Tue, 03 Apr 2018 23:39:00 +0200  
!Hubzilla Support Forum

Suppose I start a channel on https://start.hubzilla.org.  https://start.hubzilla.org limits users to 50 connections.  Now suppose I clone the channel to another hub that doesn't have a limit on the number of connections.  And suppose that I a) make the clone the primary channel, and b) add 100 connections to that channel on the new hub.

What should I expect to happen when I attempt to sync the channels on the two hubs?  Does the sync fail altogether?

Thanks!
Mike Macgirvin
  last edited: Wed, 04 Apr 2018 01:25:45 +0200  
This hasn't been adequately tested, but we check the resource usage when importing each thing and stop importing that thing if you go over the limit. Then we move on to the next thing, so the clone should still succeed.
Christopher M. Rasch
  
Thanks, @Mike Macgirvin
Andrew Manning
  
I've been wondering about this as well. Glad to know Mike already planned for this possibility. #notsurprised
What are your favorite non-tech related Hubzilla forums?

Christopher M. Rasch
  
!Hubzilla Support Forum

What are your favorite Hubzilla related forums that are not tech-related?   For example, gardening or sailing?  (I realize that this isn't exactly technical support related, but I wasn't sure of a better place to ask--feel free to delete if you think it inappropriate.)
elmussol
  
Sophie
  
Oops, copy&paste error...
Here is the chess forum

https://hub.mrjive.eu/channel/beginnerschessboard
mrjive
  last edited: Wed, 04 Apr 2018 11:30:52 +0200  
@Sophie whenever you feel like playing, please knock ;)
How do tabs on "Activity" page work?

Christopher M. Rasch
 East Palo Alto 
!Hubzilla Support Forum

On the activity page, I see four tabs: Commented Order, Posted Order, Personal, New, and Starred  However, I'm not sure exactly what they toggle.  Here's what I'm guess they mean:

Commented Order - Posts with the most recent comments from everyone in the selected Privacy Group ("All Channels" by default)
Posted Order - Posts with the most recent post date from everyone in my connections ("All Channels" by default)
Personal - Posts / comments made by me ("All Channels" by default)
New - New posts (but then how does that differ from posted order)
Starred - Posts that have been starred by you.

Any additional insight?  Or a pointer to additional documentation?  

Thanks!
Christopher M. Rasch
  
Thanks @Yann Muller!
Mike Macgirvin
  
Commented Order: posts with recent likes and comments bubble to the top
Posted Order: strictly post by date regardless of conversation activity
Personal: All conversations that have you in them somehow - either as a direct participant or a mention
New: single Activities in the order received (posts/comments/likes/whatever are all activities)
Starred: conversations you've starred something in - using post order iirc

I believe any of these can be filtered by Privacy Group and date and probably by connection.

As it is, there is some context missing.


Each has a link to 'view in context' for this reason. Titles are optional so attaching a title of a parent post is rarely going to be useful.
Christopher M. Rasch
  
Thanks,  @Mike Macgirvin !
What's the best way to Remote Authenticate?

Christopher M. Rasch
 East Palo Alto 
!Hubzilla Support Forum

What's the best way to Remote Authenticate?  

For example, suppose I have created new channel on https://start.hubzilla.org.  And I want to make a post on the Hubzilla Support Forum (https://zotadel.net/channel/support) page.  

When I go to the Hubzilla Support Forum channel there's no indication of a way to post.   It turns out that if I want to post to the forum, I have to first authenticate with the hub first.  But how to do that?  There's nothing on the zotadel.net channel to indicate how to remote authenticate.  So I go to the base url (https://zotadel.net/).  There I see a login form, and a button labelled "remote authentication".  I click that button, and I see a popup that says:

"OpenWebAuth: zotadel.net welcomes Christopher M. Rasch"

But the page doesn't change.  So, I click the back button in my browser until I get back to the Hubzilla Support Forum (https://zotadel.net/channel/support).  Now I see a "Connect" button on the page.  I click the button, and now I'm added as a connection fo the forum.  I still can't post on that page though--I have to go back to my own channel and make a post, using the special "!Hubzilla Support Forum" tag.  

Is this the way it's supposed to be done?  

Thanks!
Alex
 Rattatak 
I have the problem over and over again.
Some new connections do not receive the standard policy.
Not all connections.
I had to correct some today.
@Mike Macgirvin can I use script to set for all forum connections equal permissions (my custom permission role)?
giac hellvecio
  
in truth it is sometime the case that when you update the hub the permissions will be "unpacked".
I say this because  I have a lot of forums, and  I had this problem sometime...
Mike Macgirvin
  last edited: Wed, 04 Apr 2018 06:44:04 +0200  
Updating the hub shouldn't have any effect whatsoever. I'm still trying to figure out how or if using custom permissions could be involved. It's possible weird things can happen if you switch custom permissions on or off again while there are connections using a different role but once a role is set it should 'stick'.
And the predefined roles all seem to be pretty solid. I'll do some more testing with the custom role and see if I can find anything amiss.
Is there a way to edit a photo's title?

Cryptocurrency
  
!Hubzilla Support Forum

Is there a way to edit a photo's title?  I looked at Photos > [click photo] > Photo Tools > Edit Photo page, but the photo title is grayed out.  (See screenshot below).

Thanks!

Image/photo
Julian Schweinsberg
 
Use the "Caption" input field to change the title. After submitting the caption will replace the title. Removing the content in "Caption" will revert the title to the filename.
Mario Vavti
  
IIRC if a photo has no caption we use the filename as title. Once you set a caption, this will be used as the title.
Cryptocurrency
  
@Julian Scheinsberg, @Mario Vavti, Thank you!
How private are chatroom chats?

Christopher M. Rasch
 East Palo Alto last edited: Tue, 03 Apr 2018 02:08:17 +0200  
!Hubzilla Support Forum

How strong is the security of the Privacy Groups?   For example, if I have a chat with someone in a chatroom assigned to Privacy Group containing just me and the other person, can the Administrator of the hub hosting the chatroom  see chat conversations if he looks hard enough (such as by reading the chat directly from the database)?
Thndr
  
https://github.com/redmatrix/hubzilla-addons/tree/master/xmpp

The current XMPP addon seems to use Converse, or at least an older version as the last commit to that folder was 2 years ago
Christopher M. Rasch
  
Awesome, thanks!
giac hellvecio
  
not, my app  is just a bookmark for that page. I do/did   bookmarks in this way, because sometime is useful to have it in the apps page of hubzilla.
Hubzilla as a Tor Hidden service?

Cat Gun
  last edited: Sun, 01 Apr 2018 23:34:21 +0200  
Cat Gun
  
cb7f604332cf39
  
You may install:
apache
mysql
php
tor
a proxy to forward http to socks (like polipo)
hidden service
Take the .onion url of the generated hidden service and install hubzilla with that.
For the installation you may name the generated hidden service in /etc/hosts
don't use ssl (cause could be difficult to get a valid cert)
generate first account with local email address like root@127.0.0.1
Use the general proxy setting in hubzilla to forward all traffic to the proxy to forward to tor.
Disable all outgoing mail. Disable mail verification. Or you have to install an Mailserver as an onion service.

Please note: hubzilla as a hidden service is unable to connect to the regular inet, cause ZOT handshake fails. The hubzilla server in the regular Inet are unable to connect your server for verfication nor remote auth.
Cat Gun