Comments (9)
Not sure how or why but it works now.
If it was set to true, but there wasn't a valid email address provided, then it would fail to set file permissions after uploading.
Can it be setup multiple time on the same server
Yes. Use the ARIA_PORT
variable in constants, and use different ports for each bot. If you're using systemd, you'll have to copy the systemd file and change some variables. Also, don't forget to change the variables in .constants.js
.
Also, is it possible to set a name for a direct download file?
No. I've had it planned for ages, never got around to it.
from aria-telegram-mirror-bot.
- Does this happen for all files?
- Are you using Team Drives?
- Are you sure that you have permission to upload to that folder?
from aria-telegram-mirror-bot.
First off, thank you for your swift reply.
And yes on all three.
It was working fine yesterday.
I just deleted
/opt/aria-telegram-mirror-bot/out/ directory
client_secret.json and
credentials.json files
Downloaded fresh client_secret.json, ran tsc, tried downloading readme file, got the link, authorized it, coped the code in terminal and I got this again
Token stored to ./credentials.json 5c2771a58b34bdd0: Failed to upload - /opt/aria-telegram-mirror-bot/downloads/9b36f0f4-3e70-4b81-b8f5-5e412cd67a0b/README.md: Get drive resumable url return invalid headers: { "x-guploader-uploadid": "AEnB2UrT7llnyjX7DLB9q3b972sGeu156eMQYxvjaO-TeZM-NcwtzzdBOF7yWpn58O6r3BW4cnBeZNcRZjQTCIG2LRqU8_pSdA", "vary": "Origin, X-Origin", "content-type": "application/json; charset=UTF-8", "content-length": "215", "date": "Fri, 17 Jan 2020 10:05:37 GMT", "server": "UploadServer", "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000", "connection": "close" } cleanup: Deleted 9b36f0f4-3e70-4b81-b8f5-5e412cd67a0b
from aria-telegram-mirror-bot.
Weird thing is, if the torrent if a folder which contains files, it creates the folder on GDrive but it's empty.
from aria-telegram-mirror-bot.
Does out/.constants.js have IS_TEAM_DRIVE
set to true?
from aria-telegram-mirror-bot.
I just tried with both true and false and it's the same
from aria-telegram-mirror-bot.
Finally managed to get it fixed by coping
/aria-telegram-mirror-bot/src/.constants.js
from another server.
Difference being
DRIVE_FILE_PRIVATE: { ENABLED: false, },
Not sure how or why but it works now.
from aria-telegram-mirror-bot.
Since I'm here I have to ask:
Can it be setup multiple time on the same server with multiple Telegram groups or just one per server?
Also, is it possible to set a name for a direct download file? For example: /mirror https://domain.com/video.mp4 | My awesome video
from aria-telegram-mirror-bot.
OMG it just happened again...with a 650+ GB torrent
Could it be due to a 750 GB daily limit or something?
from aria-telegram-mirror-bot.
Related Issues (20)
- Cannot enter authentication code. HOT 2
- Download isn't starting HOT 1
- 您无权在此处使用此漫游器 HOT 2
- Not Getting Bot auth url HOT 28
- Mirror bot
- Bot not starting up HOT 2
- bot not starting up
- A2c failed to open websocket HOT 1
- Failed to upload README.md to Drive. The user does not have sufficient permissions for this file.
- NPX? HOT 10
- Error when doing npm start HOT 5
- Devil
- How can I uninstall the bot? HOT 1
- A small question. HOT 1
- npm start 61 error HOT 1
- failed. Download aborted.
- torrent not downloading
- Unable to start the server
- Mirror bot cannot access shared drive of another group, i have joined that shared drive through Google groups
- Mirror bot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aria-telegram-mirror-bot.