Giter VIP home page Giter VIP logo

plume_ynh's Introduction

Plume for YunoHost

Integration level Working status Maintenance status

Install Plume with YunoHost

Read this README is other languages.

This package allows you to install Plume quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Federated blogging engine, based on ActivityPub. It uses the Rocket framework, and Diesel to interact with the database.

Shipped version: 0.7.2~ynh2

Demo: https://joinplu.me/#instances

Screenshots

Screenshot of Plume

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/plume_ynh/tree/testing --debug
or
sudo yunohost app upgrade plume -u https://github.com/YunoHost-Apps/plume_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

plume_ynh's People

Contributors

alexaubin avatar anmol26s avatar ericgaspar avatar kay0u avatar tituspijean avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

thovi98

plume_ynh's Issues

Instance name cannot contain "-" during installation

Describe the bug

I attempted to install Plume and entered "Kuba Orlik - blog" for the instance name.

Context

  • Hardware: VPS bought online
  • YunoHost version: 4.1.7.3
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 0.6.0~ynh1

Steps to reproduce

Try to install Plume from webadmin panel and enter a name that contains - in the Instance Name field. An error pops up.

Expected behavior

The app installs

Logs

https://paste.yunohost.org/raw/evocudewaw

/notifications internal server error (after deleting a blog and an article)

I have two accounts. On one account I posted an article in a blog, then deleted the blog and article and made a new blog and article. Before /notifications worked on this account, now it doesn't, when I click the bell it doesn't load and when I go to the URL directly as well. It gives a 500 internal server error.

On a different account I can still view the /notifications url and receive notifications.

Plume 0.4.0-alpha-4

  • Operating system: Debian 9
  • Web Browser: Firefox and Chromium

Move from source files from git to a tar.gz

plume_ynh/scripts/install

Lines 97 to 107 in c326e5a

#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_print_info "Setting up source files ..."
ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
git clone https://github.com/Plume-org/Plume.git "$final_path/$app"
# Create the media directory, where uploads will be stored
mkdir $final_path/media

Installation failure on arm64: fails to recognize platform is 64bit.

Fails trying to install on RPi 3B+.

Logs.

Info: Installing application plume…
Warning: Sorry, but this app can only be installed on a 64 bits machine :(
Info: Validating installation parameters...
Warning: [ERR] !!
Warning:   plume's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: Please find here an extract of the log before the crash:
Warning: [DEBUG]: DEBUG   -'
Warning: [DEBUG]: DEBUG   - + ynh_die '--message=Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + local legacy_args=mc
Warning: [DEBUG]: DEBUG   -=ret_code=)
Warning: [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: [DEBUG]: DEBUG   - + local message
Warning: [DEBUG]: DEBUG   - + local ret_code
Warning: [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + set +x
Warning: [DEBUG]: DEBUG   - + echo 'Sorry, but this app can only be installed on a 64 bits machine :('
Warning: [DEBUG]: DEBUG   - + exit 1
Warning: [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: 
Info: The operation 'Install 'plume' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200209-052927-app_install-plume --share'
Info: Loading installation settings...
Info: Stopping and removing the systemd service...
Info: Removing the MySQL database...
Warning: [WARN] Database  not found
Warning: [WARN] User  not found
Info: Removing dependencies...
Warning: E: Unable to locate package plume-ynh-deps
Warning: ./remove: line 64: pushd: /plume: No such file or directory
Warning: sudo: unknown user: plume
Warning: sudo: unable to initialize policy plugin
Warning: ./remove: line 66: popd: directory stack empty
Warning: [WARN] Avoid deleting .
Info: Removing app main directory...
Info: Removing nginx web server configuration...
Info: /etc/nginx/conf.d/.d/plume.conf wasn't deleted because it doesn't exist.
Info: Removing logrotate configuration...
Info: Close ports
Warning: [WARN] Avoid deleting /var/log/plume/.
Warning: [WARN] The user plume was not found
Info: Removing the dedicated system user...
Info: Removal of plume completed
Success! The SSOwat configuration has been generated
Error: The operation 'Install 'plume' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200209-052927-app_install-plume --share'

Differences between install from web and from cli

I encountered different behavior when creating an instance from the admin web interface and from the cli.

  1. On the web interface I can set a "Libellé pour plume" (the first option) but not in the cli.

  2. The installation from the web interface fail immediately (but PACMAN continue to run endlessly). In the cli it's working after the fix on #1.
    Log:

2018-11-20 19:54:08,694: WARNING - unable to write 'random state'
2018-11-20 19:54:08,696: WARNING - !!
2018-11-20 19:54:08,697: WARNING - 's script has encountered an error. Its execution was cancelled.
2018-11-20 19:54:08,697: WARNING - !!
2018-11-20 19:54:08,698: WARNING -

  1. a. Shouldn't it be written "Plume's script has encountered an error. Its execution was cancelled." (or installation, or, ...)
  2. b. "unable to write 'random state'" may refer to something like https://stackoverflow.com/questions/94445/using-openssl-what-does-unable-to-write-random-state-mean. I searched for thoses files and removed them (one in "/usr/share/yunohost/yunohost-config/ssl/.rnd" and one in "/root/.rnd") but the bug is still here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.