YunoHost-Apps / wikijs_ynh

Modern and powerful wiki app package for YunoHost
https://wiki.js.org/
GNU Affero General Public License v3.0
18 stars 4 forks source link

Wiki not accessible #59

Closed pattyland closed 5 years ago

pattyland commented 5 years ago

Hello!

I am relatively new to YunoHost and have just tried to install this wiki. I have created a new domain wiki.domain.tld, provided it with a certificate and assigned it during the installation.

Result: wiki.domain.tld redirects to the main domain, I cannot access the wiki.

Did I do something wrong?

Greetings, Sören

yalh76 commented 5 years ago

Hi @pattyland,

Seems weird... Do you know how to connect to your YunoHost using SSH ? To let us try to retrieve the wikijs install logs

pattyland commented 5 years ago

Yes, I know :)

I looked into /var/log/yunohost/categories/operation/20190606-084858-app_install-wikijs.log but there are a lots of db passwords etc in there, I think I shouldn't publish it?

I can say that there is not a single error in there an one empty warning:

2019-06-06 08:49:36,156: DEBUG - + grep --quiet 'Browse to http://localhost' /tmp/tmp.98n9rxJmPA
2019-06-06 08:49:36,156: DEBUG - + '[' 2 -eq 3 ']'
2019-06-06 08:49:36,156: DEBUG - + '[' 2 -ge 3 ']'
2019-06-06 08:49:36,156: DEBUG - + sleep 1
2019-06-06 08:49:37,158: DEBUG - + for i in $(seq 1 $timeout)
2019-06-06 08:49:37,158: WARNING - 
2019-06-06 08:49:37,159: INFO - The service wikijs has correctly started.
2019-06-06 08:49:37,159: DEBUG - + grep --quiet 'Browse to http://localhost' /tmp/tmp.98n9rxJmPA
2019-06-06 08:49:37,159: DEBUG - + ynh_print_info '--message=The service wikijs has correctly started.'
yalh76 commented 5 years ago

OK then, you can go to the webadmin, in tools, logs, you can choose the logs for wikijs install. The share with yunopaste export logs, follow the link and click on duplicate and edit to change the db password

pattyland commented 5 years ago

By clicking on "share with yunopaste" a public (!) version including all passwords in plaintext (!) was created which I can't delete! What kind of stupid procedure is that?

I have now created a duplicate and hope to have deleted all passwords... https://paste.yunohost.org/ledarufeya.sql

yalh76 commented 5 years ago

Have you created at least a first user on your yunohost ?

pattyland commented 5 years ago

Ops, I really missed that question. Yes, that seemed to solve my problem. As another app didn't required this, I didn't thought of that