#26 Install manual

Closed
opened 5 years ago by vaginaplant · 5 comments

I need the documentation for the installation manual.

Upload it, edit config.ini and have fun!

But not fun for me, because I fail to install Halcyon 5 or more times.

I need the documentation for the installation manual. > Upload it, edit config.ini and have fun! But not fun for me, because I fail to install Halcyon 5 or more times.
vaginaplant commented 5 years ago
Poster

What httpd did you install? Apache, nginx, Caddy or others? I choosed Apache, but it's too complicated.

What httpd did you install? Apache, nginx, Caddy or others? I choosed Apache, but it's too complicated.
Niklas Poslovski commented 5 years ago
Owner

I'm using an free webhoster which has Apache servers. I'm not allowed to install anything there or change their server configs. It works fine with their default setup. I'll put an completely new documentation online soon. But first I have to figure out what PHP extensions are needed on an own installation. I expected it to work on any installation with the default settings.

I'm using an free webhoster which has Apache servers. I'm not allowed to install anything there or change their server configs. It works fine with their default setup. I'll put an completely new documentation online soon. But first I have to figure out what PHP extensions are needed on an own installation. I expected it to work on any installation with the default settings.
vaginaplant commented 5 years ago
Poster

I'm using clean Ubuntu 16 on VPS. Installed apache2, letsencrypt, libapache2-mod-php7.0, php-intl. Now /var/log/apache2/error.log says:

[Tue Aug 21 23:21:21.871387 2018] [:error] [pid 11458] [client 27.142.197.245:58135] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /var/www/html/login/login.php:5\nStack trace:\n#0 {main}\n thrown in /var/www/html/login/login.php on line 5, referer: https://h.distsn.org/login/

Oh sudo apt install php-mbstring resolved this error, but:

[Tue Aug 21 23:25:54.133209 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST' in /var/www/html/authorize/mastodon-api/mastodon.php on line 25, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133490 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_POSTFIELDS - assumed 'CURLOPT_POSTFIELDS' in /var/www/html/authorize/mastodon-api/mastodon.php on line 30, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133610 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/authorize/mastodon-api/mastodon.php on line 76, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133701 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/authorize/mastodon-api/mastodon.php on line 78, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133865 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Fatal error: Uncaught Error: Class 'HalcyonSuite\\HalcyonForMastodon\\Exception' not found in /var/www/html/authorize/mastodon.php:22\nStack trace:\n#0 /var/www/html/authorize/mastodon.php(35): HalcyonSuite\\HalcyonForMastodon\\Mastodon->newInstance('https://mstdn.j...')\n#1 /var/www/html/login/login.php(13): HalcyonSuite\\HalcyonForMastodon\\Mastodon->getInstance('https://mstdn.j...')\n#2 {main}\n thrown in /var/www/html/authorize/mastodon.php on line 22, referer: https://h.distsn.org/login/

Ok, sudo apt install php-curl. Now it works. Thank you for reading.

I'm using clean Ubuntu 16 on VPS. Installed apache2, letsencrypt, libapache2-mod-php7.0, php-intl. Now `/var/log/apache2/error.log` says: `[Tue Aug 21 23:21:21.871387 2018] [:error] [pid 11458] [client 27.142.197.245:58135] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /var/www/html/login/login.php:5\nStack trace:\n#0 {main}\n thrown in /var/www/html/login/login.php on line 5, referer: https://h.distsn.org/login/` Oh `sudo apt install php-mbstring` resolved this error, but: `[Tue Aug 21 23:25:54.133209 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_POST - assumed 'CURLOPT_POST' in /var/www/html/authorize/mastodon-api/mastodon.php on line 25, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133490 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_POSTFIELDS - assumed 'CURLOPT_POSTFIELDS' in /var/www/html/authorize/mastodon-api/mastodon.php on line 30, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133610 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/authorize/mastodon-api/mastodon.php on line 76, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133701 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/authorize/mastodon-api/mastodon.php on line 78, referer: https://h.distsn.org/login/ [Tue Aug 21 23:25:54.133865 2018] [:error] [pid 12007] [client 27.142.197.245:58269] PHP Fatal error: Uncaught Error: Class 'HalcyonSuite\\HalcyonForMastodon\\Exception' not found in /var/www/html/authorize/mastodon.php:22\nStack trace:\n#0 /var/www/html/authorize/mastodon.php(35): HalcyonSuite\\HalcyonForMastodon\\Mastodon->newInstance('https://mstdn.j...')\n#1 /var/www/html/login/login.php(13): HalcyonSuite\\HalcyonForMastodon\\Mastodon->getInstance('https://mstdn.j...')\n#2 {main}\n thrown in /var/www/html/authorize/mastodon.php on line 22, referer: https://h.distsn.org/login/` Ok, `sudo apt install php-curl`. Now it works. Thank you for reading.
Niklas Poslovski commented 5 years ago
Owner

Thank you for listing the needed PHP extensions. That will be part of the new documentation.

Thank you for listing the needed PHP extensions. That will be part of the new documentation.
Niklas Poslovski commented 5 years ago
Owner

The new documentation is now online: https://notabug.org/halcyon-suite/halcyon/wiki/Install

The new documentation is now online: https://notabug.org/halcyon-suite/halcyon/wiki/Install
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.