A lightweight file manager with full ShareX, Screencloud support and more

Overview

Weblate Codeclimate Donations Discord

XBackBone is a simple, self-hosted, lightweight PHP file manager that support the instant sharing tool ShareX and *NIX systems. It supports uploading and displaying images, GIF, video, code, formatted text, and file downloading and uploading. Also have a web UI with multi user management, past uploads history and search support.

Documentation

All the installations, configuration, and usage instructions are available in the GitHub Pages:

XBackBone Documentation

Main Features

  • Supports every upload type from ShareX.
  • Config generator for ShareX.
  • Low memory footprint.
  • Multiple backends support: Local storage, AWS S3, Google Cloud, Azure Blob Storage, Dropbox, FTP(s).
  • Web file upload.
  • Code uploads syntax highlighting.
  • Video and audio uploads webplayer.
  • PDF viewer.
  • Files preview page.
  • Bootswatch themes support.
  • Responsive theme for mobile use.
  • Multi language support.
  • User management, multi user features, roles and disk quota.
  • Public and private uploads.
  • Logging system.
  • Share to Telegram.
  • Linux supported via a per-user custom generated script (server and desktop).
  • Direct downloads using curl or wget commands.
  • Direct images links support on Discord, Telegram, Facebook, etc.
  • System updates without FTP or CLI.
  • Easy web installer.
  • LDAP authentication.
  • Registration system.
  • Automatic uploads tagging system.
  • Tag uploads with custom tags for categorization.
  • ... and more.

Security Vulnerabilities

If you discover a security vulnerability within XBackBone, please send an e-mail to Sergio at [email protected]. All security vulnerabilities will be promptly addressed.

License

This software is licensed under the GNU Affero General Public License v3.0, available in this repository. As a "copyright notice" it is sufficient to keep the small footer at the bottom of the page, also to help other people to learn about this project!

Comments
  • Discord embeded videos not playing (3.5.1)

    Discord embeded videos not playing (3.5.1)

    System Info

    • PHP Version: 8.0
    • XBackBone Version: 3.5.1
    • Webserver: Nginx
    • Database backend: Mysql

    Describe the bug Discord embeds videos but it can't play as time is just 0:00

    https://user-images.githubusercontent.com/56127525/139151356-c1647762-0588-4cac-8568-ac80cad07720.mp4

    FYI link to the video https://cdn.thatguyjack.co.uk/Pibi1/JItETOYe91.mp4

    To Reproduce Steps to reproduce the behaviour:

    1. Go to discord
    2. paste link to video
    3. embeds but can't play
    4. Profit?
    bug 
    opened by That-Guy-Jack 20
  • After clicking on Install Error 500.

    After clicking on Install Error 500.

    Hi,

    I'm trying to install XBackBone via the Web installer and when I click on install I'll get an Error 500.

    I'm using PHP 7.2.24 and NGINX.

    I appreciate your help.

    opened by tinxian 20
  • After Update Uploads empty.

    After Update Uploads empty.

    System Info

    • PHP Version: 7.3
    • XBackBone Version: 3.1.1
    • Webserver: Apache (Webhosting/Netcup)
    • Database backend: Mysql

    Describe the bug In MySQL the uploads table is empty after the update. I have try 3.1 and 3.1.1

    To Reproduce Steps to reproduce the behavior:

    1. Replace the 3.0.1 files with the 3.1.1
    2. Open https://domain.com/install
    3. Update-Database
    4. Now table uploads are empty

    Screenshots UZZwWMUXXs Px2RMSySZZ

    Logs There's nothing in the logs. Just that: [2020-04-12 12:45:07] app.INFO: User XXXXX logged in. [] [] [2020-04-12 12:57:23] app.INFO: User XXXXX logged in. [] []

    opened by philw95 20
  • xbackbone + nginx/reverse proxy -- 'Unable to connect'.  config problem or bug?

    xbackbone + nginx/reverse proxy -- 'Unable to connect'. config problem or bug?

    ( not entirely sure if this is a bug on a supported usecase, a feature request or a support question ... pls re-tag as req'd )

    i've installed xbackbone/git on linux

    **System Info**
    + PHP Version:
    	PHP 7.4.6-dev (cli) (built: Apr 12 2020 19:23:21) ( NTS )
    	Copyright (c) The PHP Group
    	Zend Engine v3.4.0, Copyright (c) Zend Technologies
    	    with Zend OPcache v7.4.6-dev, Copyright (c), by Zend Technologies
    
    + XBackBone Version:
    	git log -n1
    	      1 commit 45cea0e794f55b09af5bda05b81d17bddca4badc (HEAD -> master, origin/master, origin/HEAD)
    	      2 Merge: 1d0f5b1 18911de
    	      3 Author: Sergio Brighenti <[email protected]>
    	      4 Date:   Thu May 14 13:41:17 2020 +0200
    	      5
    	      6     Merge pull request #216 from camjac251/master
    	      7
    	      8     Add S3 Endpoint Support
    
    + Webserver: [Apache/Nginx/...]
    	nginx -v
    		nginx version: nginx/1.18.0 (pgnd Build)
    
    + Database backend: [SQLite/Mysql/...]
    	sqlite3 --version
    		3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1
    

    Running as a standalone instance on Nginx, no issues.

    I'm trying to mv it behind an Nginx frontend/reverse proxy.

    The goal is

    -- xbackbone exposed @ frontend subdir == https://example.com/share -- xbackbone backend @ https://xbackbone.example.com/share

    atm, config is quite similar to my usual/frequent proxy+backend setup

    nginx frontend,

    server {
    	listen 10.0.0.1:443 ssl http2;
    	server_name example.com;
    
    	location /share/ {
    		proxy_pass https://xbackbone.example.com:10000/;
    		proxy_ssl_name xbackbone.example.com;
    		proxy_ssl_certificate         "/srv/ssl/xbackbone/client.crt";
    		proxy_ssl_certificate_key     "/srv/ssl/xbackbone/client.key";
    		proxy_ssl_trusted_certificate "/srv/ssl/xbackbone/ca.crt";
    
            set_real_ip_from 10.0.0.0/24;
            real_ip_header X-Forwarded-For;
            real_ip_recursive on;
    
            proxy_set_header  X-Script-Name /share;
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Host $http_host;
            proxy_set_header X-Forwarded-Uri $request_uri;
            proxy_set_header Accept-Encoding "";
            proxy_set_header Destination $http_destination;
            proxy_set_header X-NginX-Proxy true;
            proxy_set_header X-Remote-User $remote_user;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Forwarded-Ssl on;
            proxy_redirect  http://  $scheme://;
            proxy_set_header X-SSL-Subject $ssl_client_s_dn;
            proxy_set_header X-SSL-Issuer  $ssl_client_i_dn;
            proxy_set_header HTTPS on;
            proxy_ssl_session_reuse off;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
    
    	}
    }
    

    nginx backend,

    server {
    	listen 127.0.0.1:10000 ssl http2;
    
    	server_name xbackbone.example.com;
    
    	root /src/apps/xbackbone/;
    	index index.php;
    	include includes/ssl_protocol.inc;
    
    	ssl_certificate        "/srv/ssl/xbackbone/server.crt";
    	ssl_certificate_key    "/srv/ssl/xbackbone/server.key";
    
    	autoindex off;
    	index index.html index.htm index.php;
    	charset utf-8;
    
    	location /app         { return 403; }
    	location /bin         { return 403; }
    	location /bootstrap   { return 403; }
    	location /resources   { return 403; }
    	location /storage     { return 403; }
    	location /vendor      { return 403; }
    	location /logs        { return 403; }
    	location CHANGELOG.md { return 403; }
    
    	location / {
    	        try_files $uri $uri/ /index.php?$query_string;
    	}
    
    	error_page 404 /index.php;
    	location ~ \.php$ {
    		fastcgi_pass   phpfpm;
    		fastcgi_split_path_info ^(.+\.php)(/.+)$;
    		fastcgi_index index.php;
    		fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
    		fastcgi_param SCRIPT_NAME $fastcgi_script_name;
    		include fastcgi_params;
    
    		error_log /var/log/nginx/xbackbone.example.com.error.log info;
    	}
    }
    

    xbackbone config,

    <?php
    
    return [
    	'base_url' => 'https://example.com/share',
    	'storage' => [
    		'driver' => 'local',
    		'path' => '/src/xbackbone',
    	],
    	'db' => [
    		'connection' => 'sqlite',
    		'dsn' => '/srv/db/xbackbone/xbackbone.db',
    		'username' => null,
    		'password' => null,
    	]
    ];
    

    with that^ config, a visit to

    https://example.com/share/
    

    ends up redirecting to

    https://xbackbone.example.com:10000/home
    

    displaying

    Unable to connect
    Firefox can’t establish a connection to the server at xbackbone.example.com:10000.
    

    Nothing at all in the xbackup logs, so seems it's not getting that far.

    In my nginx log, no error either

    [16/May/2020:10:32:19 -0700] 127.0.0.1 - - - xbackbone.example.com  to: unix:/run/php-fpm.sock: GET / HTTP/1.1 upstream_response_time 0.004 msec 1589650339.137 request_time 0.004
    [16/May/2020:10:32:19 -0700] 10.0.0.25 - - - example.com  to: 127.0.0.1:10000: GET /share/ HTTP/2.0 upstream_response_time 0.008 msec 1589650339.137 request_time 0.009
    

    What/where config changes are needed to get to XBackBone UI through the frontend proxy?

    opened by pgnd 18
  • make it easy for us to disable embeds

    make it easy for us to disable embeds

    Is your feature request related to a problem? Please describe. I find the embed in this version quite useless and also annoying as it stops gifs from autoplaying on Discord

    Describe the solution you'd like A button like these image to disable embeds and maybe something even further to disable them for specific file extensions

    opened by iphqne 17
  • Upload limited to 100M even with a raised limit

    Upload limited to 100M even with a raised limit

    System Info

    • PHP Version: 7.4.26
    • XBackBone Version: 3.5.1
    • Max memory usage: 128M
    • Webserver: Nginx I presume, but I'm not sure. I'm running XBB under the docker image provided by Linuxserver.io, on a Synology Nas locally.
    • Database backend: SQLite

    Describe the bug Even with the post_max_size and upload_max_filesize set to 4G, I can't upoad mp4 files larger than approximately 100M. When I select or drag n' drop the files, the progress bar jump instantly to 100% and nothing happen, even after a long time. Upload under this size is ok.

    To Reproduce Steps to reproduce the behavior: normal process on the upload page

    Screenshots If applicable, add screenshots to help explain your problem. image

    /volume1/docker/xbackbone/config/php/php-local-ini (I've tried 4G and 4000M without success) image

    Logs XBackBone and/or webserver logs.

    /volume1/docker/xbackbone/config/log/php/error.log

    [12-Dec-2021 02:00:00] NOTICE: fpm is running, pid 1809
    [12-Dec-2021 02:00:00] NOTICE: ready to handle connections
    [12-Dec-2021 19:21:50] NOTICE: Terminating ...
    [12-Dec-2021 19:21:50] NOTICE: exiting, bye-bye!
    [12-Dec-2021 19:22:01] NOTICE: fpm is running, pid 336
    [12-Dec-2021 19:22:01] NOTICE: ready to handle connections
    [13-Dec-2021 16:05:16] NOTICE: Terminating ...
    [13-Dec-2021 16:05:16] NOTICE: exiting, bye-bye!
    [13-Dec-2021 16:05:26] NOTICE: fpm is running, pid 334
    [13-Dec-2021 16:05:26] NOTICE: ready to handle connections
    [13-Dec-2021 16:08:58] NOTICE: Terminating ...
    [13-Dec-2021 16:08:58] NOTICE: exiting, bye-bye!
    [13-Dec-2021 16:09:07] NOTICE: fpm is running, pid 337
    [13-Dec-2021 16:09:07] NOTICE: ready to handle connections
    [14-Dec-2021 13:31:13] NOTICE: Terminating ...
    [14-Dec-2021 13:31:13] NOTICE: exiting, bye-bye!
    [14-Dec-2021 13:31:20] NOTICE: fpm is running, pid 336
    [14-Dec-2021 13:31:20] NOTICE: ready to handle connections
    

    /volume1/docker/xbackbone/config/log/nginx/access.log

    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /home HTTP/1.1" 200 4858 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/dropzone/dropzone.min.css?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/highlightjs/styles/monokai.css?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/highlightjs/highlight.pack.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/highlightjs/highlightjs-line-numbers.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/clipboardjs/clipboard.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/plyr/plyr.css?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/plyr/plyr.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/bootstrap/js/bootstrap4-toggle.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/dropzone/dropzone.min.js?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /static/bootstrap/css/bootstrap4-toggle.min.css?1639405219 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:08 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:09 +0100] "GET /static/fontawesome/webfonts/fa-solid-900.woff2 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:09 +0100] "GET /static/fontawesome/webfonts/fa-regular-400.woff2 HTTP/1.1" 304 0 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:12:11:11 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:30:17 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:30:21 +0100] "GET /home HTTP/1.1" 200 4858 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:30:21 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:30:21 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:30:21 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:30 +0100] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:30 +0100] "GET /home HTTP/1.1" 200 4858 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:30 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:30 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:31 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:35 +0100] "GET /system HTTP/1.1" 200 5181 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:35 +0100] "GET /static/fontawesome/webfonts/fa-brands-400.woff2 HTTP/1.1" 200 76736 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:35 +0100] "GET /static/images/favicon-16x16.png?1639405219 HTTP/1.1" 200 695 "https://media.mydomain.fr/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:35 +0100] "GET /static/images/favicon-32x32.png?1639405219 HTTP/1.1" 200 1008 "https://media.mydomain.fr/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:44 +0100] "GET /system/checkForUpdates?prerelease=false HTTP/1.1" 200 105 "https://media.mydomain.fr/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:31:53 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:29 +0100] "GET /home HTTP/1.1" 200 4858 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:29 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:29 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:29 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:34 +0100] "GET /users HTTP/1.1" 200 2854 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:13:36:40 +0100] "GET /system HTTP/1.1" 200 5181 "https://media.mydomain.fr/users" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:18 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/system" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:22 +0100] "GET /upload HTTP/1.1" 200 2415 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:23 +0100] "GET / HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:23 +0100] "GET /home HTTP/1.1" 200 4858 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:23 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:23 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:23 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:38 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:01:55 +0100] "GET /upload HTTP/1.1" 200 2415 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:03 +0100] "POST /upload/web HTTP/1.1" 201 103 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:24 +0100] "GET /home HTTP/1.1" 200 5028 "https://media.mydomain.fr/upload" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:25 +0100] "GET /my-user-id/gOhANEqo35.jpg/raw?width=84&height=42 HTTP/1.1" 200 410668 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:25 +0100] "GET /my-user-id/XilOXuTE19.jpg/raw?width=84&height=42 HTTP/1.1" 200 140136 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:25 +0100] "GET /my-user-id/VANOHaci94.png/raw?width=84&height=42 HTTP/1.1" 200 3783501 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    172.17.0.1 - - [14/Dec/2021:14:03:28 +0100] "GET /system HTTP/1.1" 200 5180 "https://media.mydomain.fr/home" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15"
    

    Thanks you.

    opened by EricGuic 16
  • NGINX Installation

    NGINX Installation

    System Info

    • PHP Version: PHP 7.3.5
    • XBackBone Version: XBackBone v2.6
    • Webserver: NGINX

    After installing manually with sqlite i can't access the xbackbone/home url (Error 404).

    When automatically installing there is a slim error:

    Slim Application Error
    The application could not run because of the following error after clicking install:
    
    Details
    Type: RuntimeException
    Message: Named route does not exist for name: https://share.domain.com/install/
    File: /var/www/domain.com/html/share/vendor/slim/slim/Slim/Router.php
    Line: 296
    Trace
    #0 /var/www/domain.com/html/share/vendor/slim/slim/Slim/Router.php(381): Slim\Router->getNamedRoute('https://share.f...')
    #1 /var/www/domain.com/html/share/vendor/slim/slim/Slim/Router.php(446): Slim\Router->relativePathFor('https://share.f...', Array, Array)
    #2 /var/www/domain.com/html/share/app/helpers.php(131): Slim\Router->pathFor('https://share.f...', Array)
    #3 /var/www/domain.com/html/share/app/helpers.php(98): route('https://share.f...', Array)
    #4 /var/www/domain.com/html/share/install/index.php(253): redirect(Object(Slim\Http\Response), 'https://share.f...')
    #5 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
    #6 /var/www/domain.com/html/share/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
    #7 /var/www/domain.com/html/share/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
    #8 /var/www/domain.com/html/share/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #9 /var/www/domain.com/html/share/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #10 /var/www/domain.com/html/share/vendor/slim/slim/Slim/App.php(515): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #11 /var/www/domain.com/html/share/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #12 /var/www/domain.com/html/share/vendor/slim/slim/Slim/App.php(405): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #13 /var/www/domain.com/html/share/vendor/slim/slim/Slim/App.php(313): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
    #14 /var/www/domain.com/html/share/install/index.php(309): Slim\App->run()
    #15 {main}
    

    Thanks for your help🙂

    bug 
    opened by felixbeer 14
  • The requested URL /xbackbone/home was not found on this server.

    The requested URL /xbackbone/home was not found on this server.

    System Info

    • PHP Version: 7.2.15-0ubuntu0.18.10.1
    • XBackBone Version: 2.5
    • Webserver: Apache/2.4.34 (Ubuntu)

    Describe the bug "The requested URL /xbackbone/home was not found on this server." After finishing web installation.

    Config file:

    <?php
    return array (
      'base_url' => 'https://xxxxx',
      'storage_dir' => 'storage',
      'db' => 
      array (
        'connection' => 'mysql',
        'dsn' => 'host=localhost;port=3306;dbname=xbackbone',
        'username' => 'xbackbone',
        'password' => 'xxxxx',
      ),
    );
    
    question 
    opened by OdinGitDat 14
  • Error

    Error

    Hi I am getting error 500 when I visit the url.

    AH01071: Got error 'PHP message: PHP Warning: require(/var/www/hosting/web870/web/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/hosting/web870/web/index.php on line 4PHP message: PHP Fatal error: require(): Failed opening required '/var/www/hosting/web870/web/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/hosting/web870/web/index.php on line 4'
    
    opened by anondev-sudo 13
  • Upgrade fails

    Upgrade fails

    Describe the bug Just tried to upgrade to release-v3.0.RC1 it via the web ui and this is what I get 500 Internal Server Error

    I then tried the manual update without much luck.

    Apache Version 	Apache/2.4.41 (Debian)
    Apache API Version 	20120211 
    

    Please see the logs https://paste.debian.net/hidden/9aa8291e/

    bug 
    opened by gerroon 13
  • Unable to update XBackBone

    Unable to update XBackBone

    System Info

    • PHP Version: 8.0.7
    • XBackBone Version: 3.3.5
    • Webserver: [Apache/Nginx/...] Apache
    • Database backend: [SQLite/Mysql/...] sqlite

    Describe the bug A clear and concise description of what the bug is.

    Cannot update XBackBone due to "Cannot contact GitHub API. Try again."

    Not sure if this is a me issue (not sure how to check/troubleshoot) or if it's an issue with something else

    To Reproduce Steps to reproduce the behavior:

    1. have my setup above
    2. go to updates
    3. try updating
    4. See error (and cry)

    Expected behavior XBackBone upgrades to whatever the latest version is

    Screenshots

    https://voided.dev/cdn/POWA6/zALopoyE74.png

    Logs where can i find these?

    Help appreciated. Even if I have to update everything manually (somehow) some help with that would be much appreciated as well. :)

    opened by 6K6666 11
  • Folder share

    Folder share

    Hi,

    I think many people want to share a folder directly and not many link if you want to share a group of file. It's possible to add folder option ? or use tag and generate link based on tag ?

    Regards

    opened by Alpha-Dan 0
  • Support For Vanity Urls

    Support For Vanity Urls

    Allows you (the user) to rename the random ID that uploads are assigned and give them a special vanity/custom url! As example: If XBackBone generated a link such as https://media.nyxgoddess.org/talI2/DIsexobi55.mp4, but want something a little more custom, you can easily change that link to https://media.nyxgoddess.org/talI2/amongus.mp4.

    Additionally, if you try to change the generated link to a invalid url such as "https://media.nyxgoddess.org/talI2/among us.mp4" XBackBone will automatically add a - to make it valid. Like so: https://media.nyxgoddess.org/talI2/among-us.mp4

    opened by SrS2225a 4
  • RAW mode on default URLs

    RAW mode on default URLs

    I don't really like the way the URLs currently works, you have the default url (https://domain.com/image.jpg) that brings you to a page with the image, custom discord embed, and not good compatibility with other services.

    And you have the "RAW" URLs ((https://domain.com/image.jpg/raw) that brings you straight to the images, perfect discord embed better compatibility with other services.

    But I would like to have the behavior of RAW URLs but with the default URLs (https://domain.com/image.jpg), i saw you can do something like /raw.jpg but i don't like it either.

    opened by KyroOW 0
  • NS_ERROR_REDIRECT_LOOP

    NS_ERROR_REDIRECT_LOOP

    System Info

    • PHP Version: 8.0.25
    • XBackBone Version: v3.6.1
    • Database back-end: SQLite Describe the bug When making any configuration changes under the /system page and clicking the green apply button, Firefox says:
    The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    

    The network tab under devtools says NS_ERROR_REDIRECT_LOOP.

    The same behavior can also be seen when using the switch to: button under the profile section on the top right.

    To Reproduce Steps to reproduce the behavior:

    1. Go to your instance of XBackBone
    2. Log in with an administrator account
    3. Go to the system page (navbar)
    4. Change any settings
    5. Click Apply
    6. See error

    Expected behavior One would expect the page to be refreshed.

    Video https://youtu.be/QLM0N9ljj5c

    Logs (from Docker container)

    [custom-init] No custom services found, skipping...
    [migrations] started
    [migrations] 01-nginx-site-confs-default: skipped
    [migrations] done
    -------------------------------------
              _         ()
             | |  ___   _    __
             | | / __| | |  /  \
             | | \__ \ | | | () |
             |_| |___/ |_|  \__/
    Brought to you by linuxserver.io
    -------------------------------------
    To support LSIO projects visit:
    https://www.linuxserver.io/donate/
    -------------------------------------
    GID/UID
    -------------------------------------
    User uid:    1000
    User gid:    1000
    -------------------------------------
    using keys found in /config/keys
    [custom-init] No custom files found, skipping...
    [ls.io-init] done.
    [custom-init] No custom services found, skipping...
    [migrations] started
    [migrations] 01-nginx-site-confs-default: skipped
    [migrations] done
    usermod: no changes
    -------------------------------------
              _         ()
             | |  ___   _    __
             | | / __| | |  /  \
             | | \__ \ | | | () |
             |_| |___/ |_|  \__/
    Brought to you by linuxserver.io
    -------------------------------------
    To support LSIO projects visit:
    https://www.linuxserver.io/donate/
    -------------------------------------
    GID/UID
    -------------------------------------
    User uid:    1000
    User gid:    1000
    -------------------------------------
    using keys found in /config/keys
    ln: failed to create symbolic link '/app/www/public/config.php': File exists
    ln: failed to create symbolic link '/app/www/public/storage/storage': File exists
    [custom-init] No custom files found, skipping...
    [ls.io-init] done.
    

    No logs that seem to be related to the specific network requests that cause the issue described.

    opened by Quinten0508 0
  • [FEATURE] Zero Width Shorten URLs

    [FEATURE] Zero Width Shorten URLs

    Zero Width Shorten URLs makes it so you can send urls with your images without there being anything after your domain url, making it look really cool

    You can test it here, this probably doesn't work everywhere but I know it works on discord.

    opened by xamionex 0
  • Thumbnail loading performance enhancement

    Thumbnail loading performance enhancement

    Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

    Looks like the system creates images' thumbnail every time the page being loaded. It actually takes large resources for the process, and if the image is large enough(like 8K), the service actually freezes and user should have waited for the thumbnail creation process being completed.

    Describe the solution you'd like A clear and concise description of what you want to happen.

    Why should we create thumbnail every single page load? How about adding an option that enables saving Thumbnail data to storage? As soon as image being uploaded, Thumbnail creation process starts on background, and once it's done, no more resource-taking process required when loading page!

    Additional context Add any other context or screenshots about the feature request here.

    opened by rkdrns4747 0
Releases(3.6.1)
Owner
Sergio Brighenti
while(1) pcntl_fork();
Sergio Brighenti
A php sharex uploader with discord embed function/twitter card support

Sharex Uploader Simple Sharex Uploader with Discord embed function Download replace your data and upload to your sevrer

Clynt 4 Jan 9, 2022
Uguu is a simple lightweight temporary file host with support for drop, paste, click and API uploading.

Uguu What is Uguu? Uguu is a simple lightweight temporary file hosting and sharing platform, but can also be used as a permanent file host. Features O

Eric Johansson (neku) 547 Dec 28, 2022
Pomf is a simple lightweight file host with support for drop, paste, click and API uploading.

Pomf Pomf is a simple file uploading and sharing platform. Features One click uploading, no registration required A minimal, modern web interface Drag

Pomf 772 Jan 8, 2023
FileNamingResolver - A lightweight library which helps to resolve a file/directory naming of uploaded files using various naming strategies

FileNamingResolver - A lightweight library which helps to resolve a file/directory naming of uploaded files using various naming strategies

Victor Bocharsky 111 May 19, 2022
kodbox is a file manager for web. It is a newly designed product based on kodexplorer.

kodbox is a file manager for web. It is a newly designed product based on kodexplorer. It is also a web code editor, which allows you to develop websites directly within the web browser.You can run kodbox either online or locally,on Linux, Windows or Mac based platforms

warlee 1.2k Jan 7, 2023
File manager module for the Lumen PHP framework.

Lumen File Manager File manager module for the Lumen PHP framework. Please note that this module is still under active development. NOTE: Branch 5.1 i

Digia 40 Aug 20, 2022
A web based file manager,web IDE / browser based code editor

KodExplorer Update to kodbox: https://github.com/kalcaddle/kodbox Download | Demo It is recommended to use a new design upgrade product:kodbox 该项目处于维护

warlee 5.8k Jan 3, 2023
FIle Uploader is a php package to aid fast , easy and safe file upload

FILE UPLOADER FIle Uploader is a php package to aid fast , easy and safe file upload installation composer require codad5/file-helper Features Fast an

Aniezeofor Chibueze Michael 2 Sep 3, 2022
Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.

Documents ・ Installation ・ Integration ・ Config ・ Customization ・ Events ・ Upgrade ・ Demo ・ FAQ Features File upload and management Uploading validati

UniSharp 1.9k Jan 1, 2023
A full PHP implementation of Minecraft's Named Binary Tag (NBT) format.

php-nbt A full PHP implementation of Minecraft's Named Binary Tag (NBT) format. In contrast to other implementations, this library provides full suppo

Aternos 8 Oct 7, 2022
A "Vuejs & Laravel" Media Manager With Tons of Features

Laravel Media Manager Installation Config Features Events Usage Installation composer require ctf0/media-manager publish the package assets with php a

Muah 783 Dec 29, 2022
Private file storage and share with user build with laravel and vue inspired by google drive

LaravelDrive is a file storage system that allows store private file and share with users build wiht laravel and vue inspired by google drive. Laravel

Shahadat Hossain 70 Dec 22, 2022
Detects file type by filename or content and generates correct mimetype.

FileTypeDetector Files type detector based on file name extension or file content (binary content). Usage Installation Supported formats Usage File Ty

Sergey 31 Oct 6, 2022
Basic anonymous and registered upload storage for temporary share file self hosted.

TMPShareX Basic anonymous and registered upload storage for temporary share file self hosted. Server Requirement PHP 7.4.8 [Support PHP 8] Nginx 1.19.

Sandy Hermansyah 1 Feb 3, 2022
Watch changes in the file system using PHP

Watch changes in the file system using PHP This package allows you to react to all kinds of changes in the file system. Here's how you can run code wh

Spatie 170 Dec 25, 2022
🛬🧾 A PHP8 TacView ACMI file format parser

A PHP8 TacView ACMI file format parser This package offers parsing support for TacView ACMI flight recordings version 2.1, it follows the standard des

Ignacio Muñoz Fernandez 1 Jan 18, 2022
Upload File Library For PHP ( Simple & Easy User )

Upload File Library For Backend/ServerSide PHP ( Simple & Easy For Use ), Support Multiple Upload

Lamhot Simamora 1 Oct 12, 2021
Creating a file uploader with Laravel

File-Uploader File uploader is a simple group of restful APIs built in Laravel to upload file into a server and remove the file from that server. Tool

AmirH.Najafizadeh 4 Jul 31, 2022