#103 Does not work. No debug output.

Closed
opened 4 years ago by SuperSandro2000 · 4 comments

I would really like to use this software but the source code is really really really hard to read and I always get this on my installation:

This instance does not exist.

It works on other instances. So?

I would really like to use this software but the source code is really really really hard to read and I always get this on my installation: ```` This instance does not exist. ```` It works on other instances. So?
Niklas Poslovski commented 4 years ago
Owner

Can you please give me the link to your Halcyon instance? I've already seen your Mastodon instance and tried logging in using https://halcyon.anoxinon.de and came to the login page. Have you set all config variables correctly? Is the data directory writable? If it all doesn't help,try adding error_reporting(E_ALL); to login/login.php

Can you please give me the link to your Halcyon instance? I've already seen your Mastodon instance and tried logging in using https://halcyon.anoxinon.de and came to the login page. Have you set all config variables correctly? Is the data directory writable? If it all doesn't help,try adding ```error_reporting(E_ALL);``` to login/login.php
SuperSandro2000 commented 4 years ago
Poster

https://halcyon.supersandro.de/

I left the default values for the proxy in but did not matter. I have this now.

; Register App Settings
[App]
api_client_name = Sandros Mastodon
api_client_website = https://halcyon.supersandro.de/
who_to_follow_provider = https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-osa-api.cgi?{{host}}+{{user}}
default_language = en_US

; Media embed settings
; YouPlay resolves YouTube MP4s on your server and sends this link to the user for privacy-friendly watching
; Vimeo embeds work in the same way as YouPlay embeds here because the official players contain too much spyware
[Media]
youplay = true
vimeo = true

; The proxy can be used optionally to resolve data for privacy-friendly media embeds on the server side - It is not used for Mastodon API requests on login
; Proxy type can be set to none, socks5, socks4, http or https - Example settings for locally installed Tor client
[Proxy]
type =
domain =
port =
username = 
password = 

Edit: I got it working. I chowned all the files and set the correct permission on the config.ini.

Can you add error_reporting(E_ALL);? And I am currently doing a Docker image.

https://halcyon.supersandro.de/ I left the default values for the proxy in but did not matter. I have this now. ```` ; Register App Settings [App] api_client_name = Sandros Mastodon api_client_website = https://halcyon.supersandro.de/ who_to_follow_provider = https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-osa-api.cgi?{{host}}+{{user}} default_language = en_US ; Media embed settings ; YouPlay resolves YouTube MP4s on your server and sends this link to the user for privacy-friendly watching ; Vimeo embeds work in the same way as YouPlay embeds here because the official players contain too much spyware [Media] youplay = true vimeo = true ; The proxy can be used optionally to resolve data for privacy-friendly media embeds on the server side - It is not used for Mastodon API requests on login ; Proxy type can be set to none, socks5, socks4, http or https - Example settings for locally installed Tor client [Proxy] type = domain = port = username = password = ```` Edit: I got it working. I chowned all the files and set the correct permission on the config.ini. Can you add ``error_reporting(E_ALL);``? And I am currently doing a Docker image.
Niklas Poslovski commented 4 years ago
Owner

Ah yes,these permissions are always a bit tricky. You don't know how much time I already wasted with this stuff on the server of a friend...
Adding error_reporting(E_ALL); by default wouldn't be that good because it would throw a PHP error message if the instance really doesn't exist. Instead I'll add a config variable where you can turn debug mode on (tagging this with enhancement therefore).
For the Docker stuff: We already have something in the docker folder but I don't use Docker myself and don't understand much of it. If you think you can do anything better,feel free to send a pull request.

Ah yes,these permissions are always a bit tricky. You don't know how much time I already wasted with this stuff on the server of a friend... Adding ```error_reporting(E_ALL);``` by default wouldn't be that good because it would throw a PHP error message if the instance really doesn't exist. Instead I'll add a config variable where you can turn debug mode on (tagging this with enhancement therefore). For the Docker stuff: We already have something in the docker folder but I don't use Docker myself and don't understand much of it. If you think you can do anything better,feel free to send a pull request.
SuperSandro2000 commented 4 years ago
Poster

I didn't look into the docker folder but my file is considerable smaller and does less by hand cause I use the official php:apache-stretch

I didn't look into the docker folder but my file is considerable smaller and does less by hand cause I use the official php:apache-stretch
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.