Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
@Neamar
Neamar / seafile-ssl-issue.md
Last active November 4, 2021 10:07
Fix seafile invalid certificate in ssl folder

When restarting seafile, getting the following error:

nginx: [emerg] cannot load certificate "/shared/ssl/XXX.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/shared/ssl/seafile.neamar.fr.crt','r'
) error:2006D080:BIO routines:BIO_new_file:no such file)  

where XXX is server name. According to seafile, this should have been solved automatically.